Skip to content

Commit

Permalink
Revert "Add the vertex endpoint resource. (#6583)" (#6654) (#12728)
Browse files Browse the repository at this point in the history
This reverts commit 1750a07.

Signed-off-by: Modular Magician <[email protected]>

Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored Oct 5, 2022
1 parent 6a5de4a commit 0d508ec
Show file tree
Hide file tree
Showing 9 changed files with 7 additions and 1,523 deletions.
2 changes: 2 additions & 0 deletions .changelog/6654.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
```release-note:none
```
5 changes: 2 additions & 3 deletions google/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -892,9 +892,9 @@ func Provider() *schema.Provider {
return provider
}

// Generated resources: 236
// Generated resources: 235
// Generated IAM resources: 138
// Total generated resources: 374
// Total generated resources: 373
func ResourceMap() map[string]*schema.Resource {
resourceMap, _ := ResourceMapWithErrors()
return resourceMap
Expand Down Expand Up @@ -1265,7 +1265,6 @@ func ResourceMapWithErrors() (map[string]*schema.Resource, error) {
"google_tags_tag_binding": resourceTagsTagBinding(),
"google_tpu_node": resourceTPUNode(),
"google_vertex_ai_dataset": resourceVertexAIDataset(),
"google_vertex_ai_endpoint": resourceVertexAIEndpoint(),
"google_vpc_access_connector": resourceVPCAccessConnector(),
"google_workflows_workflow": resourceWorkflowsWorkflow(),
},
Expand Down
2 changes: 1 addition & 1 deletion google/resource_vertex_ai_dataset.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func resourceVertexAIDataset() *schema.Resource {
Schema: map[string]*schema.Schema{
"kms_key_name": {
Type: schema.TypeString,
Required: true,
Optional: true,
ForceNew: true,
Description: `Required. The Cloud KMS resource identifier of the customer managed encryption key used to protect a resource.
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.`,
Expand Down
987 changes: 0 additions & 987 deletions google/resource_vertex_ai_endpoint.go

This file was deleted.

130 changes: 0 additions & 130 deletions google/resource_vertex_ai_endpoint_generated_test.go

This file was deleted.

124 changes: 0 additions & 124 deletions google/resource_vertex_ai_endpoint_sweeper_test.go

This file was deleted.

2 changes: 1 addition & 1 deletion website/docs/r/vertex_ai_dataset.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ The following arguments are supported:
<a name="nested_encryption_spec"></a>The `encryption_spec` block supports:

* `kms_key_name` -
(Required)
(Optional)
Required. The Cloud KMS resource identifier of the customer managed encryption key used to protect a resource.
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.

Expand Down
Loading

0 comments on commit 0d508ec

Please sign in to comment.