Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

handle deleted pull-zones gracefully #14

Open
fho opened this issue Nov 9, 2021 · 0 comments
Open

handle deleted pull-zones gracefully #14

fho opened this issue Nov 9, 2021 · 0 comments
Assignees
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@fho
Copy link
Contributor

fho commented Nov 9, 2021

When a Pull-Zone that exists in the terraform state failed is deleted on bunny side via the API or UI, "terraform plan" will fail with an 404 error that is returned by the bunny get pull zone API.

Handle this gracefully, interpret the error as the pull zone does not exist and unset it's id.

@fho fho added bug Something isn't working good first issue Good for newcomers labels Nov 9, 2021
@fho fho self-assigned this Nov 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working good first issue Good for newcomers
Development

No branches or pull requests

1 participant