1. Integrations
  2. Terraform


Initialize Infisical for your Terraform project

# navigate to the root of your of your project 
cd /path/to/project

# then initialize Infisical
infisical init

Run terraform as usual but with Infisical

infisical run -- <your application start command>

# Example
infisical run -- terraform plan

To inject any arbitrary variable to terraform, you have to prefix them with TF_VAR. Read more about that here.