curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install
complete -C aws_completer aws
-
Create a stack
aws cloudformation create-stack --stack-name <stack name> \ --template-url <URL for template file in S3> \
-
Delete a stack
aws cloudformation delete-stack \ --stack-name <stack name / stack ID>