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

[Enhancement]: add ARN attribute to CodeDeploy config #35281

Closed sterliakov closed 9 months ago

sterliakov commented 10 months ago

Description

An ARN of CodeDeploy deployment config is necessary to build a correct IAM policy. My CodePipeline needs a codedeploy:GetDeploymentConfig permission which is resource-based, so currently it looks like arn:aws:codedeploy:${var.region}:${var.account_id}:deploymentconfig:${aws_codedeploy_deployment_config.main.id} - not very tasty.

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

Potential Terraform Configuration

# No resource config changes

References

Permissions reference

Would you like to implement a fix?

No (sorry, I hardly speak Golang)

github-actions[bot] commented 10 months ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue

github-actions[bot] commented 9 months ago

This functionality has been released in v5.38.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.