Skip to content

Commit 63d7d74

Browse files
Revert "Add the vertex endpoint resource. (#6583)" (#6654) (#4756)
This reverts commit 1750a0751ae82d73ea1c63d32d7a163c25efb227. Signed-off-by: Modular Magician <[email protected]> Signed-off-by: Modular Magician <[email protected]>
1 parent 0689f98 commit 63d7d74

10 files changed

+8
-1524
lines changed

.changelog/6654.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
```release-note:none
2+
```

google-beta/provider.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -972,9 +972,9 @@ func Provider() *schema.Provider {
972972
return provider
973973
}
974974

975-
// Generated resources: 268
975+
// Generated resources: 267
976976
// Generated IAM resources: 174
977-
// Total generated resources: 442
977+
// Total generated resources: 441
978978
func ResourceMap() map[string]*schema.Resource {
979979
resourceMap, _ := ResourceMapWithErrors()
980980
return resourceMap
@@ -1418,7 +1418,6 @@ func ResourceMapWithErrors() (map[string]*schema.Resource, error) {
14181418
"google_tags_tag_binding": resourceTagsTagBinding(),
14191419
"google_tpu_node": resourceTPUNode(),
14201420
"google_vertex_ai_dataset": resourceVertexAIDataset(),
1421-
"google_vertex_ai_endpoint": resourceVertexAIEndpoint(),
14221421
"google_vertex_ai_featurestore": resourceVertexAIFeaturestore(),
14231422
"google_vertex_ai_featurestore_entitytype": resourceVertexAIFeaturestoreEntitytype(),
14241423
"google_vertex_ai_featurestore_entitytype_feature": resourceVertexAIFeaturestoreEntitytypeFeature(),

google-beta/resource_vertex_ai_dataset.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ func resourceVertexAIDataset() *schema.Resource {
5959
Schema: map[string]*schema.Schema{
6060
"kms_key_name": {
6161
Type: schema.TypeString,
62-
Required: true,
62+
Optional: true,
6363
ForceNew: true,
6464
Description: `Required. The Cloud KMS resource identifier of the customer managed encryption key used to protect a resource.
6565
Has the form: projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key. The key needs to be in the same region as where the resource is created.`,

google-beta/resource_vertex_ai_endpoint.go

Lines changed: 0 additions & 987 deletions
This file was deleted.

google-beta/resource_vertex_ai_endpoint_generated_test.go

Lines changed: 0 additions & 130 deletions
This file was deleted.

google-beta/resource_vertex_ai_endpoint_sweeper_test.go

Lines changed: 0 additions & 124 deletions
This file was deleted.

google-beta/resource_vertex_ai_metadata_store.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ func resourceVertexAIMetadataStore() *schema.Resource {
5555
Schema: map[string]*schema.Schema{
5656
"kms_key_name": {
5757
Type: schema.TypeString,
58-
Required: true,
58+
Optional: true,
5959
ForceNew: true,
6060
Description: `Required. The Cloud KMS resource identifier of the customer managed encryption key used to protect a resource.
6161
Has the form: projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key. The key needs to be in the same region as where the resource is created.`,

website/docs/r/vertex_ai_dataset.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ The following arguments are supported:
8282
<a name="nested_encryption_spec"></a>The `encryption_spec` block supports:
8383

8484
* `kms_key_name` -
85-
(Required)
85+
(Optional)
8686
Required. The Cloud KMS resource identifier of the customer managed encryption key used to protect a resource.
8787
Has the form: projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key. The key needs to be in the same region as where the resource is created.
8888

0 commit comments

Comments
 (0)