-
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_firewall_policy
- support for explicit_proxy
and auto_learn_private_ranges_mode
properties
#19313
Conversation
azurerm_firewall_policy
- support for explicit_proxy
and auto_learn_private_ranges_mode
properties
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 @wuxu92, this is looking pretty good now, although it seems like there are some test failures that may need fixing:
Test ended in panic.
------- Stdout: -------
=== RUN TestAccFirewallPolicy_basic
=== PAUSE TestAccFirewallPolicy_basic
=== CONT TestAccFirewallPolicy_basic
------- Stderr: -------
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x44e566b]
goroutine 420 [running]:
github.com/hashicorp/terraform-provider-azurerm/internal/services/firewall.resourceFirewallPolicyRead(0xc003063600, {0x5bc00e0?, 0xc003734000?})
/opt/teamcity-agent/work/5e6516bb4d10eb66/internal/services/firewall/firewall_policy_resource.go:213 +0x11ab
github.com/hashicorp/terraform-provider-azurerm/internal/services/firewall.resourceFirewallPolicyCreateUpdate(0xc003063600, {0x5bc00e0?, 0xc003734000})
/opt/teamcity-agent/work/5e6516bb4d10eb66/internal/services/firewall/firewall_policy_resource.go:137 +0x15c5
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).create(0x6e29880?, {0x6e29880?, 0xc0017ce7b0?}, 0xd?, {0x5bc00e0?, 0xc003734000?})
/opt/teamcity-agent/work/5e6516bb4d10eb66/vendor/github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema/resource.go:695 +0x178
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).Apply(0xc00398eb60, {0x6e29880, 0xc0017ce7b0}, 0xc0027a89c0, 0xc003063480, {0x5bc00e0, 0xc003734000})
/opt/teamcity-agent/work/5e6516bb4d10eb66/vendor/github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema/resource.go:837 +0xa85
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ApplyResourceChange(0xc0032715a8, {0x6e29880?, 0xc0017ce6f0?}, 0xc001e3a9b0)
/opt/teamcity-agent/work/5e6516bb4d10eb66/vendor/github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema/grpc_provider.go:1021 +0xe8d
github.com/hashicorp/terraform-plugin-go/tfprotov5/tf5server.(*server).ApplyResourceChange(0xc001b80780, {0x6e29880?, 0xc001828e40?}, 0xc003056e70)
/opt/teamcity-agent/work/5e6516bb4d10eb66/vendor/github.com/hashicorp/terraform-plugin-go/tfprotov5/tf5server/server.go:818 +0x574
github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_ApplyResourceChange_Handler({0x623d800?, 0xc001b80780}, {0x6e29880, 0xc001828e40}, 0xc003056e00, 0x0)
/opt/teamcity-agent/work/5e6516bb4d10eb66/vendor/github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:385 +0x170
google.golang.org/grpc.(*Server).processUnaryRPC(0xc0001ec000, {0x6e3d3e0, 0xc0025541a0}, 0xc001b10d80, 0xc00183c450, 0xb179fa0, 0x0)
/opt/teamcity-agent/work/5e6516bb4d10eb66/vendor/google.golang.org/grpc/server.go:1340 +0xd23
google.golang.org/grpc.(*Server).handleStream(0xc0001ec000, {0x6e3d3e0, 0xc0025541a0}, 0xc001b10d80, 0x0)
/opt/teamcity-agent/work/5e6516bb4d10eb66/vendor/google.golang.org/grpc/server.go:1713 +0xa2f
google.golang.org/grpc.(*Server).serveStreams.func1.2()
/opt/teamcity-agent/work/5e6516bb4d10eb66/vendor/google.golang.org/grpc/server.go:965 +0x98
created by google.golang.org/grpc.(*Server).serveStreams.func1
/opt/teamcity-agent/work/5e6516bb4d10eb66/vendor/google.golang.org/grpc/server.go:963 +0x28a
@catriona-m all test cases pass now |
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.
LGTM 🍏
This functionality has been released in v3.35.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. |
test result: