-
Notifications
You must be signed in to change notification settings - Fork 212
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
resource_pagerduty_service: skip response_play with "null" value #573
Conversation
Similar to fields "auto_resolve_timeout" and "acknowledge_timeout" etc, this allows to skip response_play by setting value to "null" besides not writing "response_play" field. This is easier for creating multiple services with modules when some have response_play while others don't.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great. @imjaroiswebdev any chance we release this soon? As is, it is very hard to write a terraform module where some services have response plays and some do not, so the 2.6 becomes a breaking change for such modules.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How Do I unset response_play on resource_pagerduty_service then? Need to remove a response_play on a service. |
@s3265176 Before this change, To unset response_play from a service, you can use |
@Padorax I am on 2.10.2 During terraform plan it did pick up the change |
@s3265176 If the change is detected by "plan", but not actually applied, then seems like it's more broken than we fixed. |
We are experiencing the same behaviour. |
Similar to fields "auto_resolve_timeout" and "acknowledge_timeout" etc, this allows to skip response_play by setting value to "null" besides not writing "response_play" field. This is easier for creating multiple services with modules when some have response_play while others don't.