https://pulumi.com logo
#python
Title
# python
m

millions-lamp-64112

01/03/2024, 7:40 PM
We are getting below Error when we are doing deployment in ADO Pipeline with GCP Environment, Pulumi with Python Infra, 2024-01-03T185656.6725440Z I0103 185656.505395 2019 log.go:81] eventSink::Error(<{%reset%}>Program failed with an unhandled exception: 2024-01-03T185656.6725653Z Traceback (most recent call last): 2024-01-03T185656.6725847Z File "/home/vsts/work/r1/a/_catalog/pulumi/deploy/./__main__.py", line 28, in <module> 2024-01-03T185656.6726071Z core_stacks_refs = stack_handler.get_stack_references(f"core.{config.env_name}") 2024-01-03T185656.6726479Z File "/home/vsts/work/r1/a/_catalog/pulumi/deploy/venv/lib/python3.8/site-packages/pulumi_helpers/stacks/stack_handler.py", line 18, in get_stack_references 2024-01-03T185656.6726733Z if stack_name in [stack.name for stack in self.list_stacks()]: 2024-01-03T185656.6727118Z File "/home/vsts/work/r1/a/_catalog/pulumi/deploy/venv/lib/python3.8/site-packages/pulumi_helpers/stacks/stack_handler.py", line 12, in list_stacks 2024-01-03T185656.6727379Z return [stack for stack in self.current_stack.workspace.list_stacks()] 2024-01-03T185656.6727767Z File "/home/vsts/work/r1/a/_catalog/pulumi/deploy/venv/lib/python3.8/site-packages/pulumi/automation/_local_workspace.py", line 316, in list_stacks 2024-01-03T185656.6728011Z update_in_progress=stack_json["updateInProgress"], 2024-01-03T185656.6728232Z KeyError: 'updateInProgress'