You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use a value from a extra resource to find another extra resource.
Since I couldnt find a way to map it inside one instance of the function in a pipeline, I decided to make a "predeploy" template step that simply reads the value and outputs to "status".
Then after that step I want to run a second extra resroucce step that uses the status value to get the additional extra resource, but it fails.
I thought it worked, but it turned out it only worked cause I updated it on already existing resources that did already have the status set.
For new resource I get:
message: 'cannot compose resources: pipeline step "pull-extra-resources-identity" returned a fatal result: could not build extra resource requirements: cannot get value from field path "status.iitech.shortName": status.iitech: no such field'
Is it not possible to make it like this? I thought it would be as it is a "pipeline".
if not, is there any other way that I can use a value from my "blueprint" extra resource to find my "userassignedIdentity" resource?
How can we reproduce it?
This is my composition, the field I am setting is defined in the compositeresourcedefintion:
What happened?
I am trying to use a value from a extra resource to find another extra resource.
Since I couldnt find a way to map it inside one instance of the function in a pipeline, I decided to make a "predeploy" template step that simply reads the value and outputs to "status".
Then after that step I want to run a second extra resroucce step that uses the status value to get the additional extra resource, but it fails.
I thought it worked, but it turned out it only worked cause I updated it on already existing resources that did already have the status set.
For new resource I get:
message: 'cannot compose resources: pipeline step "pull-extra-resources-identity" returned a fatal result: could not build extra resource requirements: cannot get value from field path "status.iitech.shortName": status.iitech: no such field'
Is it not possible to make it like this? I thought it would be as it is a "pipeline".
if not, is there any other way that I can use a value from my "blueprint" extra resource to find my "userassignedIdentity" resource?
How can we reproduce it?
This is my composition, the field I am setting is defined in the compositeresourcedefintion:
my predeploy template looks like this:
What environment did it happen in?
Function version: v0.0.3
The text was updated successfully, but these errors were encountered: