-
Notifications
You must be signed in to change notification settings - Fork 4.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
azurerm_lb_nat_pool: Add support for floating_ip_enabled, tcp_reset_enabled, idle_timeout_in_minutes #13674
azurerm_lb_nat_pool: Add support for floating_ip_enabled, tcp_reset_enabled, idle_timeout_in_minutes #13674
Conversation
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.
Thanks for the PR @sinbai - overall looks good aside from some comments on schema which i've left inline
@@ -98,6 +98,23 @@ func resourceArmLoadBalancerNatPool() *pluginsdk.Resource { | |||
ValidateFunc: validation.StringIsNotEmpty, | |||
}, | |||
|
|||
"enable_floating_ip": { |
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.
we usually put enabled on the end
"enable_floating_ip": { | |
"floating_ip_enabled": { |
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.
Fixed
Optional: true, | ||
}, | ||
|
||
"enable_tcp_reset": { |
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.
"enable_tcp_reset": { | |
"tcp_reset_enabled": { |
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.
Fixed
468aa15
to
aaf9a94
Compare
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.
Thanks @sinbai - looks good now aside from CI not passing
…TimeoutInMinutes properties
f88c15c
to
1f353cf
Compare
Fixed, thank you. |
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.
THanks @sinbai! LGTM 🍰
This functionality has been released in v2.82.0 of the Terraform Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions. |
TF_ACC=1 go test ./internal/services/loadbalancer/ -v -parallel 11 -test.run=TestAccAzureRMLoadBalancerNatPool_ -timeout 1440m -ldflags="-X=github.com/hashicorp/terraform-provider-azurerm/version.ProviderVersion=acc"
=== RUN TestAccAzureRMLoadBalancerNatPool_basic
=== PAUSE TestAccAzureRMLoadBalancerNatPool_basic
=== RUN TestAccAzureRMLoadBalancerNatPool_complete
=== PAUSE TestAccAzureRMLoadBalancerNatPool_complete
=== RUN TestAccAzureRMLoadBalancerNatPool_update
=== PAUSE TestAccAzureRMLoadBalancerNatPool_update
=== RUN TestAccAzureRMLoadBalancerNatPool_requiresImport
=== PAUSE TestAccAzureRMLoadBalancerNatPool_requiresImport
=== RUN TestAccAzureRMLoadBalancerNatPool_disappears
=== PAUSE TestAccAzureRMLoadBalancerNatPool_disappears
=== RUN TestAccAzureRMLoadBalancerNatPool_updateMultiplePools
=== PAUSE TestAccAzureRMLoadBalancerNatPool_updateMultiplePools
=== CONT TestAccAzureRMLoadBalancerNatPool_basic
=== CONT TestAccAzureRMLoadBalancerNatPool_requiresImport
=== CONT TestAccAzureRMLoadBalancerNatPool_update
=== CONT TestAccAzureRMLoadBalancerNatPool_updateMultiplePools
=== CONT TestAccAzureRMLoadBalancerNatPool_complete
=== CONT TestAccAzureRMLoadBalancerNatPool_disappears
--- PASS: TestAccAzureRMLoadBalancerNatPool_complete (234.87s)
--- PASS: TestAccAzureRMLoadBalancerNatPool_basic (303.70s)
--- PASS: TestAccAzureRMLoadBalancerNatPool_requiresImport (308.64s)
--- PASS: TestAccAzureRMLoadBalancerNatPool_disappears (321.32s)
--- PASS: TestAccAzureRMLoadBalancerNatPool_updateMultiplePools (362.72s)
--- PASS: TestAccAzureRMLoadBalancerNatPool_update (386.37s)
PASS
ok github.com/hashicorp/terraform-provider-azurerm/internal/services/loadbalancer 386.711s