Lycheejam / cfn-vpc-peering-sample

AWS Cloudformation template for VPC peering sample.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CloudFormation VPC Peering Sample

AWSでVPC Peeringを実験するためのCloudFormation Template。

Instllation

aws cloudformation create-change-set \
    --template-body file://templates/stack-vpc.yml \
    --cli-input-json file://parameters/test01/stack-vpc.json \
    --change-set-type CREATE

aws cloudformation create-change-set \
    --template-body file://templates/stack-vpc.yml \
    --cli-input-json file://parameters/test02/stack-vpc.json \
    --change-set-type CREATE

aws cloudformation create-change-set \
    --template-body file://templates/stack-security-group.yml \
    --cli-input-json file://parameters/test01/stack-security-group.json \
    --change-set-type CREATE

aws cloudformation create-change-set \
    --template-body file://templates/stack-security-group.yml \
    --cli-input-json file://parameters/test02/stack-security-group.json \
    --change-set-type CREATE

aws cloudformation create-change-set \
    --template-body file://templates/stack-ec2.yml \
    --cli-input-json file://parameters/test01/stack-ec2.json \
    --change-set-type CREATE

aws cloudformation create-change-set \
    --template-body file://templates/stack-ec2.yml \
    --cli-input-json file://parameters/test02/stack-ec2.json \
    --change-set-type CREATE
aws cloudformation create-change-set \
    --template-body file://templates/stack-vpc-peering-requester.yml \
    --cli-input-json file://parameters/test01/stack-vpc-peering-requester.json \
    --change-set-type CREATE
aws cloudformation create-change-set \
    --template-body file://templates/stack-vpc.yml \
    --cli-input-json file://parameters/test01/stack-vpc.json

aws cloudformation create-change-set \
    --template-body file://templates/stack-vpc.yml \
    --cli-input-json file://parameters/test02/stack-vpc.json

aws cloudformation create-change-set \
    --template-body file://templates/stack-security-group.yml \
    --cli-input-json file://parameters/test01/stack-security-group.json

aws cloudformation create-change-set \
    --template-body file://templates/stack-security-group.yml \
    --cli-input-json file://parameters/test02/stack-security-group.json

About

AWS Cloudformation template for VPC peering sample.

License:MIT License