Actions
Deploy Action
You can define terraform
actions as part of your project, much like any other actions. A terraform
action maps to a single Deploy
that you can define as a runtime dependency for any of your other Deploy
, Run
and Test
actions. You can also reference the stack outputs of a terraform
action using runtime output template strings. For example:
Here we imagine a Terraform stack that has a my-database-uri
output, that we then supply to my-service
via the DATABASE_URI
environment variable.
Much like other Deploy actions, you can also reference Terraform definitions in other repositories using the repositoryUrl
key. See the Remote Sources guide for details.
Last updated
Was this helpful?