-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add connection resource of Integration Connectors. #9328
Conversation
Hello! I am a robot. It looks like you are a: @shuyama1, a repository maintainer, has been assigned to review your changes. If you have not received review feedback within 2 business days, please leave a comment on this PR asking them to take a look. You can help make sure that review is quick by doing a self-review and by running impacted tests locally. |
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are. Terraform GA: Diff ( 13 files changed, 7450 insertions(+), 2 deletions(-)) Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_integration_connectors_connection" "primary" {
auth_config {
additional_variable {
boolean_value = # value needed
encryption_key_value {
kms_key_name = # value needed
type = # value needed
}
integer_value = # value needed
key = # value needed
secret_value {
secret_version = # value needed
}
string_value = # value needed
}
auth_key = # value needed
auth_type = # value needed
oauth2_auth_code_flow {
auth_code = # value needed
auth_uri = # value needed
client_id = # value needed
client_secret {
secret_version = # value needed
}
enable_pkce = # value needed
pkce_verifier = # value needed
redirect_uri = # value needed
scopes = # value needed
}
oauth2_client_credentials {
client_id = # value needed
client_secret {
secret_version = # value needed
}
}
oauth2_jwt_bearer {
client_key {
secret_version = # value needed
}
jwt_claims {
audience = # value needed
issuer = # value needed
subject = # value needed
}
}
ssh_public_key {
cert_type = # value needed
ssh_client_cert {
secret_version = # value needed
}
ssh_client_cert_pass {
secret_version = # value needed
}
username = # value needed
}
user_password {
password {
secret_version = # value needed
}
username = # value needed
}
}
config_variable {
boolean_value = # value needed
encryption_key_value {
kms_key_name = # value needed
type = # value needed
}
integer_value = # value needed
key = # value needed
secret_value {
secret_version = # value needed
}
string_value = # value needed
}
connector_version = # value needed
description = # value needed
destination_config {
destination {
host = # value needed
port = # value needed
service_attachment = # value needed
}
key = # value needed
}
eventing_config {
additional_variable {
boolean_value = # value needed
encryption_key_value {
kms_key_name = # value needed
type = # value needed
}
integer_value = # value needed
key = # value needed
secret_value {
secret_version = # value needed
}
string_value = # value needed
}
auth_config {
additional_variable {
boolean_value = # value needed
encryption_key_value {
kms_key_name = # value needed
type = # value needed
}
integer_value = # value needed
key = # value needed
secret_value {
secret_version = # value needed
}
string_value = # value needed
}
auth_key = # value needed
auth_type = # value needed
oauth2_auth_code_flow {
auth_code = # value needed
auth_uri = # value needed
client_id = # value needed
client_secret {
secret_version = # value needed
}
enable_pkce = # value needed
pkce_verifier = # value needed
redirect_uri = # value needed
scopes = # value needed
}
oauth2_client_credentials {
client_id = # value needed
client_secret {
secret_version = # value needed
}
}
oauth2_jwt_bearer {
client_key {
secret_version = # value needed
}
jwt_claims {
audience = # value needed
issuer = # value needed
subject = # value needed
}
}
ssh_public_key {
cert_type = # value needed
ssh_client_cert {
secret_version = # value needed
}
ssh_client_cert_pass {
secret_version = # value needed
}
username = # value needed
}
user_password {
password {
secret_version = # value needed
}
username = # value needed
}
}
encryption_key {
boolean_value = # value needed
encryption_key_value {
kms_key_name = # value needed
type = # value needed
}
integer_value = # value needed
key = # value needed
secret_value {
secret_version = # value needed
}
string_value = # value needed
}
enrichment_enabled = # value needed
registration_destination_config {
destinations {
host = # value needed
port = # value needed
service_attachment = # value needed
}
key = # value needed
}
}
eventing_enablement_type = # value needed
labels = # value needed
location = # value needed
lock_config {
locked = # value needed
reason = # value needed
}
log_config {
enabled = # value needed
}
name = # value needed
node_config {
max_node_count = # value needed
min_node_count = # value needed
}
service_account = # value needed
ssl_config {
additional_variable {
boolean_value = # value needed
encryption_key_value {
kms_key_name = # value needed
type = # value needed
}
integer_value = # value needed
key = # value needed
secret_value {
secret_version = # value needed
}
string_value = # value needed
}
client_cert_type = # value needed
client_certificate {
secret_version = # value needed
}
client_private_key {
secret_version = # value needed
}
client_private_key_pass {
secret_version = # value needed
}
private_server_certificate {
secret_version = # value needed
}
server_cert_type = # value needed
trust_model = # value needed
type = # value needed
use_ssl = # value needed
}
suspended = # value needed
}
|
Tests analyticsTotal tests: Action takenFound 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected testsTestAccIntegrationConnectorsConnection_integrationConnectorsConnectionBasicExample |
|
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are. Terraform GA: Diff ( 12 files changed, 7566 insertions(+), 2 deletions(-)) Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_integration_connectors_connection" "primary" {
auth_config {
additional_variable {
boolean_value = # value needed
encryption_key_value {
kms_key_name = # value needed
type = # value needed
}
integer_value = # value needed
key = # value needed
secret_value {
secret_version = # value needed
}
string_value = # value needed
}
auth_key = # value needed
oauth2_auth_code_flow {
auth_code = # value needed
auth_uri = # value needed
client_id = # value needed
client_secret {
secret_version = # value needed
}
enable_pkce = # value needed
pkce_verifier = # value needed
redirect_uri = # value needed
scopes = # value needed
}
oauth2_client_credentials {
client_id = # value needed
client_secret {
secret_version = # value needed
}
}
oauth2_jwt_bearer {
client_key {
secret_version = # value needed
}
jwt_claims {
audience = # value needed
issuer = # value needed
subject = # value needed
}
}
ssh_public_key {
cert_type = # value needed
ssh_client_cert {
secret_version = # value needed
}
ssh_client_cert_pass {
secret_version = # value needed
}
username = # value needed
}
}
config_variable {
encryption_key_value {
kms_key_name = # value needed
type = # value needed
}
integer_value = # value needed
secret_value {
secret_version = # value needed
}
string_value = # value needed
}
destination_config {
destination {
port = # value needed
service_attachment = # value needed
}
}
eventing_config {
additional_variable {
boolean_value = # value needed
encryption_key_value {
kms_key_name = # value needed
type = # value needed
}
integer_value = # value needed
key = # value needed
secret_value {
secret_version = # value needed
}
string_value = # value needed
}
auth_config {
additional_variable {
boolean_value = # value needed
encryption_key_value {
kms_key_name = # value needed
type = # value needed
}
integer_value = # value needed
key = # value needed
secret_value {
secret_version = # value needed
}
string_value = # value needed
}
auth_key = # value needed
oauth2_auth_code_flow {
auth_code = # value needed
auth_uri = # value needed
client_id = # value needed
client_secret {
secret_version = # value needed
}
enable_pkce = # value needed
pkce_verifier = # value needed
redirect_uri = # value needed
scopes = # value needed
}
oauth2_client_credentials {
client_id = # value needed
client_secret {
secret_version = # value needed
}
}
oauth2_jwt_bearer {
client_key {
secret_version = # value needed
}
jwt_claims {
audience = # value needed
issuer = # value needed
subject = # value needed
}
}
ssh_public_key {
cert_type = # value needed
ssh_client_cert {
secret_version = # value needed
}
ssh_client_cert_pass {
secret_version = # value needed
}
username = # value needed
}
}
encryption_key {
boolean_value = # value needed
encryption_key_value {
kms_key_name = # value needed
type = # value needed
}
integer_value = # value needed
key = # value needed
secret_value {
secret_version = # value needed
}
string_value = # value needed
}
registration_destination_config {
destinations {
port = # value needed
service_attachment = # value needed
}
}
}
labels = # value needed
lock_config {
locked = # value needed
reason = # value needed
}
log_config {
enabled = # value needed
}
node_config {
max_node_count = # value needed
min_node_count = # value needed
}
ssl_config {
additional_variable {
boolean_value = # value needed
encryption_key_value {
kms_key_name = # value needed
type = # value needed
}
integer_value = # value needed
key = # value needed
secret_value {
secret_version = # value needed
}
string_value = # value needed
}
client_cert_type = # value needed
client_certificate {
secret_version = # value needed
}
client_private_key {
secret_version = # value needed
}
client_private_key_pass {
secret_version = # value needed
}
private_server_certificate {
secret_version = # value needed
}
server_cert_type = # value needed
trust_model = # value needed
type = # value needed
use_ssl = # value needed
}
}
|
Tests analyticsTotal tests: Action takenFound 3 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected testsTestAccDataprocClusterIamPolicy|TestAccIntegrationConnectorsConnection_integrationConnectorsConnectionAdvancedExample|TestAccIntegrationConnectorsConnection_integrationConnectorsConnectionBasicExample |
Rerun these tests in REPLAYING mode to catch issues
|
Drive-by comment: This product should likely be called |
Based on the discussion with @balanaguharsha offline, they're undergoing a rebranding now and |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
only went through the first half of the resource and will continue with the rest later.
Please also modify the test as we discussed offline - we'll need to use our testing project instead of other locally created projects by accessing it using the datasource and create any dependency resources in the test itself. Please let me if you have any questions.
I've notice most of the fields are not marked as immutable
which means they are updatable? If so, we'll need to add update tests as well. See instructions at https://googlecloudplatform.github.io/magic-modules/develop/test/#add-an-update-test
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are. Terraform GA: Diff ( 12 files changed, 7617 insertions(+), 2 deletions(-)) Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_integration_connectors_connection" "primary" {
auth_config {
additional_variable {
boolean_value = # value needed
encryption_key_value {
kms_key_name = # value needed
type = # value needed
}
integer_value = # value needed
key = # value needed
secret_value {
secret_version = # value needed
}
string_value = # value needed
}
auth_key = # value needed
oauth2_auth_code_flow {
auth_code = # value needed
auth_uri = # value needed
client_id = # value needed
client_secret {
secret_version = # value needed
}
enable_pkce = # value needed
pkce_verifier = # value needed
redirect_uri = # value needed
scopes = # value needed
}
oauth2_client_credentials {
client_id = # value needed
client_secret {
secret_version = # value needed
}
}
oauth2_jwt_bearer {
client_key {
secret_version = # value needed
}
jwt_claims {
audience = # value needed
issuer = # value needed
subject = # value needed
}
}
ssh_public_key {
cert_type = # value needed
ssh_client_cert {
secret_version = # value needed
}
ssh_client_cert_pass {
secret_version = # value needed
}
username = # value needed
}
}
config_variable {
encryption_key_value {
kms_key_name = # value needed
type = # value needed
}
secret_value {
secret_version = # value needed
}
}
destination_config {
destination {
port = # value needed
service_attachment = # value needed
}
}
eventing_config {
additional_variable {
boolean_value = # value needed
encryption_key_value {
kms_key_name = # value needed
type = # value needed
}
integer_value = # value needed
key = # value needed
secret_value {
secret_version = # value needed
}
string_value = # value needed
}
auth_config {
additional_variable {
boolean_value = # value needed
encryption_key_value {
kms_key_name = # value needed
type = # value needed
}
integer_value = # value needed
key = # value needed
secret_value {
secret_version = # value needed
}
string_value = # value needed
}
auth_key = # value needed
oauth2_auth_code_flow {
auth_code = # value needed
auth_uri = # value needed
client_id = # value needed
client_secret {
secret_version = # value needed
}
enable_pkce = # value needed
pkce_verifier = # value needed
redirect_uri = # value needed
scopes = # value needed
}
oauth2_client_credentials {
client_id = # value needed
client_secret {
secret_version = # value needed
}
}
oauth2_jwt_bearer {
client_key {
secret_version = # value needed
}
jwt_claims {
audience = # value needed
issuer = # value needed
subject = # value needed
}
}
ssh_public_key {
cert_type = # value needed
ssh_client_cert {
secret_version = # value needed
}
ssh_client_cert_pass {
secret_version = # value needed
}
username = # value needed
}
}
encryption_key {
boolean_value = # value needed
encryption_key_value {
kms_key_name = # value needed
type = # value needed
}
integer_value = # value needed
key = # value needed
secret_value {
secret_version = # value needed
}
string_value = # value needed
}
registration_destination_config {
destinations {
port = # value needed
service_attachment = # value needed
}
}
}
labels = # value needed
location = # value needed
lock_config {
locked = # value needed
reason = # value needed
}
log_config {
enabled = # value needed
}
node_config {
max_node_count = # value needed
min_node_count = # value needed
}
ssl_config {
additional_variable {
boolean_value = # value needed
encryption_key_value {
kms_key_name = # value needed
type = # value needed
}
integer_value = # value needed
key = # value needed
secret_value {
secret_version = # value needed
}
string_value = # value needed
}
client_cert_type = # value needed
client_certificate {
secret_version = # value needed
}
client_private_key {
secret_version = # value needed
}
client_private_key_pass {
secret_version = # value needed
}
private_server_certificate {
secret_version = # value needed
}
server_cert_type = # value needed
trust_model = # value needed
type = # value needed
use_ssl = # value needed
}
}
|
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are. Terraform GA: Diff ( 12 files changed, 7617 insertions(+), 2 deletions(-)) Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_integration_connectors_connection" "primary" {
auth_config {
additional_variable {
boolean_value = # value needed
encryption_key_value {
kms_key_name = # value needed
type = # value needed
}
integer_value = # value needed
key = # value needed
secret_value {
secret_version = # value needed
}
string_value = # value needed
}
auth_key = # value needed
oauth2_auth_code_flow {
auth_code = # value needed
auth_uri = # value needed
client_id = # value needed
client_secret {
secret_version = # value needed
}
enable_pkce = # value needed
pkce_verifier = # value needed
redirect_uri = # value needed
scopes = # value needed
}
oauth2_client_credentials {
client_id = # value needed
client_secret {
secret_version = # value needed
}
}
oauth2_jwt_bearer {
client_key {
secret_version = # value needed
}
jwt_claims {
audience = # value needed
issuer = # value needed
subject = # value needed
}
}
ssh_public_key {
cert_type = # value needed
ssh_client_cert {
secret_version = # value needed
}
ssh_client_cert_pass {
secret_version = # value needed
}
username = # value needed
}
}
config_variable {
encryption_key_value {
kms_key_name = # value needed
type = # value needed
}
secret_value {
secret_version = # value needed
}
}
destination_config {
destination {
port = # value needed
service_attachment = # value needed
}
}
eventing_config {
additional_variable {
boolean_value = # value needed
encryption_key_value {
kms_key_name = # value needed
type = # value needed
}
integer_value = # value needed
key = # value needed
secret_value {
secret_version = # value needed
}
string_value = # value needed
}
auth_config {
additional_variable {
boolean_value = # value needed
encryption_key_value {
kms_key_name = # value needed
type = # value needed
}
integer_value = # value needed
key = # value needed
secret_value {
secret_version = # value needed
}
string_value = # value needed
}
auth_key = # value needed
oauth2_auth_code_flow {
auth_code = # value needed
auth_uri = # value needed
client_id = # value needed
client_secret {
secret_version = # value needed
}
enable_pkce = # value needed
pkce_verifier = # value needed
redirect_uri = # value needed
scopes = # value needed
}
oauth2_client_credentials {
client_id = # value needed
client_secret {
secret_version = # value needed
}
}
oauth2_jwt_bearer {
client_key {
secret_version = # value needed
}
jwt_claims {
audience = # value needed
issuer = # value needed
subject = # value needed
}
}
ssh_public_key {
cert_type = # value needed
ssh_client_cert {
secret_version = # value needed
}
ssh_client_cert_pass {
secret_version = # value needed
}
username = # value needed
}
}
encryption_key {
boolean_value = # value needed
encryption_key_value {
kms_key_name = # value needed
type = # value needed
}
integer_value = # value needed
key = # value needed
secret_value {
secret_version = # value needed
}
string_value = # value needed
}
registration_destination_config {
destinations {
port = # value needed
service_attachment = # value needed
}
}
}
labels = # value needed
location = # value needed
lock_config {
locked = # value needed
reason = # value needed
}
log_config {
enabled = # value needed
}
node_config {
max_node_count = # value needed
min_node_count = # value needed
}
ssl_config {
additional_variable {
boolean_value = # value needed
encryption_key_value {
kms_key_name = # value needed
type = # value needed
}
integer_value = # value needed
key = # value needed
secret_value {
secret_version = # value needed
}
string_value = # value needed
}
client_cert_type = # value needed
client_certificate {
secret_version = # value needed
}
client_private_key {
secret_version = # value needed
}
client_private_key_pass {
secret_version = # value needed
}
private_server_certificate {
secret_version = # value needed
}
server_cert_type = # value needed
trust_model = # value needed
type = # value needed
use_ssl = # value needed
}
}
|
Tests analyticsTotal tests: Action takenFound 3 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected testsTestAccDataprocClusterIamPolicy|TestAccIntegrationConnectorsConnection_integrationConnectorsConnectionAdvancedExample|TestAccIntegrationConnectorsConnection_integrationConnectorsConnectionBasicExample |
Rerun these tests in REPLAYING mode to catch issues
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Went through the resource and left some comments.
Tests analyticsTotal tests: Action takenFound 8 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected testsTestAccIntegrationConnectorsConnection_integrationConnectorsConnectionBasicExample|TestAccIntegrationConnectorsConnection_integrationConnectorsConnectionOauthCcExample|TestAccIntegrationConnectorsConnection_integrationConnectorsConnectionAdvancedExample|TestAccIntegrationConnectorsConnection_integrationConnectorsConnectionOauthSshExample|TestAccIntegrationConnectorsConnection_integrationConnectorsConnectionOauthJwtExample|TestAccIntegrationConnectorsConnection_integrationConnectorsConnectionSaExample|TestAccIntegrationConnectorsConnection_update|TestAccIntegrationConnectorsConnection_integrationConnectorsConnectionOauthExample |
Rerun these tests in REPLAYING mode to catch issues
|
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are. Terraform GA: Diff ( 13 files changed, 8197 insertions(+), 2 deletions(-)) |
Tests analyticsTotal tests: Action takenFound 2 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected testsTestAccIntegrationConnectorsConnection_integrationConnectorsConnectionSaExample|TestAccDataSourceGoogleServiceAccountAccessToken_basic |
Rerun these tests in REPLAYING mode to catch issues
|
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are. Terraform GA: Diff ( 13 files changed, 8197 insertions(+), 2 deletions(-)) |
Tests analyticsTotal tests: Action takenFound 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected testsTestAccDataprocJobIamPolicy |
Rerun these tests in REPLAYING mode to catch issues
|
/gcbrun |
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are. Terraform GA: Diff ( 13 files changed, 8197 insertions(+), 2 deletions(-)) |
Tests analyticsTotal tests: Action takenFound 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected testsTestAccIntegrationConnectorsConnection_integrationConnectorsConnectionAdvancedExample |
Rerun these tests in REPLAYING mode to catch issues
|
mmv1/templates/terraform/constants/integration_connectors_connection.go.erb
Show resolved
Hide resolved
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are. Terraform GA: Diff ( 13 files changed, 7662 insertions(+), 2 deletions(-)) |
Tests analyticsTotal tests:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
Adding support for Connection resource of Integration connectors.
Release Note Template for Downstream PRs (will be copied)
Fixes: hashicorp/terraform-provider-google#16332