-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
update external_ipv6_prefix
to not be output only
#9096
Conversation
Hello! I am a robot. It looks like you are a: Community Contributor @NickElliot, 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 ( 2 files changed, 21 insertions(+), 8 deletions(-)) |
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 testsTestAccDataSourceGoogleServiceAccountIdToken_impersonation |
Rerun these tests in REPLAYING mode to catch issues
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you include the external_ipv6_prefix in the update tests to verify the functionality is stable if update support is being added for it? Thanks!
Been attempting to add it to the update function but im finding this issue that was not present before. Could use some input on this since i would've expected the same error to appear when updating the resource with the other configurations.
docs says that the fingerprint attribute is required when updating the resource, which is odd since its not used at all. |
I'll need some more input on this, I went ahead and manually added the
I also attempted to use |
Could you push the test config you were using with global address? Thanks |
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 ( 3 files changed, 59 insertions(+), 8 deletions(-)) |
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 testsTestAccComputeSubnetwork_update |
sure thing @NickElliot provider "google" {
zone = "us-west1-a"
}
resource "google_compute_network" "custom-test" {
project = "hc-terraform-testing"
name = "test"
auto_create_subnetworks = false
}
resource "google_compute_global_address" "ipv6" {
project = "hc-terraform-testing"
name = "prefix"
ip_version = "IPV6"
}
resource "google_compute_subnetwork" "subnetwork" {
project = "hc-terraform-testing"
name = "testtest"
ip_cidr_range = "10.0.0.0/16"
region = "us-central1"
network = google_compute_network.custom-test.self_link
stack_type = "IPV4_IPV6"
ipv6_access_type = "EXTERNAL"
external_ipv6_prefix = "2600:1900:41a0:4ec9:0:0:0:0/64"
} |
|
mmv1/third_party/terraform/services/compute/resource_compute_subnetwork_test.go.erb
Outdated
Show resolved
Hide resolved
Co-authored-by: Riley Karson <[email protected]>
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 ( 2 files changed, 21 insertions(+), 8 deletions(-)) |
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 testsTestAccDataprocJobIamPolicy |
Rerun these tests in REPLAYING mode to catch issues
|
Provider branch: https://github.com/hashicorp/terraform-provider-google-beta/commits/external-ipv6-prefix Build the provider and add it to a local cache:
Given a project and an available range (a subset of the overall range):
Capture the entire terminal output between the first command until the end of the second, and share privately over email with Google/HashiCorp stakeholders. |
externalIpv6Prefix
to not be output onlyexternal_ipv6_prefix
to not be output only
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Validated offline
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR hasn't generated any diffs, but I'll let you know if a future commit does. |
…orm#9096) * update externalIpv6Prefex to not be output only * WIP: adding attribute to update tests * remove tests * remove update4 config * Update mmv1/products/compute/Subnetwork.yaml Co-authored-by: Riley Karson <[email protected]> * add back internalipv6 test * add endline * fix lint error --------- Co-authored-by: Riley Karson <[email protected]>
…orm#9096) * update externalIpv6Prefex to not be output only * WIP: adding attribute to update tests * remove tests * remove update4 config * Update mmv1/products/compute/Subnetwork.yaml Co-authored-by: Riley Karson <[email protected]> * add back internalipv6 test * add endline * fix lint error --------- Co-authored-by: Riley Karson <[email protected]>
…orm#9096) * update externalIpv6Prefex to not be output only * WIP: adding attribute to update tests * remove tests * remove update4 config * Update mmv1/products/compute/Subnetwork.yaml Co-authored-by: Riley Karson <[email protected]> * add back internalipv6 test * add endline * fix lint error --------- Co-authored-by: Riley Karson <[email protected]>
…orm#9096) * update externalIpv6Prefex to not be output only * WIP: adding attribute to update tests * remove tests * remove update4 config * Update mmv1/products/compute/Subnetwork.yaml Co-authored-by: Riley Karson <[email protected]> * add back internalipv6 test * add endline * fix lint error --------- Co-authored-by: Riley Karson <[email protected]>
This addresses the resource
google_compute_subnetwork
where the attributeexternalIpv6Prefix
is set as Ouput only, however when looking at the Google Docs it's not an output attribute. It's also worth mentioning that it has a Default value of"2600:1900:4000:1ae::/64"
which is not mentioned on the Google Cloud docsRelease Note Template for Downstream PRs (will be copied)