-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Promote Vertex AI FeatureStore resources (GA only) (#6565)
* feat: promote vertex ai feature store resources (ga only) * feat: deprecate the field: monitoring_interval * Revert "feat: deprecate the field: monitoring_interval" This reverts commit 89d6672. * feat: update the example to use only the GA fields * fix: diable monitoring_config.snapshot_analysis in the example * feat: promote the featurestore entity feature resource to GA * fix: add default_value to fix the unintentional diff * feat: update the link to the api doc * Revert "fix: add default_value to fix the unintentional diff" This reverts commit d3b5090. * refactor: use deprecation_message to clarify the deprecated field * feat: add a new example to test beta fields * fix: use a different resource name to run tests in parallel
- Loading branch information
Showing
7 changed files
with
92 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
mmv1/templates/terraform/examples/vertex_ai_featurestore.tf.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
...ates/terraform/examples/vertex_ai_featurestore_entitytype_feature_with_beta_fields.tf.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
resource "google_vertex_ai_featurestore" "featurestore" { | ||
provider = google-beta | ||
name = "<%= ctx[:vars]['name'] %>" | ||
labels = { | ||
foo = "bar" | ||
} | ||
region = "us-central1" | ||
online_serving_config { | ||
fixed_node_count = 2 | ||
} | ||
} | ||
|
||
resource "google_vertex_ai_featurestore_entitytype" "entity" { | ||
provider = google-beta | ||
name = "<%= ctx[:vars]['name'] %>" | ||
labels = { | ||
foo = "bar" | ||
} | ||
featurestore = google_vertex_ai_featurestore.featurestore.id | ||
monitoring_config { | ||
snapshot_analysis { | ||
disabled = false | ||
monitoring_interval = "86400s" | ||
} | ||
} | ||
} | ||
|
||
resource "google_vertex_ai_featurestore_entitytype_feature" "feature" { | ||
provider = google-beta | ||
name = "<%= ctx[:vars]['name'] %>" | ||
labels = { | ||
foo = "bar" | ||
} | ||
entitytype = google_vertex_ai_featurestore_entitytype.entity.id | ||
|
||
value_type = "INT64_ARRAY" | ||
} |
29 changes: 29 additions & 0 deletions
29
mmv1/templates/terraform/examples/vertex_ai_featurestore_entitytype_with_beta_fields.tf.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
resource "google_vertex_ai_featurestore" "featurestore" { | ||
provider = google-beta | ||
name = "<%= ctx[:vars]['name'] %>" | ||
labels = { | ||
foo = "bar" | ||
} | ||
region = "us-central1" | ||
online_serving_config { | ||
fixed_node_count = 2 | ||
} | ||
encryption_spec { | ||
kms_key_name = "<%= ctx[:vars]['kms_key_name'] %>" | ||
} | ||
} | ||
|
||
resource "google_vertex_ai_featurestore_entitytype" "entity" { | ||
provider = google-beta | ||
name = "<%= ctx[:vars]['name'] %>" | ||
labels = { | ||
foo = "bar" | ||
} | ||
featurestore = google_vertex_ai_featurestore.featurestore.id | ||
monitoring_config { | ||
snapshot_analysis { | ||
disabled = false | ||
monitoring_interval = "86400s" | ||
} | ||
} | ||
} |