hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.88k stars 9.22k forks source link

RDS Aurora - Add support for Directory Service configuration on aws_rds_cluster #12230

Closed chappoo closed 9 months ago

chappoo commented 4 years ago

Community Note

Description

In v1.18.2 of the AWS CLI, support was added for connecting RDS Aurora clusters to Directory Services through the specification of 2 additional arguments on the API:

--domain
--domain-iam-role-name

This functionality needs to be available through the provider.

New or Affected Resource(s)

Potential Terraform Configuration

resource "aws_rds_cluster" "default" {
  cluster_identifier      = "aurora-cluster-demo"
  engine                  = "aurora-mysql"
  engine_version          = "5.7.mysql_aurora.2.03.2"
  availability_zones      = ["us-west-2a", "us-west-2b", "us-west-2c"]
  database_name           = "mydb"
  master_username         = "foo"
  master_password         = "bar"
  backup_retention_period = 5
  preferred_backup_window = "07:00-09:00"

  // new DS attributes
  domain = "d-9d123456c7"
  domain_iam_role_name = "my-role"
}

This definition matches the equivalent arguments on the aws_db_instance resource.

References

github-actions[bot] commented 9 months ago

This functionality has been released in v5.37.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!

github-actions[bot] commented 8 months ago

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.