-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Add Beta support & Beta feature ip_version to google_compute_global_forwarding_rule #265
Conversation
resource.TestStep{ | ||
Config: testAccComputeGlobalForwardingRule_ipv6(fr, proxy1, proxy2, backend, hc, urlmap), | ||
Check: resource.ComposeTestCheckFunc( | ||
testAccCheckComputeBetaGlobalForwardingRuleExists( |
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.
Same comment as in #250, consider adding an assertion on the format of the address
field to make sure an ipv6 address is used. Do the same for the ipv4 case to make sure an ipv4 address is used
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.
Checked IPV4 on the _basic
case, IpVersion
is ""
for this resource by default, but that means IPV4
.
|
…orwarding_rule (hashicorp#265) * Add versioned Beta support to google_compute_global_forwarding_rule. * Add Beta support for ip_version in google_compute_global_forwarding_rule. * Temporary commit with compute_shared_operation.go changes. * Added a test to see if v1 GFR is still IPV4, moved to a TestCheckFunc * This API returns the original self links, but let's make sure we don't diff.
…orwarding_rule (hashicorp#265) * Add versioned Beta support to google_compute_global_forwarding_rule. * Add Beta support for ip_version in google_compute_global_forwarding_rule. * Temporary commit with compute_shared_operation.go changes. * Added a test to see if v1 GFR is still IPV4, moved to a TestCheckFunc * This API returns the original self links, but let's make sure we don't diff.
…orwarding_rule (hashicorp#265) * Add versioned Beta support to google_compute_global_forwarding_rule. * Add Beta support for ip_version in google_compute_global_forwarding_rule. * Temporary commit with compute_shared_operation.go changes. * Added a test to see if v1 GFR is still IPV4, moved to a TestCheckFunc * This API returns the original self links, but let's make sure we don't diff.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks! |
Waiting on #249 to merge, but otherwise able to be reviewed.
The third commit duplicates some code in #250. I'm either going to base it into the first commit if this merges first, or merge #250 first.
google_compute_global_forwarding_rule
to a versioned resource with Beta support.ip_version
togoogle_compute_global_forwarding_rule
Explicitly setting
IPV4
on av1
resource forces a recreate as you're going from""
toIPV4
and this resource can't update; this is working as expected based on #185. We don't have enough information at refresh time to perform the read atv0beta
.Part 2/2 of #245.
Related to #93