Skip to content

Add http_config to Developer Connect Connection#15843

Merged
melinath merged 8 commits intoGoogleCloudPlatform:mainfrom
ihnarayanan:dc-tf-update
Feb 25, 2026
Merged

Add http_config to Developer Connect Connection#15843
melinath merged 8 commits intoGoogleCloudPlatform:mainfrom
ihnarayanan:dc-tf-update

Conversation

@ihnarayanan
Copy link
Contributor

@ihnarayanan ihnarayanan commented Dec 1, 2025

fixes hashicorp/terraform-provider-google#25352

developerconnect: added `http_config` field to `google_developer_connect_connection` resource

@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 5 files changed, 666 insertions(+))
google-beta provider: Diff ( 5 files changed, 666 insertions(+))
terraform-google-conversion: Diff ( 1 file changed, 153 insertions(+))
Open in Cloud Shell: Diff ( 8 files changed, 227 insertions(+))

Missing test report

Your PR includes resource fields which are not covered by any test.

Resource: google_developer_connect_connection (34 total tests)
Please add an acceptance test which includes these fields. The test should include the following:

resource "google_developer_connect_connection" "primary" {
  http_config {
    service_directory_config {
      service = # value needed
    }
    ssl_ca_certificate = # value needed
  }
}

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 37
Passed tests: 31
Skipped tests: 2
Affected tests: 4

Click here to see the affected service packages
  • developerconnect

Action taken

Found 4 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccDeveloperConnectConnection_developerConnectConnectionHttpBasicConfigUpdate
  • TestAccDeveloperConnectConnection_developerConnectConnectionHttpBearerConfigUpdate
  • TestAccDeveloperConnectConnection_developerConnectConnectionHttpConnBasicExample
  • TestAccDeveloperConnectConnection_developerConnectConnectionHttpConnBearerExample

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

🔴 Tests failed during RECORDING mode:
TestAccDeveloperConnectConnection_developerConnectConnectionHttpBasicConfigUpdate [Error message] [Debug log]
TestAccDeveloperConnectConnection_developerConnectConnectionHttpBearerConfigUpdate [Error message] [Debug log]
TestAccDeveloperConnectConnection_developerConnectConnectionHttpConnBasicExample [Error message] [Debug log]
TestAccDeveloperConnectConnection_developerConnectConnectionHttpConnBearerExample [Error message] [Debug log]

🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR.

View the build log or the debug log for each test

@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 5 files changed, 666 insertions(+))
google-beta provider: Diff ( 5 files changed, 666 insertions(+))
terraform-google-conversion: Diff ( 1 file changed, 153 insertions(+))
Open in Cloud Shell: Diff ( 8 files changed, 227 insertions(+))

Missing test report

Your PR includes resource fields which are not covered by any test.

Resource: google_developer_connect_connection (34 total tests)
Please add an acceptance test which includes these fields. The test should include the following:

resource "google_developer_connect_connection" "primary" {
  http_config {
    service_directory_config {
      service = # value needed
    }
    ssl_ca_certificate = # value needed
  }
}

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 37
Passed tests: 31
Skipped tests: 2
Affected tests: 4

Click here to see the affected service packages
  • developerconnect

Action taken

Found 4 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccDeveloperConnectConnection_developerConnectConnectionHttpBasicConfigUpdate
  • TestAccDeveloperConnectConnection_developerConnectConnectionHttpBearerConfigUpdate
  • TestAccDeveloperConnectConnection_developerConnectConnectionHttpConnBasicExample
  • TestAccDeveloperConnectConnection_developerConnectConnectionHttpConnBearerExample

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

🔴 Tests failed during RECORDING mode:
TestAccDeveloperConnectConnection_developerConnectConnectionHttpBasicConfigUpdate [Error message] [Debug log]
TestAccDeveloperConnectConnection_developerConnectConnectionHttpBearerConfigUpdate [Error message] [Debug log]
TestAccDeveloperConnectConnection_developerConnectConnectionHttpConnBasicExample [Error message] [Debug log]
TestAccDeveloperConnectConnection_developerConnectConnectionHttpConnBearerExample [Error message] [Debug log]

🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR.

View the build log or the debug log for each test

@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 5 files changed, 716 insertions(+))
google-beta provider: Diff ( 5 files changed, 716 insertions(+))
terraform-google-conversion: Diff ( 1 file changed, 153 insertions(+))
Open in Cloud Shell: Diff ( 8 files changed, 227 insertions(+))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 38
Passed tests: 31
Skipped tests: 2
Affected tests: 5

Click here to see the affected service packages
  • developerconnect

Action taken

Found 5 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccDeveloperConnectConnection_HttpConfigPrivConnection
  • TestAccDeveloperConnectConnection_developerConnectConnectionHttpBasicConfigUpdate
  • TestAccDeveloperConnectConnection_developerConnectConnectionHttpBearerConfigUpdate
  • TestAccDeveloperConnectConnection_developerConnectConnectionHttpConnBasicExample
  • TestAccDeveloperConnectConnection_developerConnectConnectionHttpConnBearerExample

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

🔴 Tests failed during RECORDING mode:
TestAccDeveloperConnectConnection_HttpConfigPrivConnection [Error message] [Debug log]
TestAccDeveloperConnectConnection_developerConnectConnectionHttpBasicConfigUpdate [Error message] [Debug log]
TestAccDeveloperConnectConnection_developerConnectConnectionHttpBearerConfigUpdate [Error message] [Debug log]
TestAccDeveloperConnectConnection_developerConnectConnectionHttpConnBasicExample [Error message] [Debug log]
TestAccDeveloperConnectConnection_developerConnectConnectionHttpConnBearerExample [Error message] [Debug log]

🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR.

View the build log or the debug log for each test

@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 5 files changed, 716 insertions(+))
google-beta provider: Diff ( 5 files changed, 716 insertions(+))
terraform-google-conversion: Diff ( 5 files changed, 507 insertions(+))
Open in Cloud Shell: Diff ( 8 files changed, 227 insertions(+))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 39
Passed tests: 31
Skipped tests: 3
Affected tests: 5

Click here to see the affected service packages
  • developerconnect

Action taken

Found 5 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccDeveloperConnectConnection_HttpConfigPrivConnection
  • TestAccDeveloperConnectConnection_developerConnectConnectionHttpBasicConfigUpdate
  • TestAccDeveloperConnectConnection_developerConnectConnectionHttpBearerConfigUpdate
  • TestAccDeveloperConnectConnection_developerConnectConnectionHttpConnBasicExample
  • TestAccDeveloperConnectConnection_developerConnectConnectionHttpConnBearerExample

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

🟢 Tests passed during RECORDING mode:
TestAccDeveloperConnectConnection_HttpConfigPrivConnection [Debug log]
TestAccDeveloperConnectConnection_developerConnectConnectionHttpBearerConfigUpdate [Debug log]
TestAccDeveloperConnectConnection_developerConnectConnectionHttpConnBasicExample [Debug log]
TestAccDeveloperConnectConnection_developerConnectConnectionHttpConnBearerExample [Debug log]

🟢 No issues found for passed tests after REPLAYING rerun.


🔴 Tests failed during RECORDING mode:
TestAccDeveloperConnectConnection_developerConnectConnectionHttpBasicConfigUpdate [Error message] [Debug log]

🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR.

View the build log or the debug log for each test

@ihnarayanan ihnarayanan reopened this Feb 23, 2026
@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 5 files changed, 716 insertions(+))
google-beta provider: Diff ( 5 files changed, 716 insertions(+))
terraform-google-conversion: Diff ( 5 files changed, 507 insertions(+))
Open in Cloud Shell: Diff ( 8 files changed, 227 insertions(+))

@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 5 files changed, 716 insertions(+))
google-beta provider: Diff ( 5 files changed, 716 insertions(+))
terraform-google-conversion: Diff ( 5 files changed, 507 insertions(+))
Open in Cloud Shell: Diff ( 8 files changed, 227 insertions(+))

@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 5 files changed, 716 insertions(+))
google-beta provider: Diff ( 5 files changed, 716 insertions(+))
terraform-google-conversion: Diff ( 5 files changed, 507 insertions(+))
Open in Cloud Shell: Diff ( 8 files changed, 227 insertions(+))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 39
Passed tests: 35
Skipped tests: 3
Affected tests: 1

Click here to see the affected service packages
  • developerconnect

Action taken

Found 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccDeveloperConnectConnection_developerConnectConnectionHttpBasicConfigUpdate

Get to know how VCR tests work

1 similar comment
@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 39
Passed tests: 35
Skipped tests: 3
Affected tests: 1

Click here to see the affected service packages
  • developerconnect

Action taken

Found 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccDeveloperConnectConnection_developerConnectConnectionHttpBasicConfigUpdate

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

🟢 Tests passed during RECORDING mode:
TestAccDeveloperConnectConnection_developerConnectConnectionHttpBasicConfigUpdate [Debug log]

🟢 No issues found for passed tests after REPLAYING rerun.


🟢 All tests passed!

View the build log or the debug log for each test

@modular-magician
Copy link
Collaborator

🟢 Tests passed during RECORDING mode:
TestAccDeveloperConnectConnection_developerConnectConnectionHttpBasicConfigUpdate [Debug log]

🟢 No issues found for passed tests after REPLAYING rerun.


🟢 All tests passed!

View the build log or the debug log for each test

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 39
Passed tests: 36
Skipped tests: 3
Affected tests: 0

Click here to see the affected service packages
  • developerconnect

🟢 All tests passed!

View the build log

triggering test cases
@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 5 files changed, 716 insertions(+))
google-beta provider: Diff ( 5 files changed, 716 insertions(+))
terraform-google-conversion: Diff ( 5 files changed, 507 insertions(+))
Open in Cloud Shell: Diff ( 8 files changed, 227 insertions(+))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 39
Passed tests: 36
Skipped tests: 3
Affected tests: 0

Click here to see the affected service packages
  • developerconnect

🟢 All tests passed!

View the build log

Remove unnecessary newline
@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 5 files changed, 716 insertions(+))
google-beta provider: Diff ( 5 files changed, 716 insertions(+))
terraform-google-conversion: Diff ( 5 files changed, 507 insertions(+))
Open in Cloud Shell: Diff ( 8 files changed, 227 insertions(+))

@ihnarayanan ihnarayanan marked this pull request as ready for review February 23, 2026 23:43
@github-actions github-actions bot requested a review from melinath February 23, 2026 23:44
@github-actions
Copy link

Googlers: For automatic test runs see go/terraform-auto-test-runs.

@melinath, 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.

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 39
Passed tests: 36
Skipped tests: 3
Affected tests: 0

Click here to see the affected service packages
  • developerconnect

🟢 All tests passed!

View the build log

@ihnarayanan
Copy link
Contributor Author

@melinath Do you know why terraform-google-conversion-test-integration is failing? If you click the link, all the test cases pass.

@melinath
Copy link
Member

melinath commented Feb 24, 2026

The TGC integration tests are too long so they get truncated; you can click "view raw" to see the full output. However, the error in this case seems to be unrelated to your PR:

TestAccNetworkSecuritySecurityProfile_networkSecuritySecurityProfileBrokerExample_step1: missing fields in resource google_network_security_security_profile.default after cai2hcl conversion:
"tgc-test-integration": [custom_mirroring_profile.mirroring_deployment_groups]

It looks like this field was just added recently (hashicorp/terraform-provider-google#26137) so maybe it was just a timing problem. We should be good to just ignore that failure.

@melinath
Copy link
Member

removed (ga) from the release note since this is being added to both google and google-beta.

Copy link
Member

@melinath melinath left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems straightforward; has tests. LGTM.

primary_resource_id: 'my-connection'
primary_resource_name: 'fmt.Sprintf("tf-test-connection%s", context["random_suffix"])'
vars:
connection_name: 'tf-test-connection'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a little odd because it results in tests using names like tf-test-tf-test-connection and docs using names like tf-test-connection, but it's consistent with the other examples here so... not blocking on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for HTTP Connections for google_developer_connect_connection

3 participants