Channels
esc
welcome
pulumi-cdk
cloudengineering
yaml
blog-posts
localstack
pulumi-ai
package-authoring
policy-as-code
pulumiup-booth-support
oracle-cloud-infrastructure
learn-pulumi-events
linen
registry
built-with-pulumi
pulumi-cloud
contribex
testingtesting321
hacktoberfest
pulumi-crosscode
content-share
finops
multi-language-hackathon
office-hours
workshops
gitlab
general
pulumi-kubernetes-operator
jobs
pulumi-deployments
dotnet
aws
golang
announcements
java
pulumiverse
python
install
getting-started
cloudengineering-support
testingtesting123
hackathon-03-19-2020
typescript
google-cloud
contribute
azure
kubernetes
docs
automation-api
status
Powered by
#general
Title
# general
p
polite-summer-58169
04/11/2022, 1:38 PM
Is it possible to write to a stack Config from code? Looks like it only has Require/Get and not Set?
l
limited-rainbow-51650
04/11/2022, 1:40 PM
Not from within your Pulumi program which sets up the infrastructure. But the Automation API, as a way to programmaticaly create stacks can also set config values:
https://www.pulumi.com/docs/guides/automation-api/getting-started-automation-api/#configure-your-provider-plugins
p
polite-summer-58169
04/11/2022, 1:43 PM
Ah, nice - that's exactly what I was looking for (automating stack building). Thanks a lot!
4 Views
Post