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

edgerule: retry looking up guid to fix: edge rule created successfully, looking up its guid failed #20

Open
fho opened this issue Nov 10, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@fho
Copy link
Contributor

fho commented Nov 10, 2021

Sometime after creating an Edge Rule, the returned Pull Zone does not contain the new Edge Rule yet.
According to the bunny.net support, concurrent changes to edge rules are currently not supported and ca be lost.
Terraform does by default do operations in parallel.
Possible workarounds:

  • serialize all changes to edge rules
  • After changing/creating an edge rule check if the wanted change was applied to the pull zone, if it wasn't retry the create/update operation
@fho fho added the bug Something isn't working label Nov 10, 2021
@fho
Copy link
Contributor Author

fho commented Nov 19, 2021

chance of the issue happening was reduced in #32

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant