limited-farmer-68874
12/12/2023, 6:57 PMred-match-15116
12/12/2023, 7:00 PMlimited-farmer-68874
12/12/2023, 7:52 PMlimited-farmer-68874
12/12/2023, 8:49 PMlimited-farmer-68874
12/12/2023, 8:51 PMred-match-15116
12/12/2023, 8:53 PMsetConfig
red-match-15116
12/12/2023, 8:54 PMred-match-15116
12/12/2023, 8:55 PMlimited-farmer-68874
12/12/2023, 9:03 PMlimited-farmer-68874
12/12/2023, 9:06 PMlimited-farmer-68874
12/13/2023, 12:26 AMset_config
to set a value to an array or object?
pulumi config set
has the option for a --path that enables this. Not seeing anything analogous for set_config
in the Python API ..red-match-15116
12/13/2023, 12:32 AMpath
with set_config
too! I think that functionality was added not too long ago. Lemme find the link.limited-farmer-68874
12/13/2023, 12:33 AMred-match-15116
12/13/2023, 12:37 AMred-match-15116
12/13/2023, 12:37 AMlimited-farmer-68874
12/13/2023, 12:39 AMlimited-farmer-68874
12/13/2023, 12:40 AMlimited-farmer-68874
12/13/2023, 2:08 AMpulumi:pulumi:Stack my-org-prod Installing dependencies in virtual environment...
pulumi:pulumi:Stack my-org-prod Looking in indexes: <https://pypi.org/simple>, <https://us-central1-python.pkg.dev/my-org-test-01/my-org-python-repo/simple>, <https://us-central1-python.pkg.dev/my-org-prod-01/my-org-python-repo/simple>
@ Previewing update....
pulumi:pulumi:Stack my-org-prod User for us-central1-python.pkg.dev:
pulumi:pulumi:Stack my-org-prod error: ERROR: Exception:
pulumi:pulumi:Stack my-org-prod
stderr: error: failed to discover plugin requirements: installing dependencies via '/home/runner/work/universe/universe/venv/bin/python -m pip install -r requirements.txt': exit
We have dependencies on internal python libs that we host in GCP. As a result, we need to install keyring
and
keyrings.google-artifactregistry-auth
before running pip install -r requirements.txt
so that pip
knows how to find our internal Python libraries... Is there any way to get Pulumi with a local program to first install a separate requirements-prereqs.txt
file before it tires to install the main requirements.txt
in its virtual environment?red-match-15116
12/13/2023, 4:34 PMlimited-farmer-68874
12/13/2023, 4:41 PMrequirements.txt
?