Skip to content

Instantly share code, notes, and snippets.

@adenhertog
Last active January 9, 2017 04:59
Show Gist options
  • Save adenhertog/c765f68fd2aacc64f5daf65f96f553c7 to your computer and use it in GitHub Desktop.
Save adenhertog/c765f68fd2aacc64f5daf65f96f553c7 to your computer and use it in GitHub Desktop.
cloudformation functions GetAtt FindInMap Join
Fn::FindInMap:
- Region2Principal
- Ref: "AWS::Region"
- EC2Principal
Fn::Join:
- "-"
- - "player"
- Ref: pEnvironment
Fn::GetAtt:
- rFtrApiEnv
- EndpointURL
!FindInMap [ Region2Principal, !Ref "AWS::Region", EC2Principal ]
!Join [ "-", [ "player", !Ref: pEnvironment ]]
!GetAtt [ rFtrApiEnv, EndpointURL ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment