feat(bigqueryconnection): add configuration block to google_bigquery_connection#1291
Merged
Conversation
…ry_connection` (#17083) [upstream:c80771e52b89d87a802f3c507b836a0d1614e7b3] Signed-off-by: Modular Magician <magic-modules@google.com>
75ce06b
into
terraform-google-modules:master
2 checks passed
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR adds support for the
configurationblock (ConnectorConfiguration) to thegoogle_bigquery_connectionresource. This enables users to create BigQuery connections using the new Connector framework, which supports AlloyDB, Cloud SQL (MySQL/PostgreSQL), and other connector types.Background
The BigQuery Connection API v1 supports AlloyDB connections via the
ConnectorConfigurationframework (withconnector_id: "google-alloydb"), which is a fully typed schema in the Discovery API. However, the Terraform provider currently only supports the legacy connection types (cloud_sql,aws,azure,cloud_spanner,cloud_resource,spark) and does not support the newerconfigurationfield.Changes
configurationblock togoogle_bigquery_connectionresource inConnection.yamlconnector_id(required, immutable) - e.g.,google-alloydbendpoint- host/port configurationauthentication- username/password or service accountnetwork- Private Service Connect configurationasset(required) - database and Google Cloud resource referenceconfigurationtoexactly_one_ofconstraint for all existing connection typesconfigurationblockExample Usage
Release Note
Fixes: hashicorp/terraform-provider-google#18663
Derived from GoogleCloudPlatform/magic-modules#17083