Created
November 30, 2020 09:48
-
-
Save toshke/5546406ddb888872fba574c2bc1b4879 to your computer and use it in GitHub Desktop.
Revisions
-
toshke renamed this gist
Nov 30, 2020 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
toshke created this gist
Nov 30, 2020 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,14 @@ Parameters: DeployCustomResource: Type: String Default: false AllowedValues: [true, false] Conditions: DeployCustomResource: !Equals [ !Ref DeployCustomResource, 'true' ] Resources: # .. other definitions including backing lambda MyCustomResource: Condition: DeployCustomResource Properties: Token: !GetAtt CustomResourceLambda.Arn #.. other properties