Rescue

post

Refactor Terraform codebase by extracting variables from resources and modules to separated files

🔒 Requires the read:rescue permission

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
terraformstring · binaryRequiredExample: [email protected]
iac_typestring · enumOptional

The type of IaC source

Default: terraformPossible values:
Responses
200

Zip archive of refactored data

application/zip
Responsestring · binary
post
/api/v1/rescue/tf/extract
post

Generate bricks file template from IaC source

🔒 Requires the read:rescue permission

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
sourcestringRequired

The path to the IaC source directory

package_namestringRequired

The package name e.g. @bluebricks/aws-vpc

iac_typestring · enumRequired

The type of IaC source

Possible values:
Responses
200

Generated bricks file template

application/json
post
/api/v1/rescue

Last updated

Was this helpful?