Skip to content

Commit

Permalink
Marked time_zone as ForceNew due to change in API behavior (#3218) (#…
Browse files Browse the repository at this point in the history
…5831)

Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored Mar 5, 2020
1 parent 579555e commit 2257527
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .changelog/3218.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:breaking-change
dialogflow: Changed `google_dialogflow_agent.time_zone` to ForceNew. Updating this field will require recreation. This is due to a change in API behavior.
```
1 change: 1 addition & 0 deletions google/resource_dialogflow_agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ for a list of the currently supported language codes. This field cannot be updat
"time_zone": {
Type: schema.TypeString,
Required: true,
ForceNew: true,
Description: `The time zone of this agent from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York,
Europe/Paris.`,
},
Expand Down
2 changes: 1 addition & 1 deletion google/resource_dialogflow_agent_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ func testAccDialogflowAgent_full2(projectID string, orgID string, agentName stri
display_name = "%s"
default_language_code = "en"
supported_language_codes = ["no"]
time_zone = "Europe/London"
time_zone = "America/New_York"
description = "Description 2!"
avatar_uri = "https://storage.googleapis.com/gweb-cloudblog-publish/images/f4xvje.max-200x200.PNG"
enable_logging = false
Expand Down

0 comments on commit 2257527

Please sign in to comment.