Terraform provider doesn't support configuring automatic database user creation
webvictim opened this issue · 1 comments
Original PR: gravitational/teleport#25614
Docs: https://goteleport.com/docs/database-access/rbac/configuring-auto-user-provisioning/
When trying to configure automatic database user creation using the Terraform provider, it outputs an error:
Error: Provider produced inconsistent result after apply
produced an unexpected new value: .spec.options.create_db_user: was cty.True now null
Looking at the list of commits (https://github.com/gravitational/teleport-plugins/commits/master/terraform) it seems like support wasn't added to the Terraform provider as part of this PR, and as such the Terraform provider reference wasn't updated either (https://goteleport.com/docs/reference/terraform-provider/#teleport_database)
This issue was reported by a prospect.
The prospect has just noticed that they're running 13.0.4, so they're going to update and report back. This may not be an issue at all. I will provide another update soon.
Edit: Upgrading the version fixed the issue, apologies for the error.