I’d really like to build a POC around our current ...
# automation-api
b
I’d really like to build a POC around our current infrastructure to provision everything we need for a new customer. However we currently have all of our state files in Azure storage. Having access to these backends would be A+ for my use case.
b
cc @limited-scientist-64886
l
This is already supported.
@clever-byte-21551 has been using automation API + Go + OSS backends
b
do you have an example?
l
Automation API uses whatever backend the CLI is currently logged into. This example shows using custom secrets providers: https://pkg.go.dev/github.com/pulumi/pulumi/sdk/v2/go/x/auto#example-LocalWorkspace-SecretsProvider
If you need to switch between multiple backends in the same program, that currently isn't supported. I added an issue here: https://github.com/pulumi/pulumi/issues/5591 Perhaps you can fill in some more details. I'd be happy to take a look at enabling this.
(Or would welcome contributions 😃)
b
Nice, thx! I’ll have a look at it.
c
@boundless-insurance-52858 I currently use a single backend (s3 backend) for all of my stacks. However, the encryption key for each stack state is different