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

betteruptime_status_page_resource.widget_type resets itself when planning/applying #64

Open
chronark opened this issue Dec 6, 2023 · 0 comments

Comments

@chronark
Copy link

chronark commented Dec 6, 2023

Hey guys, I'm running into issues with your terraform provider, the type of widget on the status randomly resets and I have traced it down to the terraform provider resetting it for some reason

here's a snippet of the tf code and output when I plan the changes

resource "betteruptime_status_page_resource" "landing_page" {
  public_name = "Landing Page"
  widget_type = "history"

  resource_id            = betteruptime_monitor.landing_page.id
  resource_type          = "Monitor"
  status_page_id         = betteruptime_status_page.status_page.id
  status_page_section_id = betteruptime_status_page_section.app.id
}

And then when I plan or apply it gets changed to null:

 # betteruptime_status_page_resource.landing_page will be updated in-place
  ~ resource "betteruptime_status_page_resource" "landing_page" {
      - history                = true -> null
        id                     = "8308274"
        # (9 unchanged attributes hidden)
    }
Terraform v1.6.5 on darwin_arm64
+ provider registry.terraform.io/betterstackhq/better-uptime v0.4.0
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

No branches or pull requests

1 participant