Command-line variables
Named variables
Example
--var myVariable=helloResources:
LogGroup:
Type: AWS::Logs::LogGroup
LogGroupName: {{ var.myVariable }}Variables from files
Example - Read file contents to a variable
Example - Deserialize file contents to a variable
Example - Deserialize file contents to top-level variables
Loading order and merging of variables
Example
Last updated
Was this helpful?