Artifact Registry: implement VPC SC Config#8787
Conversation
|
Hello! I am a robot. It looks like you are a: Community Contributor @SarahFrench, 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. |
|
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 ( 1 file changed, 101 insertions(+)) Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_artifact_registry_vpcsc_config" "primary" {
location = # value needed
vpcsc_policy = # value needed
}
|
1 similar comment
|
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 ( 1 file changed, 101 insertions(+)) Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_artifact_registry_vpcsc_config" "primary" {
location = # value needed
vpcsc_policy = # value needed
}
|
Tests analyticsTotal tests:
|
|
One moment, manually running the requests in the disabled test is succeeding. |
|
The resource works in that it sends the correct request, but I cannot figure out the correct permissions for the service account for the request to succeed. I'm hoping the tests work on github. |
|
@Subserial Thanks for making that change to remove |
|
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 ( 1 file changed, 106 insertions(+)) |
Tests analyticsTotal tests: Action takenFound 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected testsTestAccArtifactRegistryVPCSCConfig_artifactRegistryVpcscConfigExample |
|
|
|
Here's the error for the test failure above - it looks like there would need to be changes in our organization that the automated tests from PRs run in. |
|
I am currently working out the requirements for a service account to change these settings. |
|
An account needs |
|
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 ( 1 file changed, 101 insertions(+)) Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_artifact_registry_vpcsc_config" "primary" {
location = # value needed
vpcsc_policy = # value needed
}
|
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 testsTestAccBigQueryDataTable_bigtable|TestAccDataprocClusterIamPolicy|TestAccDataSourceGoogleServiceAccountJwt |
|
Rerun these tests in REPLAYING mode to catch issues
|
|
Anything necessary to merge? |
|
Sorry for the delay - the fields look correct compared to the API docs, so LGTM. It's a shame we can't run the acceptance tests due to needing organization-level permissions, but it makes sense why that's not possible currently. |
* Artifact Registry: implement VPC SC Config * Altering behavior from reset resource to simply drop resource * removing skip_test * re-adding skip_test since organization-level resources are out of scope for testing
* Artifact Registry: implement VPC SC Config * Altering behavior from reset resource to simply drop resource * removing skip_test * re-adding skip_test since organization-level resources are out of scope for testing
Implements VPC SC Config resource in beta provider.
Fixes hashicorp/terraform-provider-google#15622
The example cannot run as a test because the resource requires enabling VPC SC on the organization.
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)