Skip to Content
FlowShapeDocs
AgentSources

Terraform

What your Terraform state says is deployed, with sensitive values dropped.

node flowshape-agent.mjs --key <key> --terraform ./infra
node flowshape-agent.mjs --key <key> --terraform ./network --terraform ./apps

The agent runs terraform show -json in each folder (--terraform is repeatable). terraform init must have run there, with Terraform 0.15 or newer. It reads state through the backend configured in that folder, with your credentials for it.

Sensitive values

terraform show -json prints sensitive values in plain text and marks them. The agent drops every value Terraform marks sensitive, sensitive outputs and sensitive input variables, in state and in plans, before anything leaves it.

Values Terraform doesn't mark sensitive are passed on as printed, for example a password written into a container definition. Mark such values sensitive.

On this page