Skip to content

Instantly share code, notes, and snippets.

@pbzona
Created November 21, 2017 18:13
Show Gist options
  • Select an option

  • Save pbzona/9b30113c0c0ba0f7fd05aabfb5c518a1 to your computer and use it in GitHub Desktop.

Select an option

Save pbzona/9b30113c0c0ba0f7fd05aabfb5c518a1 to your computer and use it in GitHub Desktop.
CloudFormation - EC2 creation command with params from JSON file
$ aws cloudformation create-stack --stack-name ec2-$(date +%s) --template-body file://ec2-param.yml --parameters file://params.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment