Search

Commands

Create Stack

aws cloudformation create-stack --stack-name <stack name> --region <region> --template-body file://<path>
Shell
복사

Create Stack on IAM Role

aws cloudformation create-stack --stack-name <stack name> --region <region> --template-body file://<path> --capabilities CAPABILITY_NAMED_IAM
Shell
복사

Create ChangeSet

aws cloudformation create-change-set \ --stack-name <stack name>\ --change-set-name <change set name> \ --template-body file://<path>
Shell
복사

Execute ChangeSet

aws cloudformation execute-change-set \ --stack-name <stack name>\ --change-set-name <change set name>
Shell
복사

Deploy Stack

aws cloudformation deploy --stack-name <stack name> --region <region> --template-file <path>
Shell
복사

Update Stack

aws cloudformation update-template --region <region> --template-body file://<path>
Shell
복사

Delete Stack

aws cloudformation delete-stack --stack-name <stack name> --region <region>
Shell
복사

Validate template

aws cloudformation validate-template --region <region> --template-body file://<path>
Shell
복사

Sample Code Templates Link