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

Address: Service integration perm diff with Generic email and empty/omitted email_filter #625

Conversation

imjaroiswebdev
Copy link
Contributor

On Provider version v2.4.0 the attribute email_filter was introduced to pagerduty_service_integration to enhance the configuration capabilities for generic_email_inbound_integration type, however the email_filter response from PD API always returns the default values for each field of that make part of the email_filter itself, even when this value is configured as empty or omitted from Terraform config. That said, this causes a permanent diff on the state, because the values for the empty/omitted email_filter aren't written on the TF code.

Additionally users coming from version v2.3.0 will find this diff after the update to newer versions of the Provider.

So, this update is meant to solve this permanent diff issue with pagerduty_service_integration.email_filter attribute.

New test cases introduced...

Screenshot 2023-01-30 at 21 56 26

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

Successfully merging this pull request may close these issues.

1 participant