Skip to content
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

AccessContextManager - Add dry run version of Ingress / Egress policy resources. #10990

Merged
merged 1 commit into from
Aug 5, 2024

Conversation

Charlesleonius
Copy link
Member

@Charlesleonius Charlesleonius commented Jun 17, 2024

Added ServicePerimeterDryRunEgressPolicy and ServicePerimeterDryRunIngressPolicy to support managing individual ingress and egress policies in the dry-run configuration of service perimeters.

Addresses:
b/335474574 - #17864

`google_access_context_manager_service_perimeter_dry_run_ingress_policy`
`google_access_context_manager_service_perimeter_dry_run_egress_policy`

Copy link

Hello! I am a robot. Tests will require approval from a repository maintainer to run.

@rileykarson, 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.

@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 10 files changed, 2679 insertions(+), 20 deletions(-))
google-beta provider: Diff ( 10 files changed, 2679 insertions(+), 20 deletions(-))

Missing test report

Your PR includes resource fields which are not covered by any test.

Resource: google_access_context_manager_service_perimeter_dry_run_egress_policy (0 total tests)
Please add an acceptance test which includes these fields. The test should include the following:

resource "google_access_context_manager_service_perimeter_dry_run_egress_policy" "primary" {
  egress_from {
    identities         = # value needed
    identity_type      = # value needed
    source_restriction = # value needed
    sources {
      access_level = # value needed
    }
  }
  egress_to {
    external_resources = # value needed
    operations {
      method_selectors {
        method     = # value needed
        permission = # value needed
      }
      service_name = # value needed
    }
    resources = # value needed
  }
  perimeter = # value needed
}

Resource: google_access_context_manager_service_perimeter_dry_run_ingress_policy (0 total tests)
Please add an acceptance test which includes these fields. The test should include the following:

resource "google_access_context_manager_service_perimeter_dry_run_ingress_policy" "primary" {
  ingress_from {
    identities    = # value needed
    identity_type = # value needed
    sources {
      access_level = # value needed
      resource     = # value needed
    }
  }
  ingress_to {
    operations {
      method_selectors {
        method     = # value needed
        permission = # value needed
      }
      service_name = # value needed
    }
    resources = # value needed
  }
  perimeter = # value needed
}

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 4
Passed tests: 1
Skipped tests: 3
Affected tests: 0

Click here to see the affected service packages
  • accesscontextmanager

$\textcolor{green}{\textsf{All tests passed!}}$
View the build log

@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 10 files changed, 2679 insertions(+), 20 deletions(-))
google-beta provider: Diff ( 10 files changed, 2679 insertions(+), 20 deletions(-))

Missing test report

Your PR includes resource fields which are not covered by any test.

Resource: google_access_context_manager_service_perimeter_dry_run_egress_policy (0 total tests)
Please add an acceptance test which includes these fields. The test should include the following:

resource "google_access_context_manager_service_perimeter_dry_run_egress_policy" "primary" {
  egress_from {
    identities         = # value needed
    identity_type      = # value needed
    source_restriction = # value needed
    sources {
      access_level = # value needed
    }
  }
  egress_to {
    external_resources = # value needed
    operations {
      method_selectors {
        method     = # value needed
        permission = # value needed
      }
      service_name = # value needed
    }
    resources = # value needed
  }
  perimeter = # value needed
}

Resource: google_access_context_manager_service_perimeter_dry_run_ingress_policy (0 total tests)
Please add an acceptance test which includes these fields. The test should include the following:

resource "google_access_context_manager_service_perimeter_dry_run_ingress_policy" "primary" {
  ingress_from {
    identities    = # value needed
    identity_type = # value needed
    sources {
      access_level = # value needed
      resource     = # value needed
    }
  }
  ingress_to {
    operations {
      method_selectors {
        method     = # value needed
        permission = # value needed
      }
      service_name = # value needed
    }
    resources = # value needed
  }
  perimeter = # value needed
}

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 4
Passed tests: 1
Skipped tests: 3
Affected tests: 0

Click here to see the affected service packages
  • accesscontextmanager

$\textcolor{green}{\textsf{All tests passed!}}$
View the build log

@Charlesleonius Charlesleonius force-pushed the b/335474574 branch 4 times, most recently from c0367c5 to e857648 Compare June 18, 2024 19:31
@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 10 files changed, 2679 insertions(+), 20 deletions(-))
google-beta provider: Diff ( 10 files changed, 2679 insertions(+), 20 deletions(-))

Missing test report

Your PR includes resource fields which are not covered by any test.

Resource: google_access_context_manager_service_perimeter_dry_run_egress_policy (0 total tests)
Please add an acceptance test which includes these fields. The test should include the following:

resource "google_access_context_manager_service_perimeter_dry_run_egress_policy" "primary" {
  egress_from {
    identities         = # value needed
    identity_type      = # value needed
    source_restriction = # value needed
    sources {
      access_level = # value needed
    }
  }
  egress_to {
    external_resources = # value needed
    operations {
      method_selectors {
        method     = # value needed
        permission = # value needed
      }
      service_name = # value needed
    }
    resources = # value needed
  }
  perimeter = # value needed
}

Resource: google_access_context_manager_service_perimeter_dry_run_ingress_policy (0 total tests)
Please add an acceptance test which includes these fields. The test should include the following:

resource "google_access_context_manager_service_perimeter_dry_run_ingress_policy" "primary" {
  ingress_from {
    identities    = # value needed
    identity_type = # value needed
    sources {
      access_level = # value needed
      resource     = # value needed
    }
  }
  ingress_to {
    operations {
      method_selectors {
        method     = # value needed
        permission = # value needed
      }
      service_name = # value needed
    }
    resources = # value needed
  }
  perimeter = # value needed
}

2 similar comments
@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 10 files changed, 2679 insertions(+), 20 deletions(-))
google-beta provider: Diff ( 10 files changed, 2679 insertions(+), 20 deletions(-))

Missing test report

Your PR includes resource fields which are not covered by any test.

Resource: google_access_context_manager_service_perimeter_dry_run_egress_policy (0 total tests)
Please add an acceptance test which includes these fields. The test should include the following:

resource "google_access_context_manager_service_perimeter_dry_run_egress_policy" "primary" {
  egress_from {
    identities         = # value needed
    identity_type      = # value needed
    source_restriction = # value needed
    sources {
      access_level = # value needed
    }
  }
  egress_to {
    external_resources = # value needed
    operations {
      method_selectors {
        method     = # value needed
        permission = # value needed
      }
      service_name = # value needed
    }
    resources = # value needed
  }
  perimeter = # value needed
}

Resource: google_access_context_manager_service_perimeter_dry_run_ingress_policy (0 total tests)
Please add an acceptance test which includes these fields. The test should include the following:

resource "google_access_context_manager_service_perimeter_dry_run_ingress_policy" "primary" {
  ingress_from {
    identities    = # value needed
    identity_type = # value needed
    sources {
      access_level = # value needed
      resource     = # value needed
    }
  }
  ingress_to {
    operations {
      method_selectors {
        method     = # value needed
        permission = # value needed
      }
      service_name = # value needed
    }
    resources = # value needed
  }
  perimeter = # value needed
}

@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 10 files changed, 2679 insertions(+), 20 deletions(-))
google-beta provider: Diff ( 10 files changed, 2679 insertions(+), 20 deletions(-))

Missing test report

Your PR includes resource fields which are not covered by any test.

Resource: google_access_context_manager_service_perimeter_dry_run_egress_policy (0 total tests)
Please add an acceptance test which includes these fields. The test should include the following:

resource "google_access_context_manager_service_perimeter_dry_run_egress_policy" "primary" {
  egress_from {
    identities         = # value needed
    identity_type      = # value needed
    source_restriction = # value needed
    sources {
      access_level = # value needed
    }
  }
  egress_to {
    external_resources = # value needed
    operations {
      method_selectors {
        method     = # value needed
        permission = # value needed
      }
      service_name = # value needed
    }
    resources = # value needed
  }
  perimeter = # value needed
}

Resource: google_access_context_manager_service_perimeter_dry_run_ingress_policy (0 total tests)
Please add an acceptance test which includes these fields. The test should include the following:

resource "google_access_context_manager_service_perimeter_dry_run_ingress_policy" "primary" {
  ingress_from {
    identities    = # value needed
    identity_type = # value needed
    sources {
      access_level = # value needed
      resource     = # value needed
    }
  }
  ingress_to {
    operations {
      method_selectors {
        method     = # value needed
        permission = # value needed
      }
      service_name = # value needed
    }
    resources = # value needed
  }
  perimeter = # value needed
}

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 4
Passed tests: 1
Skipped tests: 3
Affected tests: 0

Click here to see the affected service packages
  • accesscontextmanager

$\textcolor{green}{\textsf{All tests passed!}}$
View the build log

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 4
Passed tests: 1
Skipped tests: 3
Affected tests: 0

Click here to see the affected service packages
  • accesscontextmanager

$\textcolor{green}{\textsf{All tests passed!}}$
View the build log

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 4
Passed tests: 1
Skipped tests: 3
Affected tests: 0

Click here to see the affected service packages
  • accesscontextmanager

$\textcolor{green}{\textsf{All tests passed!}}$
View the build log

Copy link

@rileykarson This PR has been waiting for review for 3 weekdays. Please take a look! Use the label disable-review-reminders to disable these notifications.

Copy link

@GoogleCloudPlatform/terraform-team @rileykarson This PR has been waiting for review for 1 week. Please take a look! Use the label disable-review-reminders to disable these notifications.

Copy link

github-actions bot commented Jul 1, 2024

@GoogleCloudPlatform/terraform-team @rileykarson This PR has been waiting for review for 2 weeks. Please take a look! Use the label disable-review-reminders to disable these notifications.

@Charlesleonius
Copy link
Member Author

@rileykarson I added exclude_import for the new resources and the existing ones and then removed the import step from the tests. Should that suffice?

@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 14 files changed, 2595 insertions(+), 108 deletions(-))
google-beta provider: Diff ( 14 files changed, 2595 insertions(+), 108 deletions(-))

Missing test report

Your PR includes resource fields which are not covered by any test.

Resource: google_access_context_manager_service_perimeter_dry_run_egress_policy (0 total tests)
Please add an acceptance test which includes these fields. The test should include the following:

resource "google_access_context_manager_service_perimeter_dry_run_egress_policy" "primary" {
  egress_from {
    identities         = # value needed
    identity_type      = # value needed
    source_restriction = # value needed
    sources {
      access_level = # value needed
    }
  }
  egress_to {
    external_resources = # value needed
    operations {
      method_selectors {
        method     = # value needed
        permission = # value needed
      }
      service_name = # value needed
    }
    resources = # value needed
  }
  perimeter = # value needed
}

Resource: google_access_context_manager_service_perimeter_dry_run_ingress_policy (0 total tests)
Please add an acceptance test which includes these fields. The test should include the following:

resource "google_access_context_manager_service_perimeter_dry_run_ingress_policy" "primary" {
  ingress_from {
    identities    = # value needed
    identity_type = # value needed
    sources {
      access_level = # value needed
      resource     = # value needed
    }
  }
  ingress_to {
    operations {
      method_selectors {
        method     = # value needed
        permission = # value needed
      }
      service_name = # value needed
    }
    resources = # value needed
  }
  perimeter = # value needed
}

1 similar comment
@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 14 files changed, 2595 insertions(+), 108 deletions(-))
google-beta provider: Diff ( 14 files changed, 2595 insertions(+), 108 deletions(-))

Missing test report

Your PR includes resource fields which are not covered by any test.

Resource: google_access_context_manager_service_perimeter_dry_run_egress_policy (0 total tests)
Please add an acceptance test which includes these fields. The test should include the following:

resource "google_access_context_manager_service_perimeter_dry_run_egress_policy" "primary" {
  egress_from {
    identities         = # value needed
    identity_type      = # value needed
    source_restriction = # value needed
    sources {
      access_level = # value needed
    }
  }
  egress_to {
    external_resources = # value needed
    operations {
      method_selectors {
        method     = # value needed
        permission = # value needed
      }
      service_name = # value needed
    }
    resources = # value needed
  }
  perimeter = # value needed
}

Resource: google_access_context_manager_service_perimeter_dry_run_ingress_policy (0 total tests)
Please add an acceptance test which includes these fields. The test should include the following:

resource "google_access_context_manager_service_perimeter_dry_run_ingress_policy" "primary" {
  ingress_from {
    identities    = # value needed
    identity_type = # value needed
    sources {
      access_level = # value needed
      resource     = # value needed
    }
  }
  ingress_to {
    operations {
      method_selectors {
        method     = # value needed
        permission = # value needed
      }
      service_name = # value needed
    }
    resources = # value needed
  }
  perimeter = # value needed
}

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 4
Passed tests: 1
Skipped tests: 3
Affected tests: 0

Click here to see the affected service packages
  • accesscontextmanager

$\textcolor{green}{\textsf{All tests passed!}}$

View the build log

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 4
Passed tests: 1
Skipped tests: 3
Affected tests: 0

Click here to see the affected service packages
  • accesscontextmanager

$\textcolor{green}{\textsf{All tests passed!}}$

View the build log

@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 18 files changed, 2612 insertions(+), 123 deletions(-))
google-beta provider: Diff ( 18 files changed, 2612 insertions(+), 123 deletions(-))

Missing test report

Your PR includes resource fields which are not covered by any test.

Resource: google_access_context_manager_service_perimeter_dry_run_egress_policy (0 total tests)
Please add an acceptance test which includes these fields. The test should include the following:

resource "google_access_context_manager_service_perimeter_dry_run_egress_policy" "primary" {
  egress_from {
    identities         = # value needed
    identity_type      = # value needed
    source_restriction = # value needed
    sources {
      access_level = # value needed
    }
  }
  egress_to {
    external_resources = # value needed
    operations {
      method_selectors {
        method     = # value needed
        permission = # value needed
      }
      service_name = # value needed
    }
    resources = # value needed
  }
  perimeter = # value needed
}

Resource: google_access_context_manager_service_perimeter_dry_run_ingress_policy (0 total tests)
Please add an acceptance test which includes these fields. The test should include the following:

resource "google_access_context_manager_service_perimeter_dry_run_ingress_policy" "primary" {
  ingress_from {
    identities    = # value needed
    identity_type = # value needed
    sources {
      access_level = # value needed
      resource     = # value needed
    }
  }
  ingress_to {
    operations {
      method_selectors {
        method     = # value needed
        permission = # value needed
      }
      service_name = # value needed
    }
    resources = # value needed
  }
  perimeter = # value needed
}

Resource: google_access_context_manager_service_perimeter_egress_policy (0 total tests)
Please add an acceptance test which includes these fields. The test should include the following:

resource "google_access_context_manager_service_perimeter_egress_policy" "primary" {
  egress_from {
    source_restriction = # value needed
  }
}

Resource: google_access_context_manager_service_perimeters (3 total tests)
Please add an acceptance test which includes these fields. The test should include the following:

resource "google_access_context_manager_service_perimeters" "primary" {
  service_perimeters {
    spec {
      egress_policies {
        egress_from {
          source_restriction = # value needed
        }
      }
    }
  }
}

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 4
Passed tests: 1
Skipped tests: 3
Affected tests: 0

Click here to see the affected service packages
  • accesscontextmanager

$\textcolor{green}{\textsf{All tests passed!}}$

View the build log

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 4
Passed tests: 1
Skipped tests: 3
Affected tests: 0

Click here to see the affected service packages
  • accesscontextmanager

$\textcolor{green}{\textsf{All tests passed!}}$

View the build log

mmv1/products/accesscontextmanager/ServicePerimeter.yaml Outdated Show resolved Hide resolved
name: 'sourceRestriction'
description: 'Whether to enforce traffic restrictions based on `sources` field. If the `sources` field is non-empty, then this field must be set to `SOURCE_RESTRICTION_ENABLED`.'
values:
- :SOURCE_RESTRICTION_UNSPECIFIED
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm still seeing this one

// can exist, they need to be run serially. See AccessPolicy for the test runner.

func testAccAccessContextManagerServicePerimeterDryRunEgressPolicy_basicTest(t *testing.T) {
// Multiple fine-grained resources
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's useful to see that they can both exist at the same time without interfering with each other.

@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 18 files changed, 2608 insertions(+), 123 deletions(-))
google-beta provider: Diff ( 18 files changed, 2608 insertions(+), 123 deletions(-))

Missing test report

Your PR includes resource fields which are not covered by any test.

Resource: google_access_context_manager_service_perimeter_dry_run_egress_policy (0 total tests)
Please add an acceptance test which includes these fields. The test should include the following:

resource "google_access_context_manager_service_perimeter_dry_run_egress_policy" "primary" {
  egress_from {
    identities         = # value needed
    identity_type      = # value needed
    source_restriction = # value needed
    sources {
      access_level = # value needed
    }
  }
  egress_to {
    external_resources = # value needed
    operations {
      method_selectors {
        method     = # value needed
        permission = # value needed
      }
      service_name = # value needed
    }
    resources = # value needed
  }
  perimeter = # value needed
}

Resource: google_access_context_manager_service_perimeter_dry_run_ingress_policy (0 total tests)
Please add an acceptance test which includes these fields. The test should include the following:

resource "google_access_context_manager_service_perimeter_dry_run_ingress_policy" "primary" {
  ingress_from {
    identities    = # value needed
    identity_type = # value needed
    sources {
      access_level = # value needed
      resource     = # value needed
    }
  }
  ingress_to {
    operations {
      method_selectors {
        method     = # value needed
        permission = # value needed
      }
      service_name = # value needed
    }
    resources = # value needed
  }
  perimeter = # value needed
}

Resource: google_access_context_manager_service_perimeter_egress_policy (0 total tests)
Please add an acceptance test which includes these fields. The test should include the following:

resource "google_access_context_manager_service_perimeter_egress_policy" "primary" {
  egress_from {
    source_restriction = # value needed
  }
}

Resource: google_access_context_manager_service_perimeters (3 total tests)
Please add an acceptance test which includes these fields. The test should include the following:

resource "google_access_context_manager_service_perimeters" "primary" {
  service_perimeters {
    spec {
      egress_policies {
        egress_from {
          source_restriction = # value needed
        }
      }
    }
  }
}

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 4
Passed tests: 0
Skipped tests: 3
Affected tests: 1

Click here to see the affected service packages
  • accesscontextmanager

Action taken

Found 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccAccessContextManager

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 14 files changed, 2596 insertions(+), 111 deletions(-))
google-beta provider: Diff ( 14 files changed, 2596 insertions(+), 111 deletions(-))

Missing test report

Your PR includes resource fields which are not covered by any test.

Resource: google_access_context_manager_service_perimeter_dry_run_egress_policy (0 total tests)
Please add an acceptance test which includes these fields. The test should include the following:

resource "google_access_context_manager_service_perimeter_dry_run_egress_policy" "primary" {
  egress_from {
    identities         = # value needed
    identity_type      = # value needed
    source_restriction = # value needed
    sources {
      access_level = # value needed
    }
  }
  egress_to {
    external_resources = # value needed
    operations {
      method_selectors {
        method     = # value needed
        permission = # value needed
      }
      service_name = # value needed
    }
    resources = # value needed
  }
  perimeter = # value needed
}

Resource: google_access_context_manager_service_perimeter_dry_run_ingress_policy (0 total tests)
Please add an acceptance test which includes these fields. The test should include the following:

resource "google_access_context_manager_service_perimeter_dry_run_ingress_policy" "primary" {
  ingress_from {
    identities    = # value needed
    identity_type = # value needed
    sources {
      access_level = # value needed
      resource     = # value needed
    }
  }
  ingress_to {
    operations {
      method_selectors {
        method     = # value needed
        permission = # value needed
      }
      service_name = # value needed
    }
    resources = # value needed
  }
  perimeter = # value needed
}

Resource: google_access_context_manager_service_perimeter_egress_policy (0 total tests)
Please add an acceptance test which includes these fields. The test should include the following:

resource "google_access_context_manager_service_perimeter_egress_policy" "primary" {
  egress_from {
    source_restriction = # value needed
  }
}

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 4
Passed tests: 0
Skipped tests: 3
Affected tests: 1

Click here to see the affected service packages
  • accesscontextmanager

Action taken

Found 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccAccessContextManager

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

$\textcolor{red}{\textsf{Tests failed during RECORDING mode:}}$
TestAccAccessContextManager[Error message] [Debug log]

$\textcolor{red}{\textsf{Errors occurred during RECORDING mode. Please fix them to complete your PR.}}$

View the build log or the debug log for each test

@modular-magician
Copy link
Collaborator

$\textcolor{red}{\textsf{Tests failed during RECORDING mode:}}$
TestAccAccessContextManager[Error message] [Debug log]

$\textcolor{red}{\textsf{Errors occurred during RECORDING mode. Please fix them to complete your PR.}}$

View the build log or the debug log for each test

@Charlesleonius
Copy link
Member Author

Hello @slevenick, can you please run the VCR tests again.

@slevenick
Copy link
Contributor

/gcbrun

@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 14 files changed, 2596 insertions(+), 111 deletions(-))
google-beta provider: Diff ( 14 files changed, 2596 insertions(+), 111 deletions(-))

Missing test report

Your PR includes resource fields which are not covered by any test.

Resource: google_access_context_manager_service_perimeter_dry_run_egress_policy (0 total tests)
Please add an acceptance test which includes these fields. The test should include the following:

resource "google_access_context_manager_service_perimeter_dry_run_egress_policy" "primary" {
  egress_from {
    identities         = # value needed
    identity_type      = # value needed
    source_restriction = # value needed
    sources {
      access_level = # value needed
    }
  }
  egress_to {
    external_resources = # value needed
    operations {
      method_selectors {
        method     = # value needed
        permission = # value needed
      }
      service_name = # value needed
    }
    resources = # value needed
  }
  perimeter = # value needed
}

Resource: google_access_context_manager_service_perimeter_dry_run_ingress_policy (0 total tests)
Please add an acceptance test which includes these fields. The test should include the following:

resource "google_access_context_manager_service_perimeter_dry_run_ingress_policy" "primary" {
  ingress_from {
    identities    = # value needed
    identity_type = # value needed
    sources {
      access_level = # value needed
      resource     = # value needed
    }
  }
  ingress_to {
    operations {
      method_selectors {
        method     = # value needed
        permission = # value needed
      }
      service_name = # value needed
    }
    resources = # value needed
  }
  perimeter = # value needed
}

Resource: google_access_context_manager_service_perimeter_egress_policy (0 total tests)
Please add an acceptance test which includes these fields. The test should include the following:

resource "google_access_context_manager_service_perimeter_egress_policy" "primary" {
  egress_from {
    source_restriction = # value needed
  }
}

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 4
Passed tests: 1
Skipped tests: 3
Affected tests: 0

Click here to see the affected service packages
  • accesscontextmanager

$\textcolor{green}{\textsf{All tests passed!}}$

View the build log

@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 14 files changed, 2596 insertions(+), 111 deletions(-))
google-beta provider: Diff ( 14 files changed, 2596 insertions(+), 111 deletions(-))

Missing test report

Your PR includes resource fields which are not covered by any test.

Resource: google_access_context_manager_service_perimeter_dry_run_egress_policy (0 total tests)
Please add an acceptance test which includes these fields. The test should include the following:

resource "google_access_context_manager_service_perimeter_dry_run_egress_policy" "primary" {
  egress_from {
    identities         = # value needed
    identity_type      = # value needed
    source_restriction = # value needed
    sources {
      access_level = # value needed
    }
  }
  egress_to {
    external_resources = # value needed
    operations {
      method_selectors {
        method     = # value needed
        permission = # value needed
      }
      service_name = # value needed
    }
    resources = # value needed
  }
  perimeter = # value needed
}

Resource: google_access_context_manager_service_perimeter_dry_run_ingress_policy (0 total tests)
Please add an acceptance test which includes these fields. The test should include the following:

resource "google_access_context_manager_service_perimeter_dry_run_ingress_policy" "primary" {
  ingress_from {
    identities    = # value needed
    identity_type = # value needed
    sources {
      access_level = # value needed
      resource     = # value needed
    }
  }
  ingress_to {
    operations {
      method_selectors {
        method     = # value needed
        permission = # value needed
      }
      service_name = # value needed
    }
    resources = # value needed
  }
  perimeter = # value needed
}

Resource: google_access_context_manager_service_perimeter_egress_policy (0 total tests)
Please add an acceptance test which includes these fields. The test should include the following:

resource "google_access_context_manager_service_perimeter_egress_policy" "primary" {
  egress_from {
    source_restriction = # value needed
  }
}

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 4
Passed tests: 1
Skipped tests: 3
Affected tests: 0

Click here to see the affected service packages
  • accesscontextmanager

$\textcolor{green}{\textsf{All tests passed!}}$

View the build log

@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 14 files changed, 2593 insertions(+), 108 deletions(-))
google-beta provider: Diff ( 14 files changed, 2593 insertions(+), 108 deletions(-))

Missing test report

Your PR includes resource fields which are not covered by any test.

Resource: google_access_context_manager_service_perimeter_dry_run_egress_policy (0 total tests)
Please add an acceptance test which includes these fields. The test should include the following:

resource "google_access_context_manager_service_perimeter_dry_run_egress_policy" "primary" {
  egress_from {
    identities         = # value needed
    identity_type      = # value needed
    source_restriction = # value needed
    sources {
      access_level = # value needed
    }
  }
  egress_to {
    external_resources = # value needed
    operations {
      method_selectors {
        method     = # value needed
        permission = # value needed
      }
      service_name = # value needed
    }
    resources = # value needed
  }
  perimeter = # value needed
}

Resource: google_access_context_manager_service_perimeter_dry_run_ingress_policy (0 total tests)
Please add an acceptance test which includes these fields. The test should include the following:

resource "google_access_context_manager_service_perimeter_dry_run_ingress_policy" "primary" {
  ingress_from {
    identities    = # value needed
    identity_type = # value needed
    sources {
      access_level = # value needed
      resource     = # value needed
    }
  }
  ingress_to {
    operations {
      method_selectors {
        method     = # value needed
        permission = # value needed
      }
      service_name = # value needed
    }
    resources = # value needed
  }
  perimeter = # value needed
}

@Charlesleonius
Copy link
Member Author

@slevenick I believe all issues have been addressed now and tests are passing

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 4
Passed tests: 1
Skipped tests: 3
Affected tests: 0

Click here to see the affected service packages
  • accesscontextmanager

$\textcolor{green}{\textsf{All tests passed!}}$

View the build log

@slevenick slevenick merged commit c3ebf61 into GoogleCloudPlatform:main Aug 5, 2024
14 checks passed
rainshen49 pushed a commit to rainshen49/magic-modules that referenced this pull request Aug 12, 2024
BBBmau pushed a commit to bschaatsbergen/magic-modules that referenced this pull request Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants