Skip to main content
GET
/
environment
/
{environmentId}
/
terraformExport
Export full environment and its resources into Terraform manifests
curl --request GET \
  --url https://api.qovery.com/environment/{environmentId}/terraformExport \
  --header 'Authorization: Bearer <token>'
"<string>"

Authorizations

Authorization
string
header
required

JWT tokens should be used with OIDC account (human to machine). JWT tokens used by the Qovery console to communicate with the API have a TTL. Curl Example ' curl https://console.qovery.com/organization -H "Authorization: Bearer $qovery_token" '

Path Parameters

environmentId
string<uuid>
required

Environment ID

Query Parameters

exportSecrets
boolean
default:false

export Secrets from configuration and include them into Terraform export

Response

Export full environment and its resources into Terraform manifests (ZIP file)

The response is of type file.