Skip to content
This repository has been archived by the owner on Aug 16, 2021. It is now read-only.

Fix region diff suppression for undefined regions #2

Closed
wants to merge 1 commit into from
Closed

Fix region diff suppression for undefined regions #2

wants to merge 1 commit into from

Conversation

dgadelha
Copy link

This is an attempt to fix region diff suppression when regions are not manually defined in code:

# betteruptime_monitor.test will be updated in-place
~ resource "betteruptime_monitor" "test" {
      id                  = "123456"
    ~ regions             = [
        - "us",
        - "eu",
        - "as",
        - "au",
      ]
      # (17 unchanged attributes hidden)
  }

With this resource:

resource "betteruptime_monitor" "test" {
  monitor_type = "status"
  url          = "https://google.com/"
}

As I'm not a Go/TF developer, please review this PR carefully.

@dgadelha
Copy link
Author

Converting to draft due to hashicorp/terraform-plugin-sdk#477

@dgadelha dgadelha marked this pull request as draft June 11, 2021 19:01
@dgadelha dgadelha closed this by deleting the head repository Oct 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant