Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Attaching and Detaching IAM Roles to RDS Clusters #13641

Closed
dnedev opened this issue Jun 5, 2020 · 2 comments · Fixed by #12370
Closed

Support Attaching and Detaching IAM Roles to RDS Clusters #13641

dnedev opened this issue Jun 5, 2020 · 2 comments · Fixed by #12370
Labels
enhancement Requests to existing resources that expand the functionality or scope. new-resource Introduces a new resource. service/rds Issues and PRs that pertain to the rds service.

Comments

@dnedev
Copy link

dnedev commented Jun 5, 2020

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • 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
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

Since #8038 Terraform supports attaching IAM roles to RDS instances. However, for an S3 integration with Aurora clusters, the roles should be attached to the cluster and rather than an individual instance.

New or Affected Resource(s)

  • aws_rds_cluster
  • aws_db_instance_role_association (existing resource with reciprocal function for DB instances)
  • aws_rds_cluster_role_association (new)

Potential Terraform Configuration

resource "aws_rds_cluster_role_association" "example" {
  cluster_identifier = "${aws_rds_cluster.example.id}"
  feature_name = "s3Import"
  role_arn = "${aws_iam_role.example.arn}"
}

Note: AFAIK, the attached role (${aws_iam_role.example.arn}) should also be added to the iam_roles list for the aws_rds_cluster.

References

@dnedev dnedev added the enhancement Requests to existing resources that expand the functionality or scope. label Jun 5, 2020
@ghost ghost added the service/rds Issues and PRs that pertain to the rds service. label Jun 5, 2020
@github-actions github-actions bot added the needs-triage Waiting for first response or review from a maintainer. label Jun 5, 2020
@breathingdust breathingdust removed the needs-triage Waiting for first response or review from a maintainer. label Jul 15, 2020
@nickmasster
Copy link

Probably a duplicate for #9552.

@github-actions
Copy link

github-actions bot commented Aug 6, 2021

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Requests to existing resources that expand the functionality or scope. new-resource Introduces a new resource. service/rds Issues and PRs that pertain to the rds service.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants