diff --git a/.changelog/6752.txt b/.changelog/6752.txt new file mode 100644 index 0000000000..4801d07d88 --- /dev/null +++ b/.changelog/6752.txt @@ -0,0 +1,3 @@ +```release-note:bug +dialogflowcx: fixed a deployment issue for `google_dialogflow_cx_version` and `google_dialogflow_cx_environment` when they are deployed to a non-global location +``` diff --git a/google/dialogflow_cx_operation.go b/google/dialogflow_cx_operation.go index b6a8eb6e19..58e6dedc2f 100644 --- a/google/dialogflow_cx_operation.go +++ b/google/dialogflow_cx_operation.go @@ -1,17 +1,3 @@ -// ---------------------------------------------------------------------------- -// -// *** AUTO GENERATED CODE *** Type: MMv1 *** -// -// ---------------------------------------------------------------------------- -// -// This file is automatically generated by Magic Modules and manual -// changes will be clobbered when the file is regenerated. -// -// Please read more about how to change this file in -// .github/CONTRIBUTING.md. -// -// ---------------------------------------------------------------------------- - package google import ( @@ -24,6 +10,7 @@ type DialogflowCXOperationWaiter struct { Config *Config UserAgent string CommonOperationWaiter + Location string } func (w *DialogflowCXOperationWaiter) QueryOp() (interface{}, error) { @@ -31,15 +18,16 @@ func (w *DialogflowCXOperationWaiter) QueryOp() (interface{}, error) { return nil, fmt.Errorf("Cannot query operation, it's unset or nil.") } // Returns the proper get. - url := fmt.Sprintf("https://dialogflow.googleapis.com/v3/%s", w.CommonOperationWaiter.Op.Name) + url := fmt.Sprintf("https://%s-dialogflow.googleapis.com/v3/%s", w.Location, w.CommonOperationWaiter.Op.Name) return sendRequest(w.Config, "GET", "", url, w.UserAgent, nil) } -func createDialogflowCXWaiter(config *Config, op map[string]interface{}, activity, userAgent string) (*DialogflowCXOperationWaiter, error) { +func createDialogflowCXWaiter(config *Config, op map[string]interface{}, activity, userAgent, location string) (*DialogflowCXOperationWaiter, error) { w := &DialogflowCXOperationWaiter{ Config: config, UserAgent: userAgent, + Location: location, } if err := w.CommonOperationWaiter.SetOp(op); err != nil { return nil, err @@ -48,8 +36,8 @@ func createDialogflowCXWaiter(config *Config, op map[string]interface{}, activit } // nolint: deadcode,unused -func dialogflowCXOperationWaitTimeWithResponse(config *Config, op map[string]interface{}, response *map[string]interface{}, activity, userAgent string, timeout time.Duration) error { - w, err := createDialogflowCXWaiter(config, op, activity, userAgent) +func dialogflowCXOperationWaitTimeWithResponse(config *Config, op map[string]interface{}, response *map[string]interface{}, activity, userAgent, location string, timeout time.Duration) error { + w, err := createDialogflowCXWaiter(config, op, activity, userAgent, location) if err != nil { return err } @@ -59,12 +47,12 @@ func dialogflowCXOperationWaitTimeWithResponse(config *Config, op map[string]int return json.Unmarshal([]byte(w.CommonOperationWaiter.Op.Response), response) } -func dialogflowCXOperationWaitTime(config *Config, op map[string]interface{}, activity, userAgent string, timeout time.Duration) error { +func dialogflowCXOperationWaitTime(config *Config, op map[string]interface{}, activity, userAgent, location string, timeout time.Duration) error { if val, ok := op["name"]; !ok || val == "" { // This was a synchronous call - there is no operation to wait for. return nil } - w, err := createDialogflowCXWaiter(config, op, activity, userAgent) + w, err := createDialogflowCXWaiter(config, op, activity, userAgent, location) if err != nil { // If w is nil, the op was synchronous. return err diff --git a/google/provider.go b/google/provider.go index 059ff82ee3..cca70d7c0c 100644 --- a/google/provider.go +++ b/google/provider.go @@ -925,9 +925,9 @@ func Provider() *schema.Provider { return provider } -// Generated resources: 248 +// Generated resources: 246 // Generated IAM resources: 150 -// Total generated resources: 398 +// Total generated resources: 396 func ResourceMap() map[string]*schema.Resource { resourceMap, _ := ResourceMapWithErrors() return resourceMap @@ -1153,10 +1153,8 @@ func ResourceMapWithErrors() (map[string]*schema.Resource, error) { "google_dialogflow_cx_agent": resourceDialogflowCXAgent(), "google_dialogflow_cx_intent": resourceDialogflowCXIntent(), "google_dialogflow_cx_flow": resourceDialogflowCXFlow(), - "google_dialogflow_cx_version": resourceDialogflowCXVersion(), "google_dialogflow_cx_page": resourceDialogflowCXPage(), "google_dialogflow_cx_entity_type": resourceDialogflowCXEntityType(), - "google_dialogflow_cx_environment": resourceDialogflowCXEnvironment(), "google_dialogflow_cx_webhook": resourceDialogflowCXWebhook(), "google_dns_managed_zone": resourceDNSManagedZone(), "google_dns_policy": resourceDNSPolicy(), @@ -1355,6 +1353,8 @@ func ResourceMapWithErrors() (map[string]*schema.Resource, error) { "google_dataflow_job": resourceDataflowJob(), "google_dataproc_cluster": resourceDataprocCluster(), "google_dataproc_job": resourceDataprocJob(), + "google_dialogflow_cx_version": resourceDialogflowCXVersion(), + "google_dialogflow_cx_environment": resourceDialogflowCXEnvironment(), "google_dns_record_set": resourceDnsRecordSet(), "google_endpoints_service": resourceEndpointsService(), "google_folder": resourceGoogleFolder(), diff --git a/google/resource_dialogflow_cx_environment.go b/google/resource_dialogflow_cx_environment.go index 99757db040..cc295fdaea 100644 --- a/google/resource_dialogflow_cx_environment.go +++ b/google/resource_dialogflow_cx_environment.go @@ -1,17 +1,3 @@ -// ---------------------------------------------------------------------------- -// -// *** AUTO GENERATED CODE *** Type: MMv1 *** -// -// ---------------------------------------------------------------------------- -// -// This file is automatically generated by Magic Modules and manual -// changes will be clobbered when the file is regenerated. -// -// Please read more about how to change this file in -// .github/CONTRIBUTING.md. -// -// ---------------------------------------------------------------------------- - package google import ( @@ -162,7 +148,7 @@ func resourceDialogflowCXEnvironmentCreate(d *schema.ResourceData, meta interfac // identity fields and d.Id() before read var opRes map[string]interface{} err = dialogflowCXOperationWaitTimeWithResponse( - config, res, &opRes, "Creating Environment", userAgent, + config, res, &opRes, "Creating Environment", userAgent, location, d.Timeout(schema.TimeoutCreate)) if err != nil { // The resource didn't actually create @@ -328,7 +314,7 @@ func resourceDialogflowCXEnvironmentUpdate(d *schema.ResourceData, meta interfac } err = dialogflowCXOperationWaitTime( - config, res, "Updating Environment", userAgent, + config, res, "Updating Environment", userAgent, location, d.Timeout(schema.TimeoutUpdate)) if err != nil { @@ -381,7 +367,7 @@ func resourceDialogflowCXEnvironmentDelete(d *schema.ResourceData, meta interfac } err = dialogflowCXOperationWaitTime( - config, res, "Deleting Environment", userAgent, + config, res, "Deleting Environment", userAgent, location, d.Timeout(schema.TimeoutDelete)) if err != nil { diff --git a/google/resource_dialogflow_cx_environment_generated_test.go b/google/resource_dialogflow_cx_environment_generated_test.go deleted file mode 100644 index 5f69d614b6..0000000000 --- a/google/resource_dialogflow_cx_environment_generated_test.go +++ /dev/null @@ -1,116 +0,0 @@ -// ---------------------------------------------------------------------------- -// -// *** AUTO GENERATED CODE *** Type: MMv1 *** -// -// ---------------------------------------------------------------------------- -// -// This file is automatically generated by Magic Modules and manual -// changes will be clobbered when the file is regenerated. -// -// Please read more about how to change this file in -// .github/CONTRIBUTING.md. -// -// ---------------------------------------------------------------------------- - -package google - -import ( - "fmt" - "strings" - "testing" - - "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" - "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" -) - -func TestAccDialogflowCXEnvironment_dialogflowcxEnvironmentFullExample(t *testing.T) { - t.Parallel() - - context := map[string]interface{}{ - "random_suffix": randString(t, 10), - } - - vcrTest(t, resource.TestCase{ - PreCheck: func() { testAccPreCheck(t) }, - Providers: testAccProviders, - CheckDestroy: testAccCheckDialogflowCXEnvironmentDestroyProducer(t), - Steps: []resource.TestStep{ - { - Config: testAccDialogflowCXEnvironment_dialogflowcxEnvironmentFullExample(context), - }, - { - ResourceName: "google_dialogflow_cx_environment.development", - ImportState: true, - ImportStateVerify: true, - ImportStateVerifyIgnore: []string{"parent"}, - }, - }, - }) -} - -func testAccDialogflowCXEnvironment_dialogflowcxEnvironmentFullExample(context map[string]interface{}) string { - return Nprintf(` -resource "google_dialogflow_cx_agent" "agent" { - display_name = "tf-test-dialogflowcx-agent%{random_suffix}" - location = "global" - default_language_code = "en" - supported_language_codes = ["fr","de","es"] - time_zone = "America/New_York" - description = "Example description." - avatar_uri = "https://cloud.google.com/_static/images/cloud/icons/favicons/onecloud/super_cloud.png" - enable_stackdriver_logging = true - enable_spell_correction = true - speech_to_text_settings { - enable_speech_adaptation = true - } -} - -resource "google_dialogflow_cx_version" "version_1" { - parent = google_dialogflow_cx_agent.agent.start_flow - display_name = "1.0.0" - description = "version 1.0.0" -} - -resource "google_dialogflow_cx_environment" "development" { - parent = google_dialogflow_cx_agent.agent.id - display_name = "Development" - description = "Development Environment" - version_configs { - version = google_dialogflow_cx_version.version_1.id - } -} -`, context) -} - -func testAccCheckDialogflowCXEnvironmentDestroyProducer(t *testing.T) func(s *terraform.State) error { - return func(s *terraform.State) error { - for name, rs := range s.RootModule().Resources { - if rs.Type != "google_dialogflow_cx_environment" { - continue - } - if strings.HasPrefix(name, "data.") { - continue - } - - config := googleProviderConfig(t) - - url, err := replaceVarsForTest(config, rs, "{{DialogflowCXBasePath}}{{parent}}/environments/{{name}}") - if err != nil { - return err - } - - billingProject := "" - - if config.BillingProject != "" { - billingProject = config.BillingProject - } - - _, err = sendRequest(config, "GET", billingProject, url, config.userAgent, nil) - if err == nil { - return fmt.Errorf("DialogflowCXEnvironment still exists at %s", url) - } - } - - return nil - } -} diff --git a/google/resource_dialogflow_cx_version.go b/google/resource_dialogflow_cx_version.go index 92a928ff1d..96d0abc009 100644 --- a/google/resource_dialogflow_cx_version.go +++ b/google/resource_dialogflow_cx_version.go @@ -1,17 +1,3 @@ -// ---------------------------------------------------------------------------- -// -// *** AUTO GENERATED CODE *** Type: MMv1 *** -// -// ---------------------------------------------------------------------------- -// -// This file is automatically generated by Magic Modules and manual -// changes will be clobbered when the file is regenerated. -// -// Please read more about how to change this file in -// .github/CONTRIBUTING.md. -// -// ---------------------------------------------------------------------------- - package google import ( @@ -181,7 +167,7 @@ func resourceDialogflowCXVersionCreate(d *schema.ResourceData, meta interface{}) // identity fields and d.Id() before read var opRes map[string]interface{} err = dialogflowCXOperationWaitTimeWithResponse( - config, res, &opRes, "Creating Version", userAgent, + config, res, &opRes, "Creating Version", userAgent, location, d.Timeout(schema.TimeoutCreate)) if err != nil { // The resource didn't actually create @@ -340,7 +326,7 @@ func resourceDialogflowCXVersionUpdate(d *schema.ResourceData, meta interface{}) } err = dialogflowCXOperationWaitTime( - config, res, "Updating Version", userAgent, + config, res, "Updating Version", userAgent, location, d.Timeout(schema.TimeoutUpdate)) if err != nil { @@ -393,7 +379,7 @@ func resourceDialogflowCXVersionDelete(d *schema.ResourceData, meta interface{}) } err = dialogflowCXOperationWaitTime( - config, res, "Deleting Version", userAgent, + config, res, "Deleting Version", userAgent, location, d.Timeout(schema.TimeoutDelete)) if err != nil { diff --git a/google/resource_dialogflow_cx_version_generated_test.go b/google/resource_dialogflow_cx_version_generated_test.go deleted file mode 100644 index 3b19d2c892..0000000000 --- a/google/resource_dialogflow_cx_version_generated_test.go +++ /dev/null @@ -1,108 +0,0 @@ -// ---------------------------------------------------------------------------- -// -// *** AUTO GENERATED CODE *** Type: MMv1 *** -// -// ---------------------------------------------------------------------------- -// -// This file is automatically generated by Magic Modules and manual -// changes will be clobbered when the file is regenerated. -// -// Please read more about how to change this file in -// .github/CONTRIBUTING.md. -// -// ---------------------------------------------------------------------------- - -package google - -import ( - "fmt" - "strings" - "testing" - - "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" - "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" -) - -func TestAccDialogflowCXVersion_dialogflowcxVersionFullExample(t *testing.T) { - t.Parallel() - - context := map[string]interface{}{ - "random_suffix": randString(t, 10), - } - - vcrTest(t, resource.TestCase{ - PreCheck: func() { testAccPreCheck(t) }, - Providers: testAccProviders, - CheckDestroy: testAccCheckDialogflowCXVersionDestroyProducer(t), - Steps: []resource.TestStep{ - { - Config: testAccDialogflowCXVersion_dialogflowcxVersionFullExample(context), - }, - { - ResourceName: "google_dialogflow_cx_version.version_1", - ImportState: true, - ImportStateVerify: true, - ImportStateVerifyIgnore: []string{"parent"}, - }, - }, - }) -} - -func testAccDialogflowCXVersion_dialogflowcxVersionFullExample(context map[string]interface{}) string { - return Nprintf(` -resource "google_dialogflow_cx_agent" "agent" { - display_name = "tf-test-dialogflowcx-agent%{random_suffix}" - location = "global" - default_language_code = "en" - supported_language_codes = ["fr","de","es"] - time_zone = "America/New_York" - description = "Example description." - avatar_uri = "https://cloud.google.com/_static/images/cloud/icons/favicons/onecloud/super_cloud.png" - enable_stackdriver_logging = true - enable_spell_correction = true - speech_to_text_settings { - enable_speech_adaptation = true - } -} - - -resource "google_dialogflow_cx_version" "version_1" { - parent = google_dialogflow_cx_agent.agent.start_flow - display_name = "1.0.0" - description = "version 1.0.0" -} -`, context) -} - -func testAccCheckDialogflowCXVersionDestroyProducer(t *testing.T) func(s *terraform.State) error { - return func(s *terraform.State) error { - for name, rs := range s.RootModule().Resources { - if rs.Type != "google_dialogflow_cx_version" { - continue - } - if strings.HasPrefix(name, "data.") { - continue - } - - config := googleProviderConfig(t) - - url, err := replaceVarsForTest(config, rs, "{{DialogflowCXBasePath}}{{parent}}/versions/{{name}}") - if err != nil { - return err - } - - billingProject := "" - - if config.BillingProject != "" { - billingProject = config.BillingProject - } - - _, err = sendRequest(config, "GET", billingProject, url, config.userAgent, nil) - if err == nil { - return fmt.Errorf("DialogflowCXVersion still exists at %s", url) - } - } - - return nil - } -} diff --git a/google/resource_dialogflowcx_environment_test.go b/google/resource_dialogflowcx_environment_test.go index 26ab47121a..18d8926bc4 100644 --- a/google/resource_dialogflowcx_environment_test.go +++ b/google/resource_dialogflowcx_environment_test.go @@ -1,9 +1,12 @@ package google import ( + "fmt" + "strings" "testing" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" + "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" ) func TestAccDialogflowCXEnvironment_update(t *testing.T) { @@ -126,3 +129,152 @@ func testAccDialogflowCXEnvironment_full(context map[string]interface{}) string } `, context) } + +func TestAccDialogflowCXEnvironment_dialogflowcxEnvironmentFullExample(t *testing.T) { + t.Parallel() + + context := map[string]interface{}{ + "random_suffix": randString(t, 10), + } + + vcrTest(t, resource.TestCase{ + PreCheck: func() { testAccPreCheck(t) }, + Providers: testAccProviders, + CheckDestroy: testAccCheckDialogflowCXEnvironmentDestroyProducer(t), + Steps: []resource.TestStep{ + { + Config: testAccDialogflowCXEnvironment_dialogflowcxEnvironmentFullExample(context), + }, + { + ResourceName: "google_dialogflow_cx_environment.development", + ImportState: true, + ImportStateVerify: true, + ImportStateVerifyIgnore: []string{"parent"}, + }, + }, + }) +} + +func testAccDialogflowCXEnvironment_dialogflowcxEnvironmentFullExample(context map[string]interface{}) string { + return Nprintf(` +resource "google_dialogflow_cx_agent" "agent" { + display_name = "tf-test-dialogflowcx-agent%{random_suffix}" + location = "global" + default_language_code = "en" + supported_language_codes = ["fr","de","es"] + time_zone = "America/New_York" + description = "Example description." + avatar_uri = "https://cloud.google.com/_static/images/cloud/icons/favicons/onecloud/super_cloud.png" + enable_stackdriver_logging = true + enable_spell_correction = true + speech_to_text_settings { + enable_speech_adaptation = true + } +} + +resource "google_dialogflow_cx_version" "version_1" { + parent = google_dialogflow_cx_agent.agent.start_flow + display_name = "1.0.0" + description = "version 1.0.0" +} + +resource "google_dialogflow_cx_environment" "development" { + parent = google_dialogflow_cx_agent.agent.id + display_name = "Development" + description = "Development Environment" + version_configs { + version = google_dialogflow_cx_version.version_1.id + } +} +`, context) +} + +func TestAccDialogflowCXEnvironment_dialogflowcxEnvironmentRegional(t *testing.T) { + t.Parallel() + + context := map[string]interface{}{ + "random_suffix": randString(t, 10), + } + + vcrTest(t, resource.TestCase{ + PreCheck: func() { testAccPreCheck(t) }, + Providers: testAccProviders, + CheckDestroy: testAccCheckDialogflowCXEnvironmentDestroyProducer(t), + Steps: []resource.TestStep{ + { + Config: testAccDialogflowCXEnvironment_dialogflowcxEnvironmentFRegional(context), + }, + { + ResourceName: "google_dialogflow_cx_environment.development", + ImportState: true, + ImportStateVerify: true, + ImportStateVerifyIgnore: []string{"parent"}, + }, + }, + }) +} + +func testAccDialogflowCXEnvironment_dialogflowcxEnvironmentFRegional(context map[string]interface{}) string { + return Nprintf(` +resource "google_dialogflow_cx_agent" "agent" { + display_name = "issue12880" + location = "europe-west2" + default_language_code = "en" + supported_language_codes = ["fr","de","es"] + time_zone = "Europe/London" + description = "CX BOT Agent" + enable_stackdriver_logging = true + speech_to_text_settings { + enable_speech_adaptation = true + } + } + +resource "google_dialogflow_cx_version" "version_1" { + parent = google_dialogflow_cx_agent.agent.start_flow + display_name = "1.0.0" + description = "version 1.0.0" +} + +resource "google_dialogflow_cx_environment" "development" { + parent = google_dialogflow_cx_agent.agent.id + display_name = "Development" + description = "Development Environment" + version_configs { + version = google_dialogflow_cx_version.version_1.id + } +} +`, context) +} + +func testAccCheckDialogflowCXEnvironmentDestroyProducer(t *testing.T) func(s *terraform.State) error { + return func(s *terraform.State) error { + for name, rs := range s.RootModule().Resources { + if rs.Type != "google_dialogflow_cx_environment" { + continue + } + if strings.HasPrefix(name, "data.") { + continue + } + + config := googleProviderConfig(t) + + url, err := replaceVarsForTest(config, rs, "{{DialogflowCXBasePath}}{{parent}}/environments/{{name}}") + if err != nil { + return err + } + + billingProject := "" + + if config.BillingProject != "" { + billingProject = config.BillingProject + } + + _, err = sendRequest(config, "GET", billingProject, url, config.userAgent, nil) + if err == nil { + return fmt.Errorf("DialogflowCXEnvironment still exists at %s", url) + } + } + + return nil + } +} diff --git a/google/resource_dialogflowcx_version_test.go b/google/resource_dialogflowcx_version_test.go index a8ae35a359..45f954e671 100644 --- a/google/resource_dialogflowcx_version_test.go +++ b/google/resource_dialogflowcx_version_test.go @@ -1,9 +1,12 @@ package google import ( + "fmt" + "strings" "testing" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" + "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" ) func TestAccDialogflowCXVersion_update(t *testing.T) { @@ -108,3 +111,87 @@ func testAccDialogflowCXVersion_full(context map[string]interface{}) string { } `, context) } + +func TestAccDialogflowCXVersion_dialogflowcxVersionFullExample(t *testing.T) { + t.Parallel() + + context := map[string]interface{}{ + "random_suffix": randString(t, 10), + } + + vcrTest(t, resource.TestCase{ + PreCheck: func() { testAccPreCheck(t) }, + Providers: testAccProviders, + CheckDestroy: testAccCheckDialogflowCXVersionDestroyProducer(t), + Steps: []resource.TestStep{ + { + Config: testAccDialogflowCXVersion_dialogflowcxVersionFullExample(context), + }, + { + ResourceName: "google_dialogflow_cx_version.version_1", + ImportState: true, + ImportStateVerify: true, + ImportStateVerifyIgnore: []string{"parent"}, + }, + }, + }) +} + +func testAccDialogflowCXVersion_dialogflowcxVersionFullExample(context map[string]interface{}) string { + return Nprintf(` +resource "google_dialogflow_cx_agent" "agent" { + display_name = "tf-test-dialogflowcx-agent%{random_suffix}" + location = "global" + default_language_code = "en" + supported_language_codes = ["fr","de","es"] + time_zone = "America/New_York" + description = "Example description." + avatar_uri = "https://cloud.google.com/_static/images/cloud/icons/favicons/onecloud/super_cloud.png" + enable_stackdriver_logging = true + enable_spell_correction = true + speech_to_text_settings { + enable_speech_adaptation = true + } +} + + +resource "google_dialogflow_cx_version" "version_1" { + parent = google_dialogflow_cx_agent.agent.start_flow + display_name = "1.0.0" + description = "version 1.0.0" +} +`, context) +} + +func testAccCheckDialogflowCXVersionDestroyProducer(t *testing.T) func(s *terraform.State) error { + return func(s *terraform.State) error { + for name, rs := range s.RootModule().Resources { + if rs.Type != "google_dialogflow_cx_version" { + continue + } + if strings.HasPrefix(name, "data.") { + continue + } + + config := googleProviderConfig(t) + + url, err := replaceVarsForTest(config, rs, "{{DialogflowCXBasePath}}{{parent}}/versions/{{name}}") + if err != nil { + return err + } + + billingProject := "" + + if config.BillingProject != "" { + billingProject = config.BillingProject + } + + _, err = sendRequest(config, "GET", billingProject, url, config.userAgent, nil) + if err == nil { + return fmt.Errorf("DialogflowCXVersion still exists at %s", url) + } + } + + return nil + } +} diff --git a/website/docs/r/dialogflow_cx_environment.html.markdown b/website/docs/r/dialogflow_cx_environment.html.markdown index 35fb934f5e..24f5d81869 100644 --- a/website/docs/r/dialogflow_cx_environment.html.markdown +++ b/website/docs/r/dialogflow_cx_environment.html.markdown @@ -1,17 +1,4 @@ --- -# ---------------------------------------------------------------------------- -# -# *** AUTO GENERATED CODE *** Type: MMv1 *** -# -# ---------------------------------------------------------------------------- -# -# This file is automatically generated by Magic Modules and manual -# changes will be clobbered when the file is regenerated. -# -# Please read more about how to change this file in -# .github/CONTRIBUTING.md. -# -# ---------------------------------------------------------------------------- subcategory: "Dialogflow CX" page_title: "Google: google_dialogflow_cx_environment" description: |- diff --git a/website/docs/r/dialogflow_cx_version.html.markdown b/website/docs/r/dialogflow_cx_version.html.markdown index f18f3c0bc5..867815994d 100644 --- a/website/docs/r/dialogflow_cx_version.html.markdown +++ b/website/docs/r/dialogflow_cx_version.html.markdown @@ -1,17 +1,4 @@ --- -# ---------------------------------------------------------------------------- -# -# *** AUTO GENERATED CODE *** Type: MMv1 *** -# -# ---------------------------------------------------------------------------- -# -# This file is automatically generated by Magic Modules and manual -# changes will be clobbered when the file is regenerated. -# -# Please read more about how to change this file in -# .github/CONTRIBUTING.md. -# -# ---------------------------------------------------------------------------- subcategory: "Dialogflow CX" page_title: "Google: google_dialogflow_cx_version" description: |-