Module Configuration
You need to write Garden module configs next to the pulumi stacks you'd like to include in your project. These should be located in the same directory as the stack config, or in an enclosing directory.
For example:
In case you want to use different backends for different Garden environments and you want to use module specific pulumi managed state backend organizations, you can configure your modules as follows. This example uses two different pulumi backends. For the prod
environment it uses the pulumi managed state backend and for the dev
environment it uses a self managed S3 backend.
Note that when you use a self managed state backend cacheStatus
needs to be set to false
, since caching is only available with the pulumi managed state backend. The same applies to orgName
which only makes sense in the context of the pulumi managed state backend. Please ensure that orgName
is set to null
or empty string ""
for all the environments that are not using the pulumi managed state backend.
See the reference docs for the pulumi module type for more info on each available config field (and how/when to use them).
Last updated