7.1.4 • Published 19 days ago

takomo v7.1.4

Weekly downloads
155
License
MIT
Repository
github
Last release
19 days ago

Takomo

GitHub npm node-current Gitter chat

Takomo makes it easy to organize, parameterize and deploy your CloudFormation stacks across multiple regions and accounts.

Quick Start

Let's see how to create a simple CloudFormation stack using Takomo.

Installation

Install Takomo globally:

npm i -g takomo

Verify installation:

tkm --version

AWS Credentials

You need to have valid AWS credentials configured. Create a profile named takomo-example in your ~/.aws/credentials file:

[takomo-example]
aws_access_key_id=XXXXXXXXXXXXXXXXXXXX
aws_secret_access_key=YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY

Stack Configuration

Our stack contains a VPC whose CIDR range can be parameterized. First, we need to create a stacks directory that will host all stack configurations. Create the directory and add there a file named vpc.yml with the following contents:

regions: eu-west-1
parameters:
  CidrBlock: 10.0.0.0/24

Stack Template

Next, we need to provide a CloudFormation template for our stack. Create templates directory next to the stacks directory, and add there a file named vpc.yml with the following contents:

Description: My VPC
Parameters:
  CidrBlock:
    Type: String
    Description: VPC CIDR block
Resources:
  VPC:
    Type: AWS::EC2::VPC
    Properties:
      CidrBlock: !Ref CidrBlock

Stack Deployment

Alright, we are ready to deploy our stack. Change to the project root directory and run:

tkm stacks deploy --profile takomo-example

You will be prompted if you want to continue the deployment. You also need to review and approve the changes. If you answer yes to both questions, then the deploy will proceed, and given your AWS credentials had all the needed IAM permissions, it should also succeed.

Clean Up

You can delete the stack with command:

tkm stacks undeploy --profile takomo-example

Next Steps

Take a look at https://takomo.io for more documentation.

7.1.4

19 days ago

7.1.3

28 days ago

7.1.2

3 months ago

7.1.1

4 months ago

7.1.0

6 months ago

7.0.1

8 months ago

7.0.0

9 months ago

7.0.0-alpha.1

9 months ago

6.4.2

10 months ago

6.4.1

10 months ago

6.3.4

12 months ago

6.3.3

1 year ago

6.3.5

11 months ago

6.4.0

11 months ago

6.3.2

1 year ago

6.2.1

1 year ago

6.2.2

1 year ago

6.3.0

1 year ago

6.3.1

1 year ago

6.0.0-alpha.3

2 years ago

6.0.0-alpha.4

2 years ago

6.0.0-alpha.5

2 years ago

6.0.0-alpha.6

2 years ago

6.1.0

2 years ago

6.1.2

2 years ago

6.1.1

2 years ago

6.0.0-alpha.1

2 years ago

6.0.0-alpha.2

2 years ago

6.2.0

2 years ago

5.6.0

2 years ago

6.0.0

2 years ago

5.0.0-alpha.6

2 years ago

5.0.0-alpha.5

2 years ago

5.3.0

2 years ago

5.0.0-alpha.4

2 years ago

5.0.0-alpha.3

2 years ago

5.0.0-alpha.2

2 years ago

5.0.0-alpha.1

2 years ago

5.4.0

2 years ago

5.0.0

2 years ago

5.5.0

2 years ago

5.1.0

2 years ago

5.2.0

2 years ago

4.6.1

2 years ago

4.4.0

2 years ago

4.6.0

2 years ago

4.5.0

2 years ago

4.3.1

2 years ago

4.3.0

2 years ago

4.2.1

3 years ago

4.0.0-alpha.2

3 years ago

4.0.0

3 years ago

4.2.0

3 years ago

4.1.0

3 years ago

3.40.3

3 years ago

4.0.0-alpha.1

3 years ago

4.0.0-alpha.0

3 years ago

3.40.0

3 years ago

3.40.1

3 years ago

3.40.2

3 years ago

3.39.0

3 years ago

3.39.1

3 years ago

3.38.1

3 years ago

3.37.1

3 years ago

3.38.0

3 years ago

3.36.0

3 years ago

3.37.0

3 years ago

3.35.2

3 years ago

3.35.1

3 years ago

3.35.0

3 years ago

3.34.1

3 years ago

3.33.2

3 years ago

3.34.0

3 years ago

3.33.1

3 years ago

3.32.0

3 years ago

3.31.2

3 years ago

3.31.1

3 years ago

3.31.0

3 years ago

3.30.0

3 years ago

3.29.0

3 years ago

3.28.0

3 years ago

3.26.0

3 years ago

3.27.0

3 years ago

3.25.0

3 years ago

3.24.0

3 years ago

3.23.0

3 years ago

3.22.0

3 years ago

3.21.0

3 years ago

3.20.0

3 years ago

3.17.0

3 years ago

3.19.0

3 years ago

3.18.0

3 years ago

3.16.0

3 years ago

3.15.0

3 years ago

3.15.1

3 years ago

3.12.0

4 years ago

3.14.0

3 years ago

3.11.0

4 years ago

3.13.0

3 years ago

3.11.1

4 years ago

3.10.0

4 years ago

3.9.0

4 years ago

3.8.0

4 years ago

3.7.0

4 years ago

3.6.0

4 years ago

3.5.1

4 years ago

3.5.0

4 years ago

3.4.2

4 years ago

3.4.1

4 years ago

3.4.0

4 years ago

3.3.0

4 years ago

3.2.2

4 years ago

3.2.1

4 years ago

3.2.0

4 years ago

3.1.0

4 years ago

3.0.1

4 years ago

3.0.0

4 years ago

3.0.0-alpha.5

4 years ago

3.0.0-alpha.4

4 years ago

3.0.0-alpha.3

4 years ago

3.0.0-alpha.2

4 years ago

3.0.0-alpha.1

4 years ago

3.0.0-alpha.0

4 years ago

2.12.1

4 years ago

2.12.0

4 years ago

2.11.1

4 years ago

2.11.0

4 years ago

2.10.1

4 years ago

2.10.0

4 years ago

2.9.0

4 years ago

2.8.0

4 years ago

2.7.4

4 years ago

2.7.3

4 years ago

1.5.1

4 years ago

2.7.2

4 years ago

2.7.1

4 years ago

1.5.0

4 years ago

2.7.0

4 years ago

2.6.2

4 years ago

1.4.1

4 years ago

2.6.1

4 years ago

2.6.0

4 years ago

1.4.0

4 years ago

2.5.0

4 years ago

2.4.0

4 years ago

2.3.0

4 years ago

2.2.1

4 years ago

2.2.0

4 years ago

2.1.0

4 years ago

2.0.0-alpha.1

4 years ago

2.0.0

4 years ago

2.0.0-alpha.0

4 years ago

1.3.1

4 years ago

1.3.0

4 years ago

1.2.1

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago

0.2.0

5 years ago

0.1.0

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago