aws / aws-sam-cli-pipeline-init-templates

MIT No Attribution
44 stars 39 forks source link

fix: use ${AWS::Partition} instead of hardcoding #50

Closed hoffa closed 2 years ago

hoffa commented 2 years ago

Issue #, if available:

Fixes https://github.com/aws/aws-sam-cli-pipeline-init-templates/issues/49

Description of changes:

Uses ${AWS::Partition} instead of hardcoding the partition in ARNs. Used this:

find ./ -type f -exec sed -i '' -e 's/:aws:/:${AWS::Partition}:/g' {} \;

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.