Skip to content
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 deletion_protection to v2 cloud run service resource #11318

Conversation

avianap
Copy link
Member

@avianap avianap commented Jul 31, 2024

Add deletion_protection to v2 cloud run service resource
b/317099814

Release Note Template for Downstream PRs (will be copied)

cloudrunv2: added `deletion_protection` field to `google_cloudrunv2_service` to make deleting them require an explicit intent. `google_cloudrunv2_service` resources now cannot be destroyed unless `deletion_protection = false` is set for the 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 ( 7 files changed, 85 insertions(+), 303 deletions(-))
google-beta provider: Diff ( 7 files changed, 85 insertions(+), 303 deletions(-))

Missing test report

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

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

resource "google_cloud_run_v2_job" "primary" {
  deletion_protection = # value needed
}

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

resource "google_cloud_run_v2_service" "primary" {
  deletion_protection = # value needed
}

@modular-magician modular-magician requested a review from zhruan July 31, 2024 21:31
@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 43
Passed tests: 0
Skipped tests: 0
Affected tests: 43

Click here to see the affected service packages
  • cloudrunv2

Action taken

Found 43 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccCloudRunV2JobIamBindingGenerated
  • TestAccCloudRunV2JobIamMemberGenerated
  • TestAccCloudRunV2JobIamPolicyGenerated
  • TestAccCloudRunV2Job_cloudrunv2JobBasicExample
  • TestAccCloudRunV2Job_cloudrunv2JobDirectvpcExample
  • TestAccCloudRunV2Job_cloudrunv2JobEmptydirExample
  • TestAccCloudRunV2Job_cloudrunv2JobFullUpdate
  • TestAccCloudRunV2Job_cloudrunv2JobLimitsExample
  • TestAccCloudRunV2Job_cloudrunv2JobRunJobExample
  • TestAccCloudRunV2Job_cloudrunv2JobSecretExample
  • TestAccCloudRunV2Job_cloudrunv2JobSqlExample
  • TestAccCloudRunV2Job_cloudrunv2JobVpcaccessExample
  • TestAccCloudRunV2Job_cloudrunv2JobWithDirectVPCUpdate
  • TestAccCloudRunV2Job_cloudrunv2JobWithGcsUpdate
  • TestAccCloudRunV2Job_cloudrunv2JobWithNfsUpdate
  • TestAccCloudRunV2Job_cloudrunv2JobWithRunExecutionTokenUpdate
  • TestAccCloudRunV2Job_cloudrunv2JobWithStartExecutionTokenUpdate
  • TestAccCloudRunV2ServiceIamBindingGenerated
  • TestAccCloudRunV2ServiceIamMemberGenerated
  • TestAccCloudRunV2ServiceIamPolicyGenerated
  • TestAccCloudRunV2Service_cloudrunv2ServiceAttributionLabel
  • TestAccCloudRunV2Service_cloudrunv2ServiceBasicExample
  • TestAccCloudRunV2Service_cloudrunv2ServiceCustomAudienceUpdate
  • TestAccCloudRunV2Service_cloudrunv2ServiceDirectvpcExample
  • TestAccCloudRunV2Service_cloudrunv2ServiceFullUpdate
  • TestAccCloudRunV2Service_cloudrunv2ServiceGRPCProbesUpdate
  • TestAccCloudRunV2Service_cloudrunv2ServiceGcsVolume
  • TestAccCloudRunV2Service_cloudrunv2ServiceHTTPProbesUpdate
  • TestAccCloudRunV2Service_cloudrunv2ServiceLimitsExample
  • TestAccCloudRunV2Service_cloudrunv2ServiceMountGcsExample
  • TestAccCloudRunV2Service_cloudrunv2ServiceMountNfsExample
  • TestAccCloudRunV2Service_cloudrunv2ServiceMulticontainerExample
  • TestAccCloudRunV2Service_cloudrunv2ServiceProbesExample
  • TestAccCloudRunV2Service_cloudrunv2ServiceSecretExample
  • TestAccCloudRunV2Service_cloudrunv2ServiceSqlExample
  • TestAccCloudRunV2Service_cloudrunv2ServiceTCPProbesUpdate
  • TestAccCloudRunV2Service_cloudrunv2ServiceVpcaccessExample
  • TestAccCloudRunV2Service_cloudrunv2ServiceWithDirectVPCUpdate
  • TestAccCloudRunV2Service_cloudrunv2ServiceWithServiceMinInstances
  • TestAccDataSourceGoogleCloudRunV2Job_basic
  • TestAccDataSourceGoogleCloudRunV2Job_bindIAMPermission
  • TestAccDataSourceGoogleCloudRunV2Service_basic
  • TestAccDataSourceGoogleCloudRunV2Service_bindIAMPermission

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

$\textcolor{red}{\textsf{Tests failed during RECORDING mode:}}$
TestAccCloudRunV2JobIamBindingGenerated[Error message] [Debug log]
TestAccCloudRunV2JobIamMemberGenerated[Error message] [Debug log]
TestAccCloudRunV2JobIamPolicyGenerated[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobBasicExample[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobDirectvpcExample[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobEmptydirExample[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobFullUpdate[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobLimitsExample[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobRunJobExample[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobSecretExample[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobSqlExample[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobVpcaccessExample[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobWithDirectVPCUpdate[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobWithGcsUpdate[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobWithNfsUpdate[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobWithRunExecutionTokenUpdate[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobWithStartExecutionTokenUpdate[Error message] [Debug log]
TestAccCloudRunV2ServiceIamBindingGenerated[Error message] [Debug log]
TestAccCloudRunV2ServiceIamMemberGenerated[Error message] [Debug log]
TestAccCloudRunV2ServiceIamPolicyGenerated[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceAttributionLabel[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceBasicExample[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceCustomAudienceUpdate[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceDirectvpcExample[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceFullUpdate[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceGRPCProbesUpdate[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceGcsVolume[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceHTTPProbesUpdate[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceLimitsExample[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceMountGcsExample[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceMountNfsExample[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceMulticontainerExample[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceProbesExample[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceSecretExample[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceSqlExample[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceTCPProbesUpdate[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceVpcaccessExample[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceWithDirectVPCUpdate[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceWithServiceMinInstances[Error message] [Debug log]
TestAccDataSourceGoogleCloudRunV2Job_basic[Error message] [Debug log]
TestAccDataSourceGoogleCloudRunV2Job_bindIAMPermission[Error message] [Debug log]
TestAccDataSourceGoogleCloudRunV2Service_basic[Error message] [Debug log]
TestAccDataSourceGoogleCloudRunV2Service_bindIAMPermission[Error message] [Debug log]

$\textcolor{red}{\textsf{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 ( 9 files changed, 89 insertions(+), 303 deletions(-))
google-beta provider: Diff ( 9 files changed, 89 insertions(+), 303 deletions(-))

Missing test report

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

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

resource "google_cloud_run_v2_job" "primary" {
  deletion_protection = # value needed
}

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

resource "google_cloud_run_v2_service" "primary" {
  deletion_protection = # value needed
}

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 43
Passed tests: 4
Skipped tests: 0
Affected tests: 39

Click here to see the affected service packages
  • cloudrunv2

Action taken

Found 39 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccCloudRunV2JobIamBindingGenerated
  • TestAccCloudRunV2JobIamMemberGenerated
  • TestAccCloudRunV2JobIamPolicyGenerated
  • TestAccCloudRunV2Job_cloudrunv2JobBasicExample
  • TestAccCloudRunV2Job_cloudrunv2JobDirectvpcExample
  • TestAccCloudRunV2Job_cloudrunv2JobEmptydirExample
  • TestAccCloudRunV2Job_cloudrunv2JobFullUpdate
  • TestAccCloudRunV2Job_cloudrunv2JobLimitsExample
  • TestAccCloudRunV2Job_cloudrunv2JobRunJobExample
  • TestAccCloudRunV2Job_cloudrunv2JobSecretExample
  • TestAccCloudRunV2Job_cloudrunv2JobSqlExample
  • TestAccCloudRunV2Job_cloudrunv2JobVpcaccessExample
  • TestAccCloudRunV2Job_cloudrunv2JobWithDirectVPCUpdate
  • TestAccCloudRunV2Job_cloudrunv2JobWithGcsUpdate
  • TestAccCloudRunV2Job_cloudrunv2JobWithNfsUpdate
  • TestAccCloudRunV2Job_cloudrunv2JobWithRunExecutionTokenUpdate
  • TestAccCloudRunV2Job_cloudrunv2JobWithStartExecutionTokenUpdate
  • TestAccCloudRunV2ServiceIamBindingGenerated
  • TestAccCloudRunV2ServiceIamMemberGenerated
  • TestAccCloudRunV2ServiceIamPolicyGenerated
  • TestAccCloudRunV2Service_cloudrunv2ServiceAttributionLabel
  • TestAccCloudRunV2Service_cloudrunv2ServiceBasicExample
  • TestAccCloudRunV2Service_cloudrunv2ServiceCustomAudienceUpdate
  • TestAccCloudRunV2Service_cloudrunv2ServiceDirectvpcExample
  • TestAccCloudRunV2Service_cloudrunv2ServiceFullUpdate
  • TestAccCloudRunV2Service_cloudrunv2ServiceGRPCProbesUpdate
  • TestAccCloudRunV2Service_cloudrunv2ServiceGcsVolume
  • TestAccCloudRunV2Service_cloudrunv2ServiceHTTPProbesUpdate
  • TestAccCloudRunV2Service_cloudrunv2ServiceLimitsExample
  • TestAccCloudRunV2Service_cloudrunv2ServiceMountGcsExample
  • TestAccCloudRunV2Service_cloudrunv2ServiceMountNfsExample
  • TestAccCloudRunV2Service_cloudrunv2ServiceMulticontainerExample
  • TestAccCloudRunV2Service_cloudrunv2ServiceProbesExample
  • TestAccCloudRunV2Service_cloudrunv2ServiceSecretExample
  • TestAccCloudRunV2Service_cloudrunv2ServiceSqlExample
  • TestAccCloudRunV2Service_cloudrunv2ServiceTCPProbesUpdate
  • TestAccCloudRunV2Service_cloudrunv2ServiceVpcaccessExample
  • TestAccCloudRunV2Service_cloudrunv2ServiceWithDirectVPCUpdate
  • TestAccCloudRunV2Service_cloudrunv2ServiceWithServiceMinInstances

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

$\textcolor{red}{\textsf{Tests failed during RECORDING mode:}}$
TestAccCloudRunV2JobIamBindingGenerated[Error message] [Debug log]
TestAccCloudRunV2JobIamMemberGenerated[Error message] [Debug log]
TestAccCloudRunV2JobIamPolicyGenerated[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobBasicExample[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobDirectvpcExample[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobEmptydirExample[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobFullUpdate[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobLimitsExample[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobRunJobExample[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobSecretExample[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobSqlExample[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobVpcaccessExample[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobWithDirectVPCUpdate[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobWithGcsUpdate[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobWithNfsUpdate[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobWithRunExecutionTokenUpdate[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobWithStartExecutionTokenUpdate[Error message] [Debug log]
TestAccCloudRunV2ServiceIamBindingGenerated[Error message] [Debug log]
TestAccCloudRunV2ServiceIamMemberGenerated[Error message] [Debug log]
TestAccCloudRunV2ServiceIamPolicyGenerated[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceAttributionLabel[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceBasicExample[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceCustomAudienceUpdate[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceDirectvpcExample[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceFullUpdate[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceGRPCProbesUpdate[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceGcsVolume[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceHTTPProbesUpdate[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceLimitsExample[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceMountGcsExample[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceMountNfsExample[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceMulticontainerExample[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceProbesExample[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceSecretExample[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceSqlExample[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceTCPProbesUpdate[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceVpcaccessExample[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceWithDirectVPCUpdate[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceWithServiceMinInstances[Error message] [Debug log]

$\textcolor{red}{\textsf{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 ( 11 files changed, 110 insertions(+), 303 deletions(-))
google-beta provider: Diff ( 11 files changed, 118 insertions(+), 303 deletions(-))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 43
Passed tests: 5
Skipped tests: 0
Affected tests: 38

Click here to see the affected service packages
  • cloudrunv2

Action taken

Found 38 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccCloudRunV2JobIamBindingGenerated
  • TestAccCloudRunV2JobIamMemberGenerated
  • TestAccCloudRunV2JobIamPolicyGenerated
  • TestAccCloudRunV2Job_cloudrunv2JobBasicExample
  • TestAccCloudRunV2Job_cloudrunv2JobDirectvpcExample
  • TestAccCloudRunV2Job_cloudrunv2JobEmptydirExample
  • TestAccCloudRunV2Job_cloudrunv2JobFullUpdate
  • TestAccCloudRunV2Job_cloudrunv2JobLimitsExample
  • TestAccCloudRunV2Job_cloudrunv2JobRunJobExample
  • TestAccCloudRunV2Job_cloudrunv2JobSecretExample
  • TestAccCloudRunV2Job_cloudrunv2JobSqlExample
  • TestAccCloudRunV2Job_cloudrunv2JobVpcaccessExample
  • TestAccCloudRunV2Job_cloudrunv2JobWithDirectVPCUpdate
  • TestAccCloudRunV2Job_cloudrunv2JobWithGcsUpdate
  • TestAccCloudRunV2Job_cloudrunv2JobWithNfsUpdate
  • TestAccCloudRunV2Job_cloudrunv2JobWithRunExecutionTokenUpdate
  • TestAccCloudRunV2Job_cloudrunv2JobWithStartExecutionTokenUpdate
  • TestAccCloudRunV2ServiceIamBindingGenerated
  • TestAccCloudRunV2ServiceIamMemberGenerated
  • TestAccCloudRunV2ServiceIamPolicyGenerated
  • TestAccCloudRunV2Service_cloudrunv2ServiceBasicExample
  • TestAccCloudRunV2Service_cloudrunv2ServiceCustomAudienceUpdate
  • TestAccCloudRunV2Service_cloudrunv2ServiceDirectvpcExample
  • TestAccCloudRunV2Service_cloudrunv2ServiceFullUpdate
  • TestAccCloudRunV2Service_cloudrunv2ServiceGRPCProbesUpdate
  • TestAccCloudRunV2Service_cloudrunv2ServiceGcsVolume
  • TestAccCloudRunV2Service_cloudrunv2ServiceHTTPProbesUpdate
  • TestAccCloudRunV2Service_cloudrunv2ServiceLimitsExample
  • TestAccCloudRunV2Service_cloudrunv2ServiceMountGcsExample
  • TestAccCloudRunV2Service_cloudrunv2ServiceMountNfsExample
  • TestAccCloudRunV2Service_cloudrunv2ServiceMulticontainerExample
  • TestAccCloudRunV2Service_cloudrunv2ServiceProbesExample
  • TestAccCloudRunV2Service_cloudrunv2ServiceSecretExample
  • TestAccCloudRunV2Service_cloudrunv2ServiceSqlExample
  • TestAccCloudRunV2Service_cloudrunv2ServiceTCPProbesUpdate
  • TestAccCloudRunV2Service_cloudrunv2ServiceVpcaccessExample
  • TestAccCloudRunV2Service_cloudrunv2ServiceWithDirectVPCUpdate
  • TestAccCloudRunV2Service_cloudrunv2ServiceWithServiceMinInstances

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

$\textcolor{red}{\textsf{Tests failed during RECORDING mode:}}$
TestAccCloudRunV2JobIamBindingGenerated[Error message] [Debug log]
TestAccCloudRunV2JobIamMemberGenerated[Error message] [Debug log]
TestAccCloudRunV2JobIamPolicyGenerated[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobBasicExample[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobDirectvpcExample[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobEmptydirExample[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobFullUpdate[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobLimitsExample[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobRunJobExample[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobSecretExample[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobSqlExample[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobVpcaccessExample[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobWithDirectVPCUpdate[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobWithGcsUpdate[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobWithNfsUpdate[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobWithRunExecutionTokenUpdate[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobWithStartExecutionTokenUpdate[Error message] [Debug log]
TestAccCloudRunV2ServiceIamBindingGenerated[Error message] [Debug log]
TestAccCloudRunV2ServiceIamMemberGenerated[Error message] [Debug log]
TestAccCloudRunV2ServiceIamPolicyGenerated[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceBasicExample[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceCustomAudienceUpdate[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceDirectvpcExample[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceFullUpdate[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceGRPCProbesUpdate[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceGcsVolume[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceHTTPProbesUpdate[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceLimitsExample[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceMountGcsExample[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceMountNfsExample[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceMulticontainerExample[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceProbesExample[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceSecretExample[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceSqlExample[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceTCPProbesUpdate[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceVpcaccessExample[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceWithDirectVPCUpdate[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceWithServiceMinInstances[Error message] [Debug log]

$\textcolor{red}{\textsf{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 ( 11 files changed, 127 insertions(+), 320 deletions(-))
google-beta provider: Diff ( 11 files changed, 146 insertions(+), 331 deletions(-))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 43
Passed tests: 5
Skipped tests: 0
Affected tests: 38

Click here to see the affected service packages
  • cloudrunv2

Action taken

Found 38 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccCloudRunV2JobIamBindingGenerated
  • TestAccCloudRunV2JobIamMemberGenerated
  • TestAccCloudRunV2JobIamPolicyGenerated
  • TestAccCloudRunV2Job_cloudrunv2JobBasicExample
  • TestAccCloudRunV2Job_cloudrunv2JobDirectvpcExample
  • TestAccCloudRunV2Job_cloudrunv2JobEmptydirExample
  • TestAccCloudRunV2Job_cloudrunv2JobFullUpdate
  • TestAccCloudRunV2Job_cloudrunv2JobLimitsExample
  • TestAccCloudRunV2Job_cloudrunv2JobRunJobExample
  • TestAccCloudRunV2Job_cloudrunv2JobSecretExample
  • TestAccCloudRunV2Job_cloudrunv2JobSqlExample
  • TestAccCloudRunV2Job_cloudrunv2JobVpcaccessExample
  • TestAccCloudRunV2Job_cloudrunv2JobWithDirectVPCUpdate
  • TestAccCloudRunV2Job_cloudrunv2JobWithGcsUpdate
  • TestAccCloudRunV2Job_cloudrunv2JobWithNfsUpdate
  • TestAccCloudRunV2Job_cloudrunv2JobWithRunExecutionTokenUpdate
  • TestAccCloudRunV2Job_cloudrunv2JobWithStartExecutionTokenUpdate
  • TestAccCloudRunV2ServiceIamBindingGenerated
  • TestAccCloudRunV2ServiceIamMemberGenerated
  • TestAccCloudRunV2ServiceIamPolicyGenerated
  • TestAccCloudRunV2Service_cloudrunv2ServiceBasicExample
  • TestAccCloudRunV2Service_cloudrunv2ServiceCustomAudienceUpdate
  • TestAccCloudRunV2Service_cloudrunv2ServiceDirectvpcExample
  • TestAccCloudRunV2Service_cloudrunv2ServiceFullUpdate
  • TestAccCloudRunV2Service_cloudrunv2ServiceGRPCProbesUpdate
  • TestAccCloudRunV2Service_cloudrunv2ServiceGcsVolume
  • TestAccCloudRunV2Service_cloudrunv2ServiceHTTPProbesUpdate
  • TestAccCloudRunV2Service_cloudrunv2ServiceLimitsExample
  • TestAccCloudRunV2Service_cloudrunv2ServiceMountGcsExample
  • TestAccCloudRunV2Service_cloudrunv2ServiceMountNfsExample
  • TestAccCloudRunV2Service_cloudrunv2ServiceMulticontainerExample
  • TestAccCloudRunV2Service_cloudrunv2ServiceProbesExample
  • TestAccCloudRunV2Service_cloudrunv2ServiceSecretExample
  • TestAccCloudRunV2Service_cloudrunv2ServiceSqlExample
  • TestAccCloudRunV2Service_cloudrunv2ServiceTCPProbesUpdate
  • TestAccCloudRunV2Service_cloudrunv2ServiceVpcaccessExample
  • TestAccCloudRunV2Service_cloudrunv2ServiceWithDirectVPCUpdate
  • TestAccCloudRunV2Service_cloudrunv2ServiceWithServiceMinInstances

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

$\textcolor{red}{\textsf{Tests failed during RECORDING mode:}}$
TestAccCloudRunV2JobIamBindingGenerated[Error message] [Debug log]
TestAccCloudRunV2JobIamMemberGenerated[Error message] [Debug log]
TestAccCloudRunV2JobIamPolicyGenerated[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobBasicExample[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobDirectvpcExample[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobEmptydirExample[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobFullUpdate[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobLimitsExample[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobRunJobExample[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobSecretExample[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobSqlExample[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobVpcaccessExample[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobWithDirectVPCUpdate[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobWithGcsUpdate[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobWithNfsUpdate[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobWithRunExecutionTokenUpdate[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobWithStartExecutionTokenUpdate[Error message] [Debug log]
TestAccCloudRunV2ServiceIamBindingGenerated[Error message] [Debug log]
TestAccCloudRunV2ServiceIamMemberGenerated[Error message] [Debug log]
TestAccCloudRunV2ServiceIamPolicyGenerated[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceBasicExample[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceCustomAudienceUpdate[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceDirectvpcExample[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceFullUpdate[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceGRPCProbesUpdate[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceGcsVolume[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceHTTPProbesUpdate[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceLimitsExample[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceMountGcsExample[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceMountNfsExample[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceMulticontainerExample[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceProbesExample[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceSecretExample[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceSqlExample[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceTCPProbesUpdate[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceVpcaccessExample[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceWithDirectVPCUpdate[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceWithServiceMinInstances[Error message] [Debug log]

$\textcolor{red}{\textsf{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 ( 15 files changed, 170 insertions(+), 322 deletions(-))
google-beta provider: Diff ( 15 files changed, 192 insertions(+), 333 deletions(-))
Open in Cloud Shell: Diff ( 15 files changed, 15 insertions(+), 1 deletion(-))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 43
Passed tests: 11
Skipped tests: 0
Affected tests: 32

Click here to see the affected service packages
  • cloudrunv2

Action taken

Found 32 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccCloudRunV2Job_cloudrunv2JobBasicExample
  • TestAccCloudRunV2Job_cloudrunv2JobDirectvpcExample
  • TestAccCloudRunV2Job_cloudrunv2JobEmptydirExample
  • TestAccCloudRunV2Job_cloudrunv2JobFullUpdate
  • TestAccCloudRunV2Job_cloudrunv2JobLimitsExample
  • TestAccCloudRunV2Job_cloudrunv2JobRunJobExample
  • TestAccCloudRunV2Job_cloudrunv2JobSecretExample
  • TestAccCloudRunV2Job_cloudrunv2JobSqlExample
  • TestAccCloudRunV2Job_cloudrunv2JobVpcaccessExample
  • TestAccCloudRunV2Job_cloudrunv2JobWithDirectVPCUpdate
  • TestAccCloudRunV2Job_cloudrunv2JobWithGcsUpdate
  • TestAccCloudRunV2Job_cloudrunv2JobWithNfsUpdate
  • TestAccCloudRunV2Job_cloudrunv2JobWithRunExecutionTokenUpdate
  • TestAccCloudRunV2Job_cloudrunv2JobWithStartExecutionTokenUpdate
  • TestAccCloudRunV2Service_cloudrunv2ServiceBasicExample
  • TestAccCloudRunV2Service_cloudrunv2ServiceCustomAudienceUpdate
  • TestAccCloudRunV2Service_cloudrunv2ServiceDirectvpcExample
  • TestAccCloudRunV2Service_cloudrunv2ServiceFullUpdate
  • TestAccCloudRunV2Service_cloudrunv2ServiceGRPCProbesUpdate
  • TestAccCloudRunV2Service_cloudrunv2ServiceGcsVolume
  • TestAccCloudRunV2Service_cloudrunv2ServiceHTTPProbesUpdate
  • TestAccCloudRunV2Service_cloudrunv2ServiceLimitsExample
  • TestAccCloudRunV2Service_cloudrunv2ServiceMountGcsExample
  • TestAccCloudRunV2Service_cloudrunv2ServiceMountNfsExample
  • TestAccCloudRunV2Service_cloudrunv2ServiceMulticontainerExample
  • TestAccCloudRunV2Service_cloudrunv2ServiceProbesExample
  • TestAccCloudRunV2Service_cloudrunv2ServiceSecretExample
  • TestAccCloudRunV2Service_cloudrunv2ServiceSqlExample
  • TestAccCloudRunV2Service_cloudrunv2ServiceTCPProbesUpdate
  • TestAccCloudRunV2Service_cloudrunv2ServiceVpcaccessExample
  • TestAccCloudRunV2Service_cloudrunv2ServiceWithDirectVPCUpdate
  • TestAccCloudRunV2Service_cloudrunv2ServiceWithServiceMinInstances

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

$\textcolor{red}{\textsf{Tests failed during RECORDING mode:}}$
TestAccCloudRunV2Job_cloudrunv2JobBasicExample[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobDirectvpcExample[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobEmptydirExample[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobFullUpdate[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobLimitsExample[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobRunJobExample[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobSecretExample[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobSqlExample[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobVpcaccessExample[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobWithDirectVPCUpdate[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobWithGcsUpdate[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobWithNfsUpdate[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobWithRunExecutionTokenUpdate[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobWithStartExecutionTokenUpdate[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceBasicExample[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceCustomAudienceUpdate[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceDirectvpcExample[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceFullUpdate[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceGRPCProbesUpdate[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceGcsVolume[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceHTTPProbesUpdate[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceLimitsExample[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceMountGcsExample[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceMountNfsExample[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceMulticontainerExample[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceProbesExample[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceSecretExample[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceSqlExample[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceTCPProbesUpdate[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceVpcaccessExample[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceWithDirectVPCUpdate[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceWithServiceMinInstances[Error message] [Debug log]

$\textcolor{red}{\textsf{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 ( 15 files changed, 182 insertions(+), 334 deletions(-))
google-beta provider: Diff ( 15 files changed, 207 insertions(+), 348 deletions(-))
Open in Cloud Shell: Diff ( 15 files changed, 15 insertions(+), 1 deletion(-))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 43
Passed tests: 11
Skipped tests: 0
Affected tests: 32

Click here to see the affected service packages
  • cloudrunv2

Action taken

Found 32 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccCloudRunV2Job_cloudrunv2JobBasicExample
  • TestAccCloudRunV2Job_cloudrunv2JobDirectvpcExample
  • TestAccCloudRunV2Job_cloudrunv2JobEmptydirExample
  • TestAccCloudRunV2Job_cloudrunv2JobFullUpdate
  • TestAccCloudRunV2Job_cloudrunv2JobLimitsExample
  • TestAccCloudRunV2Job_cloudrunv2JobRunJobExample
  • TestAccCloudRunV2Job_cloudrunv2JobSecretExample
  • TestAccCloudRunV2Job_cloudrunv2JobSqlExample
  • TestAccCloudRunV2Job_cloudrunv2JobVpcaccessExample
  • TestAccCloudRunV2Job_cloudrunv2JobWithDirectVPCUpdate
  • TestAccCloudRunV2Job_cloudrunv2JobWithGcsUpdate
  • TestAccCloudRunV2Job_cloudrunv2JobWithNfsUpdate
  • TestAccCloudRunV2Job_cloudrunv2JobWithRunExecutionTokenUpdate
  • TestAccCloudRunV2Job_cloudrunv2JobWithStartExecutionTokenUpdate
  • TestAccCloudRunV2Service_cloudrunv2ServiceBasicExample
  • TestAccCloudRunV2Service_cloudrunv2ServiceCustomAudienceUpdate
  • TestAccCloudRunV2Service_cloudrunv2ServiceDirectvpcExample
  • TestAccCloudRunV2Service_cloudrunv2ServiceFullUpdate
  • TestAccCloudRunV2Service_cloudrunv2ServiceGRPCProbesUpdate
  • TestAccCloudRunV2Service_cloudrunv2ServiceGcsVolume
  • TestAccCloudRunV2Service_cloudrunv2ServiceHTTPProbesUpdate
  • TestAccCloudRunV2Service_cloudrunv2ServiceLimitsExample
  • TestAccCloudRunV2Service_cloudrunv2ServiceMountGcsExample
  • TestAccCloudRunV2Service_cloudrunv2ServiceMountNfsExample
  • TestAccCloudRunV2Service_cloudrunv2ServiceMulticontainerExample
  • TestAccCloudRunV2Service_cloudrunv2ServiceProbesExample
  • TestAccCloudRunV2Service_cloudrunv2ServiceSecretExample
  • TestAccCloudRunV2Service_cloudrunv2ServiceSqlExample
  • TestAccCloudRunV2Service_cloudrunv2ServiceTCPProbesUpdate
  • TestAccCloudRunV2Service_cloudrunv2ServiceVpcaccessExample
  • TestAccCloudRunV2Service_cloudrunv2ServiceWithDirectVPCUpdate
  • TestAccCloudRunV2Service_cloudrunv2ServiceWithServiceMinInstances

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

$\textcolor{red}{\textsf{Tests failed during RECORDING mode:}}$
TestAccCloudRunV2Job_cloudrunv2JobBasicExample[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobDirectvpcExample[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobEmptydirExample[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobFullUpdate[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobLimitsExample[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobRunJobExample[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobSecretExample[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobSqlExample[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobVpcaccessExample[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobWithDirectVPCUpdate[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobWithGcsUpdate[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobWithNfsUpdate[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobWithRunExecutionTokenUpdate[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobWithStartExecutionTokenUpdate[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceBasicExample[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceCustomAudienceUpdate[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceDirectvpcExample[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceFullUpdate[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceGRPCProbesUpdate[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceGcsVolume[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceHTTPProbesUpdate[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceLimitsExample[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceMountGcsExample[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceMountNfsExample[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceMulticontainerExample[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceProbesExample[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceSecretExample[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceSqlExample[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceTCPProbesUpdate[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceVpcaccessExample[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceWithDirectVPCUpdate[Error message] [Debug log]
TestAccCloudRunV2Service_cloudrunv2ServiceWithServiceMinInstances[Error message] [Debug log]

$\textcolor{red}{\textsf{Errors occurred during RECORDING mode. Please fix them to complete your PR.}}$

View the build log or the debug log for each test

avianap and others added 2 commits August 6, 2024 13:06
…run_v2_service_test.go.erb

Co-authored-by: Thomas Rodgers <[email protected]>
…run_v2_service_test.go.erb

Co-authored-by: Thomas Rodgers <[email protected]>
@github-actions github-actions bot requested a review from trodge August 6, 2024 20:06
@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 ( 8 files changed, 106 insertions(+), 160 deletions(-))
google-beta provider: Diff ( 8 files changed, 114 insertions(+), 164 deletions(-))
Open in Cloud Shell: Diff ( 9 files changed, 9 insertions(+))

1 similar comment
@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 ( 8 files changed, 106 insertions(+), 160 deletions(-))
google-beta provider: Diff ( 8 files changed, 114 insertions(+), 164 deletions(-))
Open in Cloud Shell: Diff ( 9 files changed, 9 insertions(+))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 43
Passed tests: 43
Skipped tests: 0
Affected tests: 0

Click here to see the affected service packages
  • cloudrunv2

$\textcolor{green}{\textsf{All tests passed!}}$

View the build log

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 43
Passed tests: 43
Skipped tests: 0
Affected tests: 0

Click here to see the affected service packages
  • cloudrunv2

$\textcolor{green}{\textsf{All tests passed!}}$

View the build log

@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 ( 15 files changed, 182 insertions(+), 309 deletions(-))
google-beta provider: Diff ( 15 files changed, 207 insertions(+), 323 deletions(-))
Open in Cloud Shell: Diff ( 15 files changed, 15 insertions(+), 1 deletion(-))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 43
Passed tests: 41
Skipped tests: 0
Affected tests: 2

Click here to see the affected service packages
  • cloudrunv2

Action taken

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

Get to know how VCR tests work

@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 ( 15 files changed, 180 insertions(+), 308 deletions(-))
google-beta provider: Diff ( 15 files changed, 205 insertions(+), 322 deletions(-))
Open in Cloud Shell: Diff ( 15 files changed, 15 insertions(+), 1 deletion(-))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 43
Passed tests: 41
Skipped tests: 0
Affected tests: 2

Click here to see the affected service packages
  • cloudrunv2

Action taken

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

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

$\textcolor{red}{\textsf{Tests failed during RECORDING mode:}}$
TestAccCloudRunV2Job_cloudrunv2JobSecretExample[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobSqlExample[Error message] [Debug log]

$\textcolor{red}{\textsf{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

$\textcolor{red}{\textsf{Tests failed during RECORDING mode:}}$
TestAccCloudRunV2Job_cloudrunv2JobSecretExample[Error message] [Debug log]
TestAccCloudRunV2Job_cloudrunv2JobSqlExample[Error message] [Debug log]

$\textcolor{red}{\textsf{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 ( 15 files changed, 182 insertions(+), 310 deletions(-))
google-beta provider: Diff ( 15 files changed, 207 insertions(+), 324 deletions(-))
Open in Cloud Shell: Diff ( 15 files changed, 15 insertions(+), 1 deletion(-))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 43
Passed tests: 43
Skipped tests: 0
Affected tests: 0

Click here to see the affected service packages
  • cloudrunv2

$\textcolor{green}{\textsf{All tests passed!}}$

View the build log

@emilecaron
Copy link

hello. not sure if this is the right place for such a question but i'll give it a try:
how is this not considered a breaking change ? we relied on the fact that deletion was possible by default and over the night this behaviour changes and breaks our pipelines.
I guess most people using features such as https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/cloud_run_v2_job#start_execution_token are also recreating cloud run jobs on every deployment and will have to manually run extra steps to add deletion_protection=false before running their regular pipelines again.
Is there any workaround that i would be missing ?

i guess pinning the provider version was also not the best idea but the issue remains the same

@Moumouls
Copy link

Hi @trodge, it's not clear if applying a template with protection set to false is sufficient, or if it needs first an apply then a delete ?

@Moumouls
Copy link

@emilecaron do you have some feedbacks about your usage ? Does protection to false on destroy is sufficient ?

@emilecaron
Copy link

emilecaron commented Dec 17, 2024 via email

@Moumouls
Copy link

thanks @emilecaron for your answer, we tested the change on staging on a old ressource, if we trigger the destroy with the new provider version (from a old state of old provider) it works.
It avoided us a huge pain !
I hope it could help developers landing here, about the behavior from a old version and old state.

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.

5 participants