Skip to content

Instantly share code, notes, and snippets.

@rickalm
Last active May 5, 2020 18:53
Show Gist options
  • Save rickalm/61b9260d5b24e28272cdf7dd9c558658 to your computer and use it in GitHub Desktop.
Save rickalm/61b9260d5b24e28272cdf7dd9c558658 to your computer and use it in GitHub Desktop.
Parameters:
CfnDebug:
Description: Enable Debug Mode
Type: String
AllowedValues: [ "true", "false" ]
Default: "true"
Conditions:
isFalse: !Equals [ 'true', 'false' ]
isDebug: !Equals [ 'true', !Ref CfnDebug ]
Resources:
CfnInit:
Type: 'Custom::NullResource'
Condition: isFalse
Outputs:
Success:
Value: True
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment