Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

uptimerobot_alert_contact "=" vs "#061;" and forces replacement #126

Open
mikemadeja opened this issue Jan 19, 2024 · 0 comments
Open

uptimerobot_alert_contact "=" vs "#061;" and forces replacement #126

mikemadeja opened this issue Jan 19, 2024 · 0 comments

Comments

@mikemadeja
Copy link

mikemadeja commented Jan 19, 2024

Hello,

When I run our uptime robot for uptimereobot_alert_contact, it wants to create and destroy the alert contact. The Terraform code uses "=".

When I query the uptime robot API, it uses "#061;"

In uptime robot API using https://api.uptimerobot.com/v2/getAlertContacts
https://api.opsgenie.com/v1/json/uptimerobot?apiKey=GUIDHERE

When I look at the terraform statefile, I see =.

We are using louy/uptimerobot v0.5.1.

 resource "uptimerobot_alert_contact" "uptimerobot_alert_contact" {
      ~ id            = "1111111" -> (known after apply)
      ~ status        = "active" -> (known after apply)
      ~ value         = "https://api.opsgenie.com/v1/json/uptimerobot?apiKey=GUIDHERE" -> "https://api.opsgenie.com/v1/json/uptimerobot?apiKey=GUIDHERE" # forces replacement
@mikemadeja mikemadeja changed the title "=" vs "#061;" uptimerobot_alert_contact "=" vs "#061;" and forces replacement Jan 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant