Skip to content

Create multiple stacks in CloudFormation. (is not nested stack)

License

Notifications You must be signed in to change notification settings

shiopon01/cloudformation-chain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CloudFormation Chain

How to use

First, create yaml template. Stack parameters are the same as CloudFormation.createStack() in the SDK.

  1. Create yaml template:
Stacks:

  - StackName: sample-stack
    TemplateURL: https://s3-ap-northeast-1.amazonaws.com/bucket-name/stack-template.yaml
    Capabilities: ['CAPABILITY_IAM', 'CAPABILITY_NAMED_IAM']
    Parameters:
      - ParameterKey: BucketName
        ParameterValue: hello-cfn-chain

Next, execute the command.

  1. Execute the command:
$ node main.js ./chain-sample.yaml

Troubleshooting

  • If stack creation fails, created stacks will be deleted. But, if stack deletion fails due by some problem, processing stops.

About

Create multiple stacks in CloudFormation. (is not nested stack)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages