Skip to content

Commit

Permalink
Update CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
ingalls committed Apr 18, 2024
1 parent 2609899 commit 7377f1c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@

## Version History

### v1.4.0

- :rocket: Prefix Policy & Role with region to avoid errors when deploying to multiple regions

### v1.3.0

- :rocket: More resilient Error handling in lambda function
Expand Down
4 changes: 2 additions & 2 deletions cloudformation/lib/rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const resources = {
CloudformationDriftRole: {
Type: "AWS::IAM::Role",
Properties: {
RoleName: cf.join([cf.stackName, '-cloudformation-drift']),
RoleName: cf.join([cf.stackName, '-', cf.region, '-cloudformation-drift']),
Description: "IAM role for AWS Config to access CloudFormation drift detection",
AssumeRolePolicyDocument: {
Version: "2012-10-17",
Expand All @@ -36,7 +36,7 @@ const resources = {
}]
},
Policies: [{
PolicyName: cf.join([cf.stackName, '-cloudformation-drift']),
PolicyName: cf.join([cf.stackName, '-', cf.region, '-cloudformation-drift']),
PolicyDocument: {
Version: "2012-10-17",
Statement: [{
Expand Down

0 comments on commit 7377f1c

Please sign in to comment.