Rabadash8820 / AwsUtil

A set of scripts, templates, and schemas for general AWS cloud infrastructures.
Mozilla Public License 2.0
2 stars 0 forks source link

Replace !Join With !Sub in All CloudFormation Templates #21

Closed Rabadash8820 closed 7 years ago

Rabadash8820 commented 7 years ago

!Sub provides a much cleaner syntax over !Join, so we should prefer it. Compare:

!Join [ "-", [ !Ref OrganizationPrefix, !Ref "AWS::Region", lambda ] ]

with

!Sub "${OrganizationPrefix}-${AWS::Region}-lambda"