buildflow
buildflow copied to clipboard
BuildFlow parent resource should fail if a child resource fails to create
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
- Setup a flow with a cloud sql instance primitive
- Add some invalid parameter like a gcp project that doesn't exist
- Run buildflow apply (this step will fail due to the above step)
- 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