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

fix: Added possibility to specify partition used in iam role policy attachment #256

Merged
merged 5 commits into from
Oct 15, 2020

Conversation

mehstg
Copy link
Contributor

@mehstg mehstg commented Oct 1, 2020

Description

Currently the partition is hard coded when generating the ARN for the policy attachment. This will not work in China/Govcloud where the partition is not "aws"

Motivation and Context

This issue fixes #229
We are experiencing the issue in the cn-north-1 region.

Breaking Changes

No. Default value matches what is already in place.

How Has This Been Tested?

This has been tested against our current infrastructure and works.

@mehstg
Copy link
Contributor Author

mehstg commented Oct 14, 2020

Possible to get this looked at?

@antonbabenko antonbabenko changed the title issue #229 - Fix partition hard coded in iam role policy attachment fix: Added possibility to specify partition used in iam role policy attachment Oct 15, 2020
@antonbabenko antonbabenko merged commit 6cbb5f5 into terraform-aws-modules:master Oct 15, 2020
@antonbabenko
Copy link
Member

Thanks, @mehstg !

v2.20.0 has been just released.

@github-actions
Copy link

I'm going to lock this pull request 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 related to this change, 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 Nov 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RDS Monitoring role should use region-specific AmazonRDSEnhancedMonitoringRole
2 participants