Skip to content

Commit af6c1c8

Browse files
resourceIdentity: remove productName character check (#15295) (#10831)
[upstream:53b0c9d1dfc6d0c4cf8b572a06ebc825a8634002] Signed-off-by: Modular Magician <magic-modules@google.com>
1 parent 07a6fa4 commit af6c1c8

File tree

567 files changed

+3402
-60
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

567 files changed

+3402
-60
lines changed

google-beta/services/alloydb/resource_alloydb_backup_generated_test.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,12 @@ func TestAccAlloydbBackup_alloydbBackupBasicTestExample(t *testing.T) {
5252
ImportStateVerify: true,
5353
ImportStateVerifyIgnore: []string{"annotations", "backup_id", "labels", "location", "reconciling", "terraform_labels", "update_time"},
5454
},
55+
{
56+
ResourceName: "google_alloydb_backup.default",
57+
RefreshState: true,
58+
ExpectNonEmptyPlan: true,
59+
ImportStateKind: resource.ImportBlockWithResourceIdentity,
60+
},
5561
},
5662
})
5763
}

google-beta/services/alloydb/resource_alloydb_cluster_generated_test.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,12 @@ func TestAccAlloydbCluster_alloydbClusterBasicExample(t *testing.T) {
5151
ImportStateVerify: true,
5252
ImportStateVerifyIgnore: []string{"annotations", "cluster_id", "initial_user", "labels", "location", "restore_backup_source", "restore_continuous_backup_source", "terraform_labels"},
5353
},
54+
{
55+
ResourceName: "google_alloydb_cluster.default",
56+
RefreshState: true,
57+
ExpectNonEmptyPlan: true,
58+
ImportStateKind: resource.ImportBlockWithResourceIdentity,
59+
},
5460
},
5561
})
5662
}

google-beta/services/alloydb/resource_alloydb_instance_generated_test.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,12 @@ func TestAccAlloydbInstance_alloydbInstanceBasicTestExample(t *testing.T) {
5252
ImportStateVerify: true,
5353
ImportStateVerifyIgnore: []string{"annotations", "cluster", "display_name", "instance_id", "labels", "reconciling", "terraform_labels", "update_time"},
5454
},
55+
{
56+
ResourceName: "google_alloydb_instance.default",
57+
RefreshState: true,
58+
ExpectNonEmptyPlan: true,
59+
ImportStateKind: resource.ImportBlockWithResourceIdentity,
60+
},
5561
},
5662
})
5763
}

google-beta/services/alloydb/resource_alloydb_user_generated_test.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,12 @@ func TestAccAlloydbUser_alloydbUserBuiltinTestExample(t *testing.T) {
5252
ImportStateVerify: true,
5353
ImportStateVerifyIgnore: []string{"cluster", "password", "password", "user_id"},
5454
},
55+
{
56+
ResourceName: "google_alloydb_user.user1",
57+
RefreshState: true,
58+
ExpectNonEmptyPlan: true,
59+
ImportStateKind: resource.ImportBlockWithResourceIdentity,
60+
},
5561
},
5662
})
5763
}

google-beta/services/apigateway/resource_api_gateway_api_config_generated_test.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,12 @@ func TestAccApiGatewayApiConfig_apigatewayApiConfigBasicExample(t *testing.T) {
5151
ImportStateVerify: true,
5252
ImportStateVerifyIgnore: []string{"api", "api_config_id", "gateway_config", "grpc_services", "labels", "terraform_labels"},
5353
},
54+
{
55+
ResourceName: "google_api_gateway_api_config.api_cfg",
56+
RefreshState: true,
57+
ExpectNonEmptyPlan: true,
58+
ImportStateKind: resource.ImportBlockWithResourceIdentity,
59+
},
5460
},
5561
})
5662
}

google-beta/services/apigateway/resource_api_gateway_api_generated_test.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,12 @@ func TestAccApiGatewayApi_apigatewayApiBasicExample(t *testing.T) {
5151
ImportStateVerify: true,
5252
ImportStateVerifyIgnore: []string{"api_id", "labels", "terraform_labels"},
5353
},
54+
{
55+
ResourceName: "google_api_gateway_api.api",
56+
RefreshState: true,
57+
ExpectNonEmptyPlan: true,
58+
ImportStateKind: resource.ImportBlockWithResourceIdentity,
59+
},
5460
},
5561
})
5662
}

google-beta/services/apigateway/resource_api_gateway_gateway_generated_test.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,12 @@ func TestAccApiGatewayGateway_apigatewayGatewayBasicExample(t *testing.T) {
5151
ImportStateVerify: true,
5252
ImportStateVerifyIgnore: []string{"gateway_id", "labels", "region", "terraform_labels"},
5353
},
54+
{
55+
ResourceName: "google_api_gateway_gateway.api_gw",
56+
RefreshState: true,
57+
ExpectNonEmptyPlan: true,
58+
ImportStateKind: resource.ImportBlockWithResourceIdentity,
59+
},
5460
},
5561
})
5662
}

google-beta/services/apigee/resource_apigee_addons_config_generated_test.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,12 @@ func TestAccApigeeAddonsConfig_apigeeAddonsTestExample(t *testing.T) {
5454
ImportStateVerify: true,
5555
ImportStateVerifyIgnore: []string{"org"},
5656
},
57+
{
58+
ResourceName: "google_apigee_addons_config.apigee_org_addons",
59+
RefreshState: true,
60+
ExpectNonEmptyPlan: true,
61+
ImportStateKind: resource.ImportBlockWithResourceIdentity,
62+
},
5763
},
5864
})
5965
}

google-beta/services/apigee/resource_apigee_api_product_generated_test.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,12 @@ func TestAccApigeeApiProduct_apigeeApiProductBasicTestExample(t *testing.T) {
5757
ImportStateVerify: true,
5858
ImportStateVerifyIgnore: []string{"org_id"},
5959
},
60+
{
61+
ResourceName: "google_apigee_api_product.apigee_api_product",
62+
RefreshState: true,
63+
ExpectNonEmptyPlan: true,
64+
ImportStateKind: resource.ImportBlockWithResourceIdentity,
65+
},
6066
},
6167
})
6268
}

google-beta/services/apigee/resource_apigee_app_group_generated_test.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,12 @@ func TestAccApigeeAppGroup_apigeeAppGroupBasicTestExample(t *testing.T) {
5858
ImportStateVerify: true,
5959
ImportStateVerifyIgnore: []string{"org_id"},
6060
},
61+
{
62+
ResourceName: "google_apigee_app_group.apigee_app_group",
63+
RefreshState: true,
64+
ExpectNonEmptyPlan: true,
65+
ImportStateKind: resource.ImportBlockWithResourceIdentity,
66+
},
6167
},
6268
})
6369
}

0 commit comments

Comments
 (0)