buildflow icon indicating copy to clipboard operation
buildflow copied to clipboard

BuildFlow parent resource should fail if a child resource fails to create

Open boetro opened this issue 2 years ago • 0 comments

Describe the bug Sometimes a child resource will fail to create (such as a CloudSQL Instance) but the buildflow parent resource we wrap it in will still be "created", this make the output generated by the next call to apply to be incorrect.

To Reproduce

  1. Setup a flow with a cloud sql instance primitive
  2. Add some invalid parameter like a gcp project that doesn't exist
  3. Run buildflow apply (this step will fail due to the above step)
  4. Run buildflow apply again (this step will have the Cloud SQL Primitive excluded from the output)

Expected behavior I would expect step number four above to still output the Cloud SQL Instance primitive as needs to be created

Screenshots N/A

Desktop (please complete the following information): N/A

Additional context N/A

boetro avatar Dec 08 '23 17:12 boetro