Skip to content

Infrastructure as Code for Kamatera CloudCLI and 3rd party APIs and tools.

License

Notifications You must be signed in to change notification settings

Kamatera/kamateratoolbox-iac

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kamatera Toolbox Infrastructure as Code

Infrastructure as Code for Kamatera CloudCLI and 3rd party APIs and tools.

Prerequisites

Login

eval "$(bin/login.py <ENVIRONMENT_NAME> [SUB_ENVIRONMENT_NAME])"

Follow the instructions to setup your credentials

Usage

Infrastructure

You can run Terraform commands in the context of the current environment / sub environment using bin/terraform.py, it ensures that the correct backend and vars are set for the environment / sub environment.

For example:

bin/terraform.py init
bin/terraform.py apply

See the help message for more options:

bin/terraform.py --help

Terraform variables should be stored in Vault under the following keys:

  • For the root environment: iac/terraform/tf_vars
  • For sub environments: iac/terraform/tf_vars_SUB_ENVIRONMENT_NAME

About

Infrastructure as Code for Kamatera CloudCLI and 3rd party APIs and tools.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published