Skip to content

Instantly share code, notes, and snippets.

@jcdyer
Created May 17, 2013 19:21
Show Gist options
  • Save jcdyer/5601321 to your computer and use it in GitHub Desktop.
Save jcdyer/5601321 to your computer and use it in GitHub Desktop.
An example of a pyplate that creates an invalid template when nesting joins.
description = 'demonstration of an error with nested joins.'
cft = CloudFormationTemplate(description)
site_url = join('.', ref('AWS::StackName'), 'mmstacks.net'),
cft.resources.update({'Value': join('', 'site_url: ', site_url)})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment