Closed Rabadash8820 closed 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"
!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"