-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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 provider default labels #8670
Add provider default labels #8670
Conversation
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 ( 21 files changed, 429 insertions(+), 95 deletions(-)) |
Tests analyticsTotal tests: Action takenFound 41 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected testsTestAccTags|TestAccEventarcTrigger_channel|TestAccEventarcTrigger_BasicHandWritten|TestAccComputeRegionNetworkEndpointGroup_regionNetworkEndpointGroupCloudrunExample|TestAccComputeVpnTunnel_vpnTunnelBetaExample|TestAccComputeAddress_withProviderDefaultLabels|TestAccComputeForwardingRule_update|TestAccCloudRunService_foregroundDeletion|TestAccCloudRunService_cloudRunServiceCreateHasStatus|TestAccCloudRunService_cloudRunServiceUpdate|TestAccCloudRunService_cloudRunServiceMulticontainerExample|TestAccCloudRunService_secretVolume|TestAccCloudRunService_cloudRunServiceProbesExample|TestAccComputeGlobalForwardingRule_labels|TestAccCloudRunService_cloudRunServiceSecretVolumesExample|TestAccBigQueryDataset_bigqueryDatasetDefaultCollationSetExample|TestAccBigQueryDataset_bigqueryDatasetCaseInsensitiveNamesExample|TestAccCloudRunService_cloudRunServiceSecretEnvironmentVariablesExample|TestAccBigQueryDataset_storageBillModel|TestAccBigQueryDataset_bigqueryDatasetAuthorizedDatasetExample|TestAccCloudRunService_cloudRunServiceMultipleEnvironmentVariablesExample|TestAccCloudRunService_cloudRunServiceNoauthExample|TestAccCloudRunService_cloudRunServiceSqlExample|TestAccCloudRunService_cloudRunServiceBasicExample|TestAccBigQueryDataset_bigqueryDatasetWithMaxTimeTravelHoursExample|TestAccCloudRunDomainMapping_foregroundDeletion|TestAccCloudRunDomainMapping_cloudRunDomainMappingBasicExample|TestAccComputeBackendService_regionNegBackend|TestAccBigQueryDataset_regionalLocation|TestAccBigQueryDataset_access|TestAccBigQueryDataset_datasetWithContents|TestAccBigQueryDataset_basic|TestAccCloudRunService_probes|TestAccCloudRunService_secretEnvironmentVariable|TestAccBigQueryDataset_bigqueryDatasetBasicExample|TestAccCloudRunServiceIamPolicyGenerated|TestAccCloudRunServiceIamMemberGenerated|TestAccCloudRunServiceIamBindingGenerated|TestAccDataSourceGoogleCloudRunService_basic|TestAccDataSourceRegionNetworkEndpointGroup_basic|TestAccDataSourceGoogleCloudRunService_optionalProject |
|
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 ( 22 files changed, 334 insertions(+), 101 deletions(-)) |
Tests analyticsTotal tests:
|
/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 ( 22 files changed, 334 insertions(+), 101 deletions(-)) |
Tests analyticsTotal tests:
|
Noting that this fixes hashicorp/terraform-provider-google#7325 |
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 ( 22 files changed, 391 insertions(+), 101 deletions(-)) |
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 ( 22 files changed, 409 insertions(+), 119 deletions(-)) |
Tests analyticsTotal tests: Action takenFound 29 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected testsTestAccTags|TestAccEventarcTrigger_channel|TestAccEventarcTrigger_BasicHandWritten|TestAccComputeRegionNetworkEndpointGroup_regionNetworkEndpointGroupCloudrunExample|TestAccComputeAddress_withProviderDefaultLabels|TestAccCloudRunService_cloudRunServiceMulticontainerExample|TestAccCloudRunService_probes|TestAccCloudRunService_secretEnvironmentVariable|TestAccCloudRunService_secretVolume|TestAccCloudRunService_foregroundDeletion|TestAccCloudRunService_cloudRunServiceCreateHasStatus|TestAccCloudRunService_cloudRunServiceProbesExample|TestAccCloudRunService_cloudRunServiceUpdate|TestAccCloudRunService_cloudRunServiceSecretVolumesExample|TestAccCloudRunService_cloudRunServiceSecretEnvironmentVariablesExample|TestAccCloudRunService_cloudRunServiceMultipleEnvironmentVariablesExample|TestAccCloudRunService_cloudRunServiceNoauthExample|TestAccCloudRunService_cloudRunServiceSqlExample|TestAccCloudRunService_cloudRunServiceBasicExample|TestAccCloudRunDomainMapping_foregroundDeletion|TestAccCloudRunDomainMapping_cloudRunDomainMappingBasicExample|TestAccComputeForwardingRule_update|TestAccCloudRunServiceIamPolicyGenerated|TestAccCloudRunServiceIamBindingGenerated|TestAccDataSourceGoogleCloudRunService_basic|TestAccCloudRunServiceIamMemberGenerated|TestAccDataSourceGoogleCloudRunService_optionalProject|TestAccDataSourceRegionNetworkEndpointGroup_basic|TestAccComputeBackendService_regionNegBackend |
|
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 ( 20 files changed, 384 insertions(+), 97 deletions(-)) |
Tests analyticsTotal tests: Action takenFound 7 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected testsTestAccComputeForwardingRule_update|TestAccComputeAddress_withProviderDefaultLabels|TestAccBigQueryDataset_datasetWithContents|TestAccBigQueryDataset_basic|TestAccBigQueryDataset_storageBillModel|TestAccBigQueryDataset_regionalLocation|TestAccBigQueryDataset_access |
|
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 ( 22 files changed, 402 insertions(+), 113 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 testsTestAccComputeAddress_withProviderDefaultLabels |
|
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 ( 22 files changed, 406 insertions(+), 113 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 testsTestAccComputeAddress_withProviderDefaultLabels |
|
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 ( 22 files changed, 410 insertions(+), 113 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 testsTestAccComputeAddress_withProviderDefaultLabels |
|
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 ( 22 files changed, 403 insertions(+), 113 deletions(-)) |
Tests analyticsTotal tests:
|
mmv1/templates/terraform/examples/base_configs/test_file.go.erb
Outdated
Show resolved
Hide resolved
mmv1/third_party/terraform/fwprovider/framework_provider.go.erb
Outdated
Show resolved
Hide resolved
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.
Regarding the TGC failures - it looks like this PR renames labels
fields to terraform_labels
; if that's correct, I believe the fix here would be to modify the TGC test files for impacted resources so that:
- the
.tf
file usesterraform_labels
- the
.tfplan.json
file reflects theterraform_labels
name as well. This should just be a string replacement but you could copy the .tf file to a new directory and runterraform plan
to verify if there are any issues.
Once you've made those changes, the expander should be able to automatically convert the terraform_labels
value to a labels
value in the CAI resource (which means it should match the existing expected CAI output.)
Hello, @melinath , thanks for the comments. I think that is what I tried before. |
I think the previous comment could be reason. |
It looks to me like this ought to be passing at this point. The unit tests are passing; if this were a fundamental issue then I would expect them to also be failing. I'm going to try rerunning tests to see if that resolves the issue. /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 ( 23 files changed, 379 insertions(+), 118 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 testsTestAccSpannerInstanceIamPolicy |
Rerun these tests in REPLAYING mode to catch issues
|
terraform-google-conversion-test-integration-0.12.31 and terraform-google-conversion-test-integration-0.13.7 still failed. Close and reopen this PR to see if the tests will pass. |
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 ( 22 files changed, 379 insertions(+), 113 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.
Marking requested as I'll make a final pass after some of the changes
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 ( 22 files changed, 379 insertions(+), 113 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
|
If this PR is for Terraform, I acknowledge that I have:
make test
andmake lint
in the generated providers to ensure it passes unit and linter tests.Release Note Template for Downstream PRs (will be copied)