Created
February 19, 2019 23:54
-
-
Save eulersson/282312fc2bf455abcd0f4e9853ad69fe to your computer and use it in GitHub Desktop.
Parameters, conditions resources and outputs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Parameters: | |
HostedZoneName: | |
Type: String | |
Description: | |
(Optional) If you have a domain available registered with Route 53 you | |
can type it (e.g. 'foo.com.'; do not miss the final dot!). Then a DNS | |
record gets created on subdomain ecsfs.foo.com which will route to the | |
load balancer (the entry point of this application). | |
Conditions: | |
HasHostedZoneName: !Not [ !Equals [ !Ref HostedZoneName, '']] | |
Resources: | |
# Subsequent yaml snippets will fall under this category. | |
Outputs: | |
LoadBalancerDNSName: | |
Description: Copy and paste this value into your browser to access the app. | |
Value: !GetAtt LoadBalancer.DNSName |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment