Closed gtirloni closed 2 years ago
Just tested v0.7.0 and it works fine.
Ran into the same panic, and downgrading to 0.7.0 worked here as a workaround. Haven't dug into the code changes to try and see why it's occurring yet.
I wonder if https://github.com/vexxhost/terraform-provider-uptimerobot/pull/12 will fix it actually, looks to be in related code and checking related behaviour.
I believe this is closed by #12
Hi, new user of UptimeRobot and this module. Thank you for providing it!
I'm not sure if #12 has been included in a release or not, but I've encountered this issue. Setting http_method = "GET"
got me further where several of the http checks were created, but ultimately terraform still failed.
I've downgraded to 0.7.0
but now I get the error
╷
│ Error: Monitor not found: 791874630
│
│ with uptimerobot_monitor.production-portal["org1"],
│ on uptime_monitors.tf line 40, in resource "uptimerobot_monitor" "production-portal":
│ 40: resource "uptimerobot_monitor" "production-portal" {
│
╵
╷
│ Error: Monitor not found: 791874617
│
│ with uptimerobot_monitor.production-portal["org2"],
│ on uptime_monitors.tf line 40, in resource "uptimerobot_monitor" "production-portal":
│ 40: resource "uptimerobot_monitor" "production-portal" {
│
╵
This goes on. But the monitors are actually created 🤷♂️
which version are you using of the module?
I was using 0.8.0 but this caused the error originally mentioned in this issue. I then downgraded to 0.7.0 this version created the monitors but returned the errors I showed.
Edit: I see my mistake! It looks like there is a new version, 0.8.2
. I'll send a PR to update the readme that I was following.
Thank you, I'll try this version out
I'm trying to convert to this new fork but I'm getting the following error when running
terraform plan
on the existing resources:I've done the provider conversion with
terraform state replace-provider
and updated the TF definitions to use v0.8.0.Any help is welcome.