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

Network Connectivity Spoke #5586

Merged
merged 8 commits into from
Jan 18, 2022

Conversation

c2thorn
Copy link
Member

@c2thorn c2thorn commented Dec 29, 2021

Closes hashicorp/terraform-provider-google#10514

If this PR is for Terraform, I acknowledge that I have:

  • Searched through the issue tracker for an open issue that this either resolves or contributes to, commented on it to claim it, and written "fixes {url}" or "part of {url}" in this PR description. If there were no relevant open issues, I opened one and commented that I would like to work on it (not necessary for very small changes).
  • Generated Terraform, and ran make test and make lint to ensure it passes unit and linter tests.
  • Ensured that all new fields I added that can be set by a user appear in at least one example (for generated resources) or third_party test (for handwritten resources or update tests).
  • Ran relevant acceptance tests (If the acceptance tests do not yet pass or you are unable to run them, please let your reviewer know).
  • Read the Release Notes Guide before writing my release note below.

Release Note Template for Downstream PRs (will be copied)

`google_network_connectivity_spoke`

@modular-magician
Copy link
Collaborator

Hi! I'm the modular magician. Your PR generated some diffs in downstreams - here they are.

Diff report:

Terraform GA: Diff ( 3 files changed, 221 insertions(+))
Terraform Beta: Diff ( 7 files changed, 1194 insertions(+), 22 deletions(-))

@modular-magician
Copy link
Collaborator

I have triggered VCR tests in RECORDING mode for the following tests that failed during VCR: TestAccApigeeEnvironmentIamBindingGenerated|TestAccApigeeEnvironmentIamMemberGenerated|TestAccApigeeEnvironmentIamPolicyGenerated|TestAccContainerNodePool_withInvalidUpgradeSettings|TestAccServiceNetworkingPeeredDNSDomain_basic|TestAccNetworkConnectivitySpoke_RouterApplianceHandWritten You can view the result here: https://ci-oss.hashicorp.engineering/viewQueued.html?itemId=237603

@modular-magician
Copy link
Collaborator

Tests failed during RECORDING mode: TestAccApigeeEnvironmentIamBindingGenerated|TestAccContainerNodePool_withInvalidUpgradeSettings Please fix these to complete your PR

@c2thorn c2thorn requested a review from slevenick December 30, 2021 16:31
@c2thorn
Copy link
Member Author

c2thorn commented Dec 30, 2021

I ran make test and make lint on the generated downstream and couldn't figure out why they are failing in Cloudbuild. The logs are impossible to read right now with the Validator tests included

@modular-magician
Copy link
Collaborator

Hi! I'm the modular magician. Your PR generated some diffs in downstreams - here they are.

Diff report:

Terraform GA: Diff ( 6 files changed, 1172 insertions(+))
Terraform Beta: Diff ( 6 files changed, 1172 insertions(+))

@modular-magician
Copy link
Collaborator

I have triggered VCR tests in RECORDING mode for the following tests that failed during VCR: TestAccApigeeEnvironmentIamBindingGenerated|TestAccApigeeEnvironmentIamMemberGenerated|TestAccApigeeEnvironmentIamPolicyGenerated|TestAccContainerNodePool_withInvalidUpgradeSettings You can view the result here: https://ci-oss.hashicorp.engineering/viewQueued.html?itemId=237977

@modular-magician
Copy link
Collaborator

Tests failed during RECORDING mode: TestAccContainerNodePool_withInvalidUpgradeSettings|TestAccApigeeEnvironmentIamBindingGenerated Please fix these to complete your PR

labels = {
label-one = "value-one"
}
hub = "projects/{{project}}/locations/global/hubs/${google_network_connectivity_hub.basic_hub.name}"
Copy link
Contributor

Choose a reason for hiding this comment

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

Is basic_hub.id not valid for this?

@slevenick slevenick self-requested a review January 4, 2022 18:40
Copy link
Contributor

@slevenick slevenick left a comment

Choose a reason for hiding this comment

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

Looks like the name field at least has an incorrect format in the documentation

@slevenick
Copy link
Contributor

I would also argue that the use of URIs in the documentation is incorrect. Many fields claim to require URIs, but they don't appear to actually require URIs. I don't think that resource long name == URI

@c2thorn c2thorn force-pushed the network-connectivity branch from 9532cb9 to 8069493 Compare January 6, 2022 23:16
@modular-magician
Copy link
Collaborator

Hi! I'm the modular magician. Your PR generated some diffs in downstreams - here they are.

Diff report:

Terraform GA: Diff ( 6 files changed, 1171 insertions(+))
Terraform Beta: Diff ( 7 files changed, 1189 insertions(+), 18 deletions(-))

@modular-magician
Copy link
Collaborator

I have triggered VCR tests in RECORDING mode for the following tests that failed during VCR: TestAccApigeeEnvironmentIamBindingGenerated|TestAccApigeeEnvironmentIamMemberGenerated|TestAccApigeeEnvironmentIamPolicyGenerated|TestAccContainerNodePool_withInvalidUpgradeSettings|TestAccServiceNetworkingPeeredDNSDomain_basic|TestAccOsConfigOsPolicyAssignment_FixedOsPolicyAssignment|TestAccOsConfigOsPolicyAssignment_PercentOsPolicyAssignment You can view the result here: https://ci-oss.hashicorp.engineering/viewQueued.html?itemId=240664

@@ -0,0 +1,4 @@
- type: CUSTOM_DESCRIPTION
Copy link
Contributor

Choose a reason for hiding this comment

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

These should be upstreamed to the DCL rather than overrides specifically in Terraform I believe

@c2thorn c2thorn force-pushed the network-connectivity branch from 8069493 to d918468 Compare January 10, 2022 22:14
@modular-magician
Copy link
Collaborator

Hi! I'm the modular magician. Your PR generated some diffs in downstreams - here they are.

Diff report:

Terraform GA: Diff ( 9 files changed, 1194 insertions(+), 21 deletions(-))
Terraform Beta: Diff ( 8 files changed, 1176 insertions(+), 3 deletions(-))

@modular-magician
Copy link
Collaborator

I have triggered VCR tests in RECORDING mode for the following tests that failed during VCR: TestAccDatasourceGoogleServiceNetworkingPeeredDnsDomain_basic|TestAccApigeeEnvironmentIamBindingGenerated|TestAccApigeeEnvironmentIamMemberGenerated|TestAccCloudbuildWorkerPool_basic|TestAccComputeForwardingRule_update|TestAccContainerNodePool_withInvalidUpgradeSettings|TestAccServiceNetworkingPeeredDNSDomain_basic You can view the result here: https://ci-oss.hashicorp.engineering/viewQueued.html?itemId=241918

@c2thorn c2thorn requested a review from slevenick January 11, 2022 17:16
@modular-magician
Copy link
Collaborator

Hi! I'm the modular magician. Your PR generated some diffs in downstreams - here they are.

Diff report:

Terraform GA: Diff ( 9 files changed, 1168 insertions(+), 21 deletions(-))
Terraform Beta: Diff ( 9 files changed, 1190 insertions(+), 43 deletions(-))

@modular-magician
Copy link
Collaborator

I have triggered VCR tests in RECORDING mode for the following tests that failed during VCR: TestAccApigeeEnvironmentIamBindingGenerated|TestAccApigeeEnvironmentIamMemberGenerated|TestAccApigeeEnvironmentIamPolicyGenerated|TestAccCloudbuildWorkerPool_basic|TestAccContainerNodePool_withInvalidUpgradeSettings|TestAccNetworkConnectivitySpoke_RouterApplianceHandWritten You can view the result here: https://ci-oss.hashicorp.engineering/viewQueued.html?itemId=242312

@modular-magician
Copy link
Collaborator

Tests failed during RECORDING mode: TestAccCloudbuildWorkerPool_basic|TestAccContainerNodePool_withInvalidUpgradeSettings Please fix these to complete your PR

@c2thorn c2thorn force-pushed the network-connectivity branch from e36efc8 to 76f977b Compare January 14, 2022 17:52
@modular-magician
Copy link
Collaborator

Hi! I'm the modular magician. Your PR generated some diffs in downstreams - here they are.

Diff report:

Terraform GA: Diff ( 12 files changed, 3197 insertions(+), 916 deletions(-))
Terraform Beta: Diff ( 12 files changed, 3201 insertions(+), 920 deletions(-))

@c2thorn
Copy link
Member Author

c2thorn commented Jan 14, 2022

@slevenick there are large diffs for OSConfig because the DCL removed reused types in the resource and wrote out the fields regularly. I believe the end result is the same

@slevenick
Copy link
Contributor

@slevenick there are large diffs for OSConfig because the DCL removed reused types in the resource and wrote out the fields regularly. I believe the end result is the same

Cool, as long as those tests still pass it should be fine

@modular-magician
Copy link
Collaborator

I have triggered VCR tests in RECORDING mode for the following tests that failed during VCR: TestAccApigeeEnvironmentIamBindingGenerated|TestAccApigeeEnvironmentIamMemberGenerated|TestAccCloudbuildWorkerPool_basic|TestAccContainerNodePool_withInvalidUpgradeSettings|TestAccDataLossPreventionDeidentifyTemplate_dlpDeidentifyTemplateSkipCharactersExample You can view the result here: https://ci-oss.hashicorp.engineering/viewQueued.html?itemId=243864

@c2thorn c2thorn requested a review from slevenick January 14, 2022 20:33
@modular-magician
Copy link
Collaborator

Tests failed during RECORDING mode: TestAccCloudbuildWorkerPool_basic|TestAccContainerNodePool_withInvalidUpgradeSettings Please fix these to complete your PR

@c2thorn c2thorn merged commit 05868fb into GoogleCloudPlatform:master Jan 18, 2022
@c2thorn c2thorn deleted the network-connectivity branch January 18, 2022 16:42
lcaggio pushed a commit to lcaggio/magic-modules that referenced this pull request Mar 16, 2022
lcaggio pushed a commit to lcaggio/magic-modules that referenced this pull request Mar 17, 2022
lcaggio pushed a commit to lcaggio/magic-modules that referenced this pull request Mar 18, 2022
betsy-lichtenberg pushed a commit to betsy-lichtenberg/magic-modules that referenced this pull request Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for google_network_connectivity_* resources
3 participants