CloudRun: Required attribute is not set #573
Labels
area/providers
kind/bug
Some behavior is incorrect or out of spec
resolution/fixed
This issue was fixed
Required attribute is not set
appears whenignore_changes
is pointing totemplate.spec.containers[0].image
Expected behavior
Pulumi should perform the preview and show the differences.
Current behavior
When trying to do the preview, an existing resource of type
gcp:cloudrun/service:Service
throws following errors appear:or
The point of the values is a complete random, sometimes it points to parameters that are set. This happens with Python, I did not try other languages.
Steps to reproduce
ServiceTemplateSpecContainerArgs
and also:image
ports
envs
pulumi up
image
valueResourceOptions
withignore_changes
set totemplate.spec.containers[0].image
pulumi up
Context (Environment)
I am using pulumi version 3.1.0 with plugins:
and python packages:
Python version 3.9.2
Affected feature
Pulumi is used in CI/CD and also in setting up infrastructure. While dealing just with infrastructure bits I am not able to preview anything because Pulumi is throwing these kind of errors, when I remove
ignore_changes
option or point the option to some other resource property that is not being changed then everything is OK.I need this option, because the tag of the image is acquired from environment variable in CI/CD and when env is not used then changes should affect anything that is being changed except the
image
part.The text was updated successfully, but these errors were encountered: