This PR fixes the detection of changes for the circleci_webhook resource.
Specifically we modified the following:
attribute
remarks
events
(breaking) switch attribute from List to Set to ensure ordering does not matter
signing_secret
disregard returned value from CircleCI V2 API since it's always returned masked
Also modified the circleci_webhooks data source for events attribute.
Importantly, we also added an additional test to confirm no changes to plan are detected if the circleci_webhook resource definition did not change indeed.
Resolves #45
This PR fixes the detection of changes for the
circleci_webhook
resource. Specifically we modified the following:events
signing_secret
Also modified the
circleci_webhooks
data source forevents
attribute.Importantly, we also added an additional test to confirm no changes to plan are detected if the
circleci_webhook
resource definition did not change indeed.