Monitoring monitored project#8322
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 ( 6 files changed, 31 insertions(+), 4 deletions(-)) |
Tests analyticsTotal tests: 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 testsTestAccMonitoringMonitoredProject_monitoringMonitoredProjectBasicExample|TestAccContainerAwsNodePool_BetaBasicHandWritten|TestAccComputeFirewallPolicyRule_multipleRules |
|
Rerun these tests in REPLAYING mode to catch issues
|
melinath
left a comment
There was a problem hiding this comment.
According to hashicorp/terraform-provider-google#15117 (comment) it was previously valid to specify locations/global/metricsScopes/<project_id> - can you confirm and include a workaround for that as well if so? (Would locations/global/metricsScopes/projects/<project_id> also have worked?)
I'm a little hesitant for us to just add more explicit string replacements to every former DCL resource, but it seems likely to be okay as long as we don't expect to add any more - can you confirm? If this is going to be a broader issue with fields that reference other resources, we should consider a more comprehensive solution.
If we do go ahead with just adding string replacements, it would be great to factor them out into a separate function with unit tests to make sure it behaves as expected.
I've decided to move the handling of long form values into the encoder. |
|
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 ( 4 files changed, 7 insertions(+), 10 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 ( 4 files changed, 56 insertions(+), 33 deletions(-)) |
melinath
left a comment
There was a problem hiding this comment.
Terraform is still trying to create a new monitored project for me if I am using metrics_scope = "projects/<id>" in 4.72.1 and then upgrade to this PR.
|
Hello, @trodge , I also see the same issue. |
Should be fixed now. |
|
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 ( 4 files changed, 63 insertions(+), 33 deletions(-)) |
Tests analyticsTotal tests: Action takenFound 5 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected testsTestAccContainerAwsNodePool_BetaBasicHandWritten|TestAccComputeFirewallPolicyRule_multipleRules|TestAccVertexAIIndex_updated|TestAccVertexAIIndex_vertexAiIndexStreamingExample|TestAccVertexAIIndex_vertexAiIndexExample |
|
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 ( 4 files changed, 49 insertions(+), 33 deletions(-)) |
Tests analyticsTotal tests: Action takenFound 5 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected testsTestAccContainerAwsNodePool_BetaBasicHandWritten|TestAccComputeFirewallPolicyRule_multipleRules|TestAccVertexAIIndex_updated|TestAccVertexAIIndex_vertexAiIndexExample|TestAccVertexAIIndex_vertexAiIndexStreamingExample |
|
Rerun these tests in REPLAYING mode to catch issues
|
* Allow property to work for monitoring monitored project * Change display name * Move handling of long form to encoder * Add error retry predicate * Add a pre-read * Retry all 403 errors
* Allow property to work for monitoring monitored project * Change display name * Move handling of long form to encoder * Add error retry predicate * Add a pre-read * Retry all 403 errors
* Allow property to work for monitoring monitored project * Change display name * Move handling of long form to encoder * Add error retry predicate * Add a pre-read * Retry all 403 errors
* Allow property to work for monitoring monitored project * Change display name * Move handling of long form to encoder * Add error retry predicate * Add a pre-read * Retry all 403 errors
Make legacy long form name work with monitoring monitored project and add test with different project display name.
If this PR is for Terraform, I acknowledge that I have:
make testandmake lintin the generated providers to ensure it passes unit and linter tests.Release Note Template for Downstream PRs (will be copied)