[Bug]: r/aws_redshiftserverless_namespace: conflict between manage_admin_password and admin_user_password #39265
Labels
bug
Addresses a defect in current functionality.
service/redshiftserverless
Issues and PRs that pertain to the redshiftserverless service.
Terraform Core Version
1.9.5
AWS Provider Version
5.66.0
Affected Resource(s)
Expected Behavior
It is possible to configure
manage_admin_password = false
and non-emptyadmin_user_password
Actual Behavior
Setting
manage_admin_password = false
and non-emptyadmin_user_password
results in:Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
Steps to Reproduce
Use config as in the snippet above and try applying
Debug Output
No response
Panic Output
No response
Important Factoids
CreateNamespace and UpdateNamespace APIs as well as AWS CLI, allow for setting manage_admin_password to false and then passing the admin password. The currently implementation in the provider does not allow for the attribute to be in the config alongside the passord, no matter whether it is false.
References
No response
Would you like to implement a fix?
Yes
The text was updated successfully, but these errors were encountered: