Store outputs for a Terraform stack.
POST
/v1/store/{org_uuid}/outputs
It's used for Cross-Repository Terraform Outputs sharing.
Authorizations
apiKey
API key as username in Basic Authorization with
empty password.
TypeAPI Key (header: Authorization)
or
jwtToken
TypeHTTP (bearer)
Parameters
Path Parameters
org_uuid*
UUID of the organization
Typestring
Requiredformat
"uuid"Request Body
application/json
JSON
{
"key": {
"repository": "github.com/terramate-io/iac-gcloud",
"stack_meta_id": "b3df4bbf-154a-4331-ab71-52075ca418ad",
"target": "staging",
"name": "database_id"
},
"value": "output_value"
}
Responses
Created
application/json
JSON
{
"id": "4aebf6d3-c72f-4137-9dc5-afb2e38d7ebd",
"key": {
"org_uuid": "4aebf6d3-c72f-4137-9dc5-afb2e38d7ebd",
"repository": "github.com/terramate-io/iac-gcloud",
"stack_meta_id": "b3df4bbf-154a-4331-ab71-52075ca418ad",
"target": "staging",
"name": "database_id"
},
"value": "output_value",
"created_at": "string",
"updated_at": "string"
}