-
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_vpn_gateway - support block "bgp_peering_addresses" #9035
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 @njuCZ - however i think the block/properties are poorly named and confusing.
it seems like the block is tied to an "instance" and then these are the addresses for it? we should name the block something that is a bit more explicit, like bgp_ip|instance_peering_addresses
and then inside ip|instance_id
?
Hi @katbyte thanks for your review. After consulting the service team further, they say The portal's experience is: creating VPN Gateway only needs parameters of So my sugggestion is to make |
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.
Hey @njuCZ - i've been thinking about this on and off for a week and i dont' this the current schema is very clear or good ux. I've left some comments inline but basically i think creating two named blocks might be the best and most clear solution here? WDYT?
azurerm/internal/services/network/tests/vpn_gateway_resource_test.go
Outdated
Show resolved
Hide resolved
azurerm/internal/services/network/tests/vpn_gateway_resource_test.go
Outdated
Show resolved
Hide resolved
…p_peering_address` and `instance_1_bgp_peering_address`
@katbyte thanks for your review, I have modifed this PR, please have a look when free |
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 @njuCZ - LGTM 👍
This has been released in version 2.36.0 of the provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. As an example: provider "azurerm" {
version = "~> 2.36.0"
}
# ... other configuration ... |
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 👉 [email protected]. Thanks! |
After confirmed with service team, this field "bgp_peering_addresses" could not be set when creating, otherwise the rest api will report error. It could only be updated.