We expect the cluster to gracefully transition to use an AWS managed secret for the admin credentials.
Actual Behavior
Redshift cluster was unable to be modified.
Note that destroying and recreating the cluster worked, so it seems that the modification of an existing cluster is not properly implemented.
Relevant Error/Panic Output Snippet
╷
│ Error: modifying Redshift Cluster (datahub-redshift-uat): InvalidParameterValue: The parameter MasterUserPassword must be provided and must not be blank.
│ status code: 400, request id: 07d902e8-4812-4cb3-bf4f-89173ede7f95
│
│ with module.redshift.aws_redshift_cluster.redshift_cluster,
│ on ../modules/redshift/main.tf line 6, in resource "aws_redshift_cluster" "redshift_cluster":
│ 6: resource "aws_redshift_cluster" "redshift_cluster" {
│
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
Volunteering to Work on This Issue
If you are interested in working on this issue, please leave a comment.
If this would be your first contribution, please review the contribution guide.
Terraform Core Version
1.8.5
AWS Provider Version
5.44.0
Affected Resource(s)
aws_redshift_cluster
Expected Behavior
We expect the cluster to gracefully transition to use an AWS managed secret for the admin credentials.
Actual Behavior
Redshift cluster was unable to be modified.
Note that destroying and recreating the cluster worked, so it seems that the modification of an existing cluster is not properly implemented.
Relevant Error/Panic Output Snippet
Terraform Configuration Files
Steps to Reproduce
Create a redshift cluster using the master_password argument. Subsequently modify the resource to use the manage_master_password argument instead.
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
None