Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.

Terraform provider doesn't support configuring automatic database user creation #870

Closed
webvictim opened this issue Jul 19, 2023 · 1 comment
Labels

Comments

@webvictim
Copy link
Contributor

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.

@webvictim
Copy link
Contributor Author

webvictim commented Jul 19, 2023

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant