Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
DrFaust92 committed Dec 31, 2022
1 parent ed633ca commit 4341bab
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
8 changes: 8 additions & 0 deletions mmv1/products/bigqueryconnection/terraform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,14 @@ overrides: !ruby/object:Overrides::ResourceOverrides
vars:
connection_id: "my-connection"
database: "projects/project/instances/instance/databases/database"
- !ruby/object:Provider::Terraform::Examples
name: "bigquery_connection_cloudspanner_analytics"
pull_external: true
skip_docs: true
primary_resource_id: "connection"
vars:
connection_id: "my-connection"
database: "projects/project/instances/instance/databases/database"
# This is for copying files over
files: !ruby/object:Provider::Config::Files
# These files have templating (ERB) code that will be run.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
resource "google_bigquery_connection" "<%= ctx[:primary_resource_id] %>" {
connection_id = "<%= ctx[:vars]['connection_id'] %>"
location = "US"
friendly_name = "👋"
description = "a riveting description"
cloud_spanner {
database = "<%= ctx[:vars]['database'] %>"
use_serverless_analytics = true
use_parallelism = true
}
}

0 comments on commit 4341bab

Please sign in to comment.