When you run terraspace commands, it will use the files in the config/terraform folder and builds them with the deployed module. For example, let’s say you have an app/stacks/demo stack:
Builds a .terraspace-cache/dev/stacks/demo/backend.tf using the config/terraform/backend.tf. If you want to just build the files without deploying, you can also use terraspace build. Below are examples of backends.
Notice the variable notation. Terraspace expands it out, substituting the values. The starter backend.tf
accounts for REGION, ENV, etc. Here's an expanded example:
Notice the variable notation. Terraspace expands it out, substituting the values. The starter backend.tf
accounts for LOCATION, ENV, etc. Here's an expanded example:
Note, the SUBSCRIPTION_HASH is a short 4-char consistent hash of the longer subscription id. This is useful because azure storage account names are not allowed special characters and are limited to 24 chars.
Notice the variable notation. Terraspace expands it out, substituting the values. The starter backend.tf accounts for PROJECT, ENV, etc. Here's an expanded example:
Terraspace expansion will remove the trailing dashes and slashes in case the instance option is at the end and is not set. For example, let’s say INSTANCE is not set.
:REGION/:ENV/:MOD_NAME/:INSTANCE
Will result in:
us-west-2/dev/demo # notice there's no trailing slash
Why Is Env in Bucket Name?
By default, the bucket name has the ENV at the end. This is done so we can easily see which environment the bucket stores Terraform statefiles for. This quickly helps with debugging. If you prefer not to have the ENV at the end of the bucket name, remove it after generating the project with terraspace new project.
Kubes is a Kubernetes Deployment Tool. It builds the docker image, creates the Kubernetes YAML, and runs kubectl apply. It automates the deployment process and saves you precious finger-typing energy.
Ruby on Jets allows you to create and deploy serverless services with ease, and to seamlessly glue AWS services together with the most beautiful dynamic language: Ruby. It includes everything you need to build an API and deploy it to AWS Lambda. Jets leverages the power of Ruby to make serverless joyful for everyone.
Building infrastructure-as-code is challenging. Lono makes it much easier and fun. It includes everything you need to manage and deploy infrastructure-as-code.
SONIC SCREWDRIVER: Multi-functional tool to manage AWS infrastructure
Sonic Screwdriver is a multi-functional tool to manage AWS infrastructure. Its a swiss army knife type of tool and has a variety of uses. Mainly its focus is to automate mundane repetitive tasks into simple one line commands. With it you are able to debug environments and issues quickly.
JACK: Manage your AWS Elastic Beanstalk Jack environments easily
Jack is a tool to manage AWS Elastic Beanstalk environments. Jack is a wrapper tool around the aws eb cli3 tool. Jack allows you to create environments using the saved template configuration file generated by eb config save. Jack moves these generated config file to the jack/cfg folder of your project and manages the config files from there.