Hi everyone, I got here a problem with backend url...
# yaml
a
Hi everyone, I got here a problem with backend url As i understand the back URL can be set either in the config file or in
PULUMI_BACKEND_URL
env. var. Though its not clear should I do it in root config:
Pulumi.yaml
or I can have it per stack (desired option)
Pulumi.<stack_name>.yaml
As I understand I cant set background url by cli command:
pulumi config set background:url=<my_s3_bucket_url>
- not clear why, but it have to be done manually When i set it manually by
*.sh
script:
Copy code
echo -e "backend:\n  url: ${BACKEND_URL}" >> "Pulumi.${STACK_NAME}.yaml"
the record appears in yaml file, but as soon as I use:
pulumi config set
command to add new property - it completely wipe out the backend:url record Any hints? We have 3 AWS and obviously several stacks per each AWS acc, the state need to be stored in corresponding AWS acc, but so far not clear how to achieve so?