Skip to content

shiopon01/cloudformation-chain

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

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

No packages published