Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
boetro opened this issue Dec 8, 2023 · 0 comments
Open

Comments

@boetro
Copy link
Collaborator

boetro commented Dec 8, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant