Skip to content

[Enhancement]: r/aws_redshift_cluster: Support managed master passwords #34169

Description

@jar-b

Description

The Redshift [Create|Modify]Cluster API's include a ManageMasterPassword argument, which is not implemented in the corresponding Terraform resource. Support should be added similar to the implementation for aws_db_instance.

ManageMasterPassword
If true, Amazon Redshift uses AWS Secrets Manager to manage this cluster's admin credentials. You can't use MasterUserPassword if ManageMasterPassword is true. If ManageMasterPassword is false or not set, Amazon Redshift uses MasterUserPassword for the admin user account's password.

Type: Boolean

Required: No

Affected Resource(s) and/or Data Source(s)

  • aws_redshift_cluster

Potential Terraform Configuration

resource "aws_redshift_cluster" "example" {
  cluster_identifier = "tf-redshift-cluster"
  database_name      = "mydb"
  master_username    = "exampleuser"
  node_type          = "dc1.large"
  cluster_type       = "single-node"

  manage_master_password = true
}

References

Would you like to implement a fix?

None

Metadata

Metadata

Assignees

Labels

enhancementRequests to existing resources that expand the functionality or scope.prioritizedPart of the maintainer teams immediate focus. To be addressed within the current quarter.service/redshiftIssues and PRs that pertain to the redshift service.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions