gkehub: Fix TestAccGKEHubFeatureMembership_gkehubFeaturePolicyController#16568
gkehub: Fix TestAccGKEHubFeatureMembership_gkehubFeaturePolicyController#16568BBBmau wants to merge 2 commits intoGoogleCloudPlatform:mainfrom
gkehub: Fix TestAccGKEHubFeatureMembership_gkehubFeaturePolicyController#16568Conversation
|
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.
Breaking Change(s) DetectedThe following breaking change(s) were detected within your pull request.
If you believe this detection to be incorrect please raise the concern with your reviewer. |
BBBmau
left a comment
There was a problem hiding this comment.
Addressing the breaking change comment, this wouldn't be a breaking change as it already performs the default set on the API side. I don't think we have the ability to set Computed override on DCL resources. I can look into adding this in if we choose not to go with a client-side default value
| - type: CUSTOM_DEFAULT | ||
| field: policycontroller.policy_controller_hub_config.audit_interval_seconds | ||
| details: | ||
| default: 60 No newline at end of file |
There was a problem hiding this comment.
| - type: CUSTOM_DEFAULT | |
| field: policycontroller.policy_controller_hub_config.audit_interval_seconds | |
| details: | |
| default: 60 | |
| - type: CUSTOM_SCHEMA_VALUES | |
| field: policycontroller.policy_controller_hub_config.audit_interval_seconds | |
| details: | |
| computed: true |
I may have that syntax wrong, but that's roughly what we need for O+C I think! tpgtools was very literal about replacements of things in overrides, since we'd have expected to make most nontrivial changes against the DCL itself.
|
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.
Breaking Change(s) DetectedThe following breaking change(s) were detected within your pull request.
If you believe this detection to be incorrect please raise the concern with your reviewer. |
We've been seeing consistent failures when looking at
nightly-tests:It appears that the value
audit-interval_secondshas a default value set by the api when no value is set. Because of this we get a plan not empty after the third step configuration is applied due to the configuration not containing a value set onaudit_interval_secondWe should see a passing VCR test on
TestAccGKEHubFeatureMembership_gkehubFeaturePolicyControllerRelease Note Template for Downstream PRs (will be copied)
See Write release notes for guidance.