Skip to content

Instantly share code, notes, and snippets.

@mweagle
Last active August 26, 2016 05:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mweagle/e67663a7b90c2183fd92ea97c8a7f937 to your computer and use it in GitHub Desktop.
Save mweagle/e67663a7b90c2183fd92ea97c8a7f937 to your computer and use it in GitHub Desktop.
Spartav0.8.0_envVars
Environment: &gocf.EC2ContainerServiceTaskDefinitionContainerDefinitionsEnvironmentList{
gocf.EC2ContainerServiceTaskDefinitionContainerDefinitionsEnvironment{
Name: gocf.String("AWS_REGION"),
Value: gocf.Ref("AWS::Region").String(),
},
gocf.EC2ContainerServiceTaskDefinitionContainerDefinitionsEnvironment{
Name: gocf.String(sqsQueueURLEnvVar),
Value: gocf.Ref(sqsResourceName).String(),
},
gocf.EC2ContainerServiceTaskDefinitionContainerDefinitionsEnvironment{
Name: gocf.String(sqsQueueNameEnvVar),
Value: gocf.GetAtt(sqsResourceName, "QueueName").String(),
},
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment