Your Terraform config directory contains the following files:
vars.json - Your Rack parameters. The JSON contains values like this:
"name": "docspring-enterprise",
"release": "3.19.6"
main.tf - Generated by the Convox CLI using values from vars.jsonWhen you run convox rack params set ... , the Convox CLI will:
vars.json with the new paramsmain.tf file to use these new params.terraform.lock.hcl)terraform apply to update your infrastructure with the new configuration.terraform.tfstate with the current state of all managed resources in your AWS account.<aside> ⚠️
Please make sure you back up terraform.tfstate! If you lose this file, you won’t be able to access your Convox rack. It is possible to recreate it manually, but it will take hours of work.
</aside>
When you run convox rack update , the CLI does something very similar:
vars.jsonmain.tfterraform apply and updates terraform.tfstate