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

Marked time_zone as ForceNew due to change in API behavior #5831

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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