-
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
Added missing fields in info_type_transformations data_loss_prevention_deidentify_template resource #7912
Added missing fields in info_type_transformations data_loss_prevention_deidentify_template resource #7912
Conversation
Hello! I am a robot who works on Magic Modules PRs. I've detected that you're a community contributor. @rileykarson, a repository maintainer, has been assigned to assist you and help review your changes. ❓ First time contributing? Click here for more detailsYour assigned reviewer will help review your code by:
You can help make sure that review is quick by running local tests and ensuring they're passing in between each push you make to your PR's branch. Also, try to leave a comment with each push you make, as pushes generally don't generate emails. If your reviewer doesn't get back to you within a week after your most recent change, please feel free to leave a comment on the issue asking them to take a look! In the absence of a dedicated review dashboard most maintainers manage their pending reviews through email, and those will sometimes get lost in their inbox. |
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 ( 3 files changed, 7640 insertions(+), 3389 deletions(-)) Missing test reportYour PR includes resource fields which are not covered by any test. Resource: Please add acceptance tests which include these fields. |
Tests analyticsTotal tests: Errors occurred during REPLAYING mode. Please fix them to complete your PR |
I've added the necessary tests for missing attributes. Seems like that would work now. |
Hey @rileykarson, Could you please start the tests? It is awaiting approval on your end. Thanks! |
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 ( 3 files changed, 7599 insertions(+), 4057 deletions(-)) Missing test reportYour PR includes resource fields which are not covered by any test. Resource: Please add acceptance tests which include these fields. |
Tests analyticsTotal tests: Errors occurred during REPLAYING mode. Please fix them to complete your PR |
Hi, I mistakenly named the attribute |
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 ( 3 files changed, 7601 insertions(+), 4060 deletions(-)) Missing test reportYour PR includes resource fields which are not covered by any test. Resource: Please add acceptance tests which include these fields. |
Tests analyticsTotal tests: Errors occurred during REPLAYING mode. Please fix them to complete your PR |
I'm continuing to get build errors- you should see them in the GH action. |
I tried checking GH actions but got |
@ScottSuarez can you investigate I thought that was the intention behind using GHA. |
@JayS-crest are you able to successfully run your test locally? |
@rileykarson Apart from that, I've noticed that if the Vcr Tests fail, we cannot see the failing test or logs. It shows permission denied there as well. Is there a way to check that ? And yes, the tests here will run fine now as the fields will be detected so whenever you can approve that. Thanks! |
GHA's are visible to all users. They should of been able to access the results. You can open these links with incognito to verify. |
Can you please share output from the |
When I tried opening the build log, I was shown Forbidden Error. Even now if I try to open link, it is showing the same error. Any probable reason why it isn't working for me? |
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 ( 3 files changed, 7601 insertions(+), 4060 deletions(-)) |
So, as per what I think, I tried running different configs manually and not the test cases(functions). Hence, that was probably the reason why I was not able to catch the errors. Currently, when you asked me for config logs, I ran the Tests and that is when I found the errors in |
Tests analyticsTotal tests: Errors occurred during REPLAYING mode. Please fix them to complete your PR |
The GitHub actions are the build and test steps! @ScottSuarez we may need to make the part external contributors can/can't interact with more clear. |
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 ( 3 files changed, 7601 insertions(+), 4060 deletions(-)) |
Tests analyticsTotal tests: Action takenFound 14 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected testsTestAccDataLossPreventionDeidentifyTemplate_dlpDeidentifyTemplateSkipCharactersExample|TestAccDataLossPreventionDeidentifyTemplate_dlpDeidentifyTemplateBasicExample|TestAccDataLossPreventionDeidentifyTemplate_dlpDeidentifyTemplate_infoTypeTransformationsUpdate|TestAccDataLossPreventionDeidentifyTemplate_dlpDeidentifyTemplate_infoTypeTransformations_primitiveTransformations_dateShiftConfig|TestAccDataLossPreventionDeidentifyTemplate_dlpDeidentifyTemplate_infoTypeTransformations_primitiveTransformations_fixedSizeBucketingConfig|TestAccDataLossPreventionDeidentifyTemplate_dlpDeidentifyTemplate_infoTypeTransformations_primitiveTransformations_bucketingConfig|TestAccDataLossPreventionDeidentifyTemplate_dlpDeidentifyTemplate_infoTypeTransformations_primitiveTransformations|TestAccComputeFirewallPolicyRule_multipleRules|TestAccApigeeKeystoresAliasesKeyCertFile_apigeeKeystoresAliasesKeyCertFileTestExample|TestAccAlloydbCluster_missingLocation|TestAccApigeeKeystoresAliasesPkcs12_ApigeeKeystoresAliasesPkcs12Example|TestAccAlloydbBackup_missingLocation|TestAccDataSourceGoogleFirebaseAndroidAppConfig|TestAccDataSourceAlloydbLocations_basic |
Tests passed during RECORDING mode: Tests failed during RECORDING mode: Please fix these to complete your PR |
correct. you cannot access the cloud build links. You can access the status check for build-and-unit-tests |
Could you make an issue so we can track? There is messaging we can definitely modify. Ideally we will move everything to github actions eventually but I agree maybe there is some stopgap we can apply in the meantime. |
Everything would be impossible- VCR cannot move to GHA |
Yes, everything except VCR or anything that specifically needs our GCP env. Lets talk outside this thread if need. Not clear on vision yet. |
Hi @rileykarson, as the tests have passed now, could you please merge this PR? Thanks! |
…n_deidentify_template resource (GoogleCloudPlatform#7912)
…n_deidentify_template resource (GoogleCloudPlatform#7912)
…n_deidentify_template resource (GoogleCloudPlatform#7912)
added support for
redactConfig
,fixedSizeBucketingConfig
,bucketingConfig
,timePartConfig
anddateShiftConfig
ininfoTypeTransformations
in dlpdata_loss_prevention_deidentify_template
resourcefixes hashicorp/terraform-provider-google#11378
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)