Skip to content

Instantly share code, notes, and snippets.

@pbzona
Created November 21, 2017 18:06
Show Gist options
  • Save pbzona/89332feca82103f82bc8fb4302152889 to your computer and use it in GitHub Desktop.
Save pbzona/89332feca82103f82bc8fb4302152889 to your computer and use it in GitHub Desktop.
CloudFormation - EC2 creation command with parameters
$ aws cloudformation create-stack --stack-name ec2-$(date +%s) --template-body file://ec2-param.yml --parameters "ParameterKey=InstanceType,ParameterValue=t2.small"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment