You can define
terraformmodules as part of your project, which act much like other Garden modules. A
terraformmodule maps to a single service, that you can define as a runtime dependency for any of your other services and tasks. You can also reference the stack outputs of a
terraformmodule using runtime output template strings. For example:
- name: my-service
# Important! You must declare the terraform service as a dependency, for the runtime template string to work.
Here we imagine a Terraform stack that has a
my-database-urioutput, that we then supply to
Much like other modules, you can also reference Terraform definitions in other repositories using the
repositoryUrlkey. See the Remote Sources guide for details.