You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# opsgenie_schedule.london will be created
+ resource "opsgenie_schedule" "london" {
+ description = "schedule test"
+ enabled = false
+ id = (known after apply)
+ name = "genieschedule2"
}
Note the missing timezone attribute
terraform apply:
# opsgenie_schedule.london will be created
+ resource "opsgenie_schedule" "london" {
+ description = "schedule test"
+ enabled = false
+ id = (known after apply)
+ name = "genieschedule2"
}
Plan: 1 to add, 0 to change, 0 to destroy.
opsgenie_schedule.london: Creating...
opsgenie_schedule.london: Creation complete after 4s [id=70294f45-65d5-4a50-bdaf-6a9d98691304]
terraform plan (again):
Terraform will perform the following actions:
# opsgenie_schedule.london will be updated in-place
~ resource "opsgenie_schedule" "london" {
id = "70294f45-65d5-4a50-bdaf-6a9d98691304"
name = "genieschedule2"
~ timezone = "America/New_York" -> "Europe/London"
# (2 unchanged attributes hidden)
}
Plan: 0 to add, 1 to change, 0 to destroy.
terraform apply (again):
# opsgenie_schedule.london will be updated in-place
~ resource "opsgenie_schedule" "london" {
id = "70294f45-65d5-4a50-bdaf-6a9d98691304"
name = "genieschedule2"
~ timezone = "America/New_York" -> "Europe/London"
# (2 unchanged attributes hidden)
}
Plan: 0 to add, 1 to change, 0 to destroy.
opsgenie_schedule.london: Modifying... [id=70294f45-65d5-4a50-bdaf-6a9d98691304]
opsgenie_schedule.london: Modifications complete after 0s [id=70294f45-65d5-4a50-bdaf-6a9d98691304]
Expected Behavior
The opsgenie_schedule should have been created with the Europe/London timezone on the first terraform apply.
Actual Behavior
The opsgenie_schedule was created with the America/New_York timezone, while a second plan/apply sets the timezone to the correct Europe/London TZ.
Steps to Reproduce
Configure a new schedule with timezone Europe/London
terraform apply
terraform apply
Important Factoids
The opsgenie_schedule is created correctly with certain other timezones, for example Europe/Rome works just fine.
Terraform Version
Affected Resource(s)
Terraform Configuration Files
Debug Output
terraform plan:
Note the missing
timezone
attributeterraform apply:
terraform plan (again):
terraform apply (again):
Expected Behavior
The
opsgenie_schedule
should have been created with theEurope/London
timezone on the firstterraform apply
.Actual Behavior
The
opsgenie_schedule
was created with theAmerica/New_York
timezone, while a secondplan/apply
sets the timezone to the correctEurope/London
TZ.Steps to Reproduce
Europe/London
terraform apply
terraform apply
Important Factoids
The
opsgenie_schedule
is created correctly with certain other timezones, for exampleEurope/Rome
works just fine.References
The text was updated successfully, but these errors were encountered: