newrelic / terraform-provider-newrelic

Terraform provider for New Relic
https://registry.terraform.io/providers/newrelic/newrelic/latest/docs
Mozilla Public License 2.0
200 stars 244 forks source link

feat(destinations): validate no update on slack #2661

Closed nzur-newrelic closed 1 month ago

nzur-newrelic commented 1 month ago

Description

The current documentation shows to use ignore_changes on slack destinations, but sadly this situation causes issues with our mutations, therefore update for it will never work. To avoid this issue we'll allow users only to destroy the resource if needed.

A validation has been added for slack to avoid updating it as well in case someone didn't see the docs.

Type of change

Please delete options that are not relevant.

Checklist:

Please delete options that are not relevant.

How to test this change?

Please describe how to test your changes. Include any relevant steps in the UI, HCL file(s), commands, etc