Webhook provider - ApplyChanges method #3996
-
Hi to all, I am new to this community and I am basically writing a webhook provider for Hetzner out of necessity. I forked the IONOS provider and studying Raffo's AWS provider. My question comes from a comment I found there: // ApplyChanges applies a given set of changes in a given zone.
func (p *AWSProvider) ApplyChanges(ctx context.Context, changes *plan.Changes) error { Does it mean that this method gets called with changes for only one zone? (therefore changes to two zones would imply two calls?) Alternatively, where can I find documentation on how to implement a provider with the webhook system? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I answered myself reading better the code: no, it doesn't get called with changes for only one zone :) |
Beta Was this translation helpful? Give feedback.
I answered myself reading better the code: no, it doesn't get called with changes for only one zone :)