Skip to content

Commit

Permalink
Make dialogflow agent timezone updatable (#3596) (#6519)
Browse files Browse the repository at this point in the history
Signed-off-by: Modular Magician <magic-modules@google.com>
  • Loading branch information
modular-magician authored Jun 3, 2020
1 parent ccfd3a0 commit b66e96c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .changelog/3596.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
dialogflow: Changed `google_dialogflow_agent.time_zone` to be updatable
```
1 change: 0 additions & 1 deletion google/resource_dialogflow_agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ 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 @@ -114,7 +114,7 @@ func testAccDialogflowAgent_full2(context map[string]interface{}) string {
display_name = "tf-test-%{random_suffix}update"
default_language_code = "en"
supported_language_codes = ["no"]
time_zone = "America/New_York"
time_zone = "Europe/London"
description = "Description 2!"
avatar_uri = "https://storage.cloud.google.com/dialogflow-test-host-image/cloud-logo-2.png"
enable_logging = false
Expand Down

0 comments on commit b66e96c

Please sign in to comment.