Skip to content

Commit

Permalink
feat: update code based on feedback (take 2)
Browse files Browse the repository at this point in the history
  • Loading branch information
shotarok committed Dec 12, 2023
1 parent 5612b2c commit 0be77f7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions mmv1/products/vertexai/FeatureOnlineStore.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ examples:
- !ruby/object:Provider::Terraform::Examples
name: vertex_ai_feature_online_store
primary_resource_id: feature_online_store
vars:
feature_online_store_name: example_feature_online_store
parameters:
- !ruby/object:Api::Type::String
name: region
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
resource google_vertex_ai_feature_online_store "<%= ctx[:primary_resource_id] %>" {
name = "sample_feature_online_store"
name = "<%= ctx[:vars]['feature_online_store_name'] %>"
region = "us-central1"
labels = {
label-one = "value-one"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func TestAccVertexAIFeatureOnlineStore_updated(t *testing.T) {
func testAccVertexAIFeatureOnlineStore_basic(context map[string]interface{}) string {
return acctest.Nprintf(`
resource google_vertex_ai_feature_online_store "feature_online_store" {
name = "sample_feature_online_store"
name = "tf_test_feature_online_store%{random_suffix}"
region = "us-central1"
labels = {
label-one = "value-one"
Expand All @@ -65,7 +65,7 @@ resource google_vertex_ai_feature_online_store "feature_online_store" {
func testAccVertexAIFeatureOnlineStore_updated(context map[string]interface{}) string {
return acctest.Nprintf(`
resource google_vertex_ai_feature_online_store "feature_online_store" {
name = "sample_feature_online_store"
name = "tf_test_feature_online_store%{random_suffix}"
region = "us-central1"
labels = {
label-one = "value-one"
Expand Down

0 comments on commit 0be77f7

Please sign in to comment.