Learn how to configure a Terraform Cloud Sync for Infisical.
Prerequisites:
Navigate to Project > Integrations and select the Secret Syncs tab. Click on the Add Sync button.
Select the Terraform Cloud option.
Configure the Source from where secrets should be retrieved, then click Next.
If you need to sync secrets from multiple folder locations, check out secret imports.
Configure the Destination to where secrets should be deployed, then click Next.
The remaining fields are determined by the selected Scope:
Variable Set
Workspace
Configure the Sync Options to specify how secrets should be synced, then click Next.
Terraform Cloud does not support importing secrets.
{{secretKey}}
as a placeholder for the original secret name and {{environment}}
for the environment.We highly recommend using a Key Schema to ensure that Infisical only manages the specific keys you intend, keeping everything else untouched.
Configure the Details of your Terraform Cloud Sync, then click Next.
Review your Terraform Cloud Sync configuration, then click Create Sync.
If enabled, your Terraform Cloud Sync will begin syncing your secrets to the destination endpoint.
Navigate to Project > Integrations and select the Secret Syncs tab. Click on the Add Sync button.
Select the Terraform Cloud option.
Configure the Source from where secrets should be retrieved, then click Next.
If you need to sync secrets from multiple folder locations, check out secret imports.
Configure the Destination to where secrets should be deployed, then click Next.
The remaining fields are determined by the selected Scope:
Variable Set
Workspace
Configure the Sync Options to specify how secrets should be synced, then click Next.
Terraform Cloud does not support importing secrets.
{{secretKey}}
as a placeholder for the original secret name and {{environment}}
for the environment.We highly recommend using a Key Schema to ensure that Infisical only manages the specific keys you intend, keeping everything else untouched.
Configure the Details of your Terraform Cloud Sync, then click Next.
Review your Terraform Cloud Sync configuration, then click Create Sync.
If enabled, your Terraform Cloud Sync will begin syncing your secrets to the destination endpoint.
To create an Terraform Cloud Sync, make an API request to the Create Terraform Cloud Sync API endpoint.