-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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 new resource "Project Cloud Armor Tier" #10698
base: main
Are you sure you want to change the base?
Added new resource "Project Cloud Armor Tier" #10698
Conversation
Hello! I am a robot. Tests will require approval from a repository maintainer to run. @c2thorn, 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. |
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 for contributing this! I'm running our CI now. In the meantime, would you mind adding an example block? Instructions are here: https://googlecloudplatform.github.io/magic-modules/develop/test/test/#add-a-create-test
You've already added the update test which is usually more work, but that does not appear in the documentation like an example would. 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.
|
Tests analyticsTotal tests: Click here to see the affected service packages
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 testsTestAccComputeProjectCloudArmorTier_basic|TestAccComputeProjectCloudArmorTier_modify|TestAccComputeProjectCloudArmorTier_withProjectSet |
|
- Fixed tests creating ambiguity between resource name and property cloud_armor_tier;
Hi @c2thorn! Can you show me the logs for the two tests that are failing? I can't access them and these tests are passing for me when I run them locally. |
This PR has been waiting for review for 2 weekdays. Please take a look! Use the label |
Our test project probably needs to be enrolled for some other features. Could we just avoid testing |
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.
|
Tests analyticsTotal tests: Click here to see the affected service packages
Action takenFound 4 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected testsTestAccComputeProjectCloudArmorTier_basic|TestAccComputeProjectCloudArmorTier_computeProjectCloudArmorTierBasicExample|TestAccComputeProjectCloudArmorTier_computeProjectCloudArmorTierProjectSetExample|TestAccComputeProjectCloudArmorTier_modify |
|
- Skipped modify test;
I changed the examples and the basic test to use the CA_ENTERPRISE_PAYGO value, but I think the subscription used in the test project wont allow setting this cloudArmorTier configuration at all. If the tests fail again I'l change this back and set the tests to be skipped since the cloud armor tier is the only config this resource is handling. |
@GoogleCloudPlatform/terraform-team This PR has been waiting for review for 1 week. Please take a look! Use the label |
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.
|
Tests analyticsTotal tests: Click here to see the affected service packages
Non-exercised testsTests were added that are skipped in VCR:
Action takenFound 43 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected testsTestAccComputeAutoscaler_autoscalerBasicExample|TestAccComputeAutoscaler_autoscalerSingleInstanceExample|TestAccComputeAutoscaler_multicondition|TestAccComputeAutoscaler_scaleDownControl|TestAccComputeAutoscaler_scaleInControl|TestAccComputeAutoscaler_scaleInControlFixed|TestAccComputeAutoscaler_scalingSchedule|TestAccComputeAutoscaler_update|TestAccComputeBackendService_withBackendAndIAP|TestAccComputeInstanceGroup_rename|TestAccComputeInstanceNetworkIntefaceWithSecurityPolicy|TestAccComputeInstanceTemplate_sourceImageEncryptionKey|TestAccComputeInstance_guestAccelerator|TestAccComputePerInstanceConfig_removeInstanceOnDestroy|TestAccComputePerInstanceConfig_statefulIps|TestAccComputePerInstanceConfig_update|TestAccComputeProjectCloudArmorTier_basic|TestAccComputeProjectCloudArmorTier_computeProjectCloudArmorTierBasicExample|TestAccComputeProjectCloudArmorTier_computeProjectCloudArmorTierProjectSetExample|TestAccComputeRegionAutoscaler_regionAutoscalerBasicExample|TestAccComputeRegionAutoscaler_scaleDownControl|TestAccComputeRegionAutoscaler_scaleInControl|TestAccComputeRegionAutoscaler_scalingSchedule|TestAccComputeRegionAutoscaler_update|TestAccComputeRegionInstanceTemplate_sourceImageEncryptionKey|TestAccComputeTargetPool_basic|TestAccInstanceGroupManager_autoHealingPolicies|TestAccInstanceGroupManager_basic|TestAccInstanceGroupManager_resourceManagerTags|TestAccInstanceGroupManager_self_link_unique|TestAccInstanceGroupManager_stateful|TestAccInstanceGroupManager_targetSizeZero|TestAccInstanceGroupManager_update|TestAccInstanceGroupManager_versions|TestAccInstanceGroupManager_waitForStatus|TestAccRegionInstanceGroupManager_autoHealingPolicies|TestAccRegionInstanceGroupManager_basic|TestAccRegionInstanceGroupManager_distributionPolicy|TestAccRegionInstanceGroupManager_resourceManagerTags|TestAccRegionInstanceGroupManager_stateful|TestAccRegionInstanceGroupManager_targetSizeZero|TestAccRegionInstanceGroupManager_update|TestAccRegionInstanceGroupManager_versions |
|
This looks like the way to go, we got another similar error:
If the previous value was a better "example" value, feel free to change it back and then also add |
- Added Skip flags for tests;
Adds a new resource "google_compute_project_cloud_armor_tier" allowing the management Cloud Armor Tier configuration in a similar function as the "google_compute_project_default_network_tier" resource
Fixes: hashicorp/terraform-provider-google#17658
Release Note Template for Downstream PRs (will be copied)