This message was deleted.
# general
s
This message was deleted.
👀 1
d
Can you try with
config.require_object(...)
instead, which is needed for getting structured data from the config
Though there's a few things I'm unsure of in the code you've posted. Can you share the guide you're following please?
s
You have your configuration in a file named
Pulumi.template.yaml
, which would only be used if you had a Pulumi stack named “template”. Pulumi templates only work with
pulumi new
, so my advice to you would be… 1. Use
pulumi stack init
to create a stack. 2. Use
pulumi stack select <name>
to select the stack you just created. 3. Use
pulumi config set <key> <value>
to set the configuration values (like
pulumi config set instanceType t2.micro
). 4. Then run
pulumi up
.