Closed sterliakov closed 9 months ago
Voting for Prioritization
Volunteering to Work on This Issue
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!
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.
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 likearn: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
References
Permissions reference
Would you like to implement a fix?
No (sorry, I hardly speak Golang)