-
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
New Resources: azurerm_network_interface_(backend_address_pool|nat_rule)_association
#2079
Conversation
…tion` Tests pass: ``` $ acctests azurerm TestAccAzureRMNetworkInterfaceBackendAddressPoolAssociation_ === RUN TestAccAzureRMNetworkInterfaceBackendAddressPoolAssociation_basic --- PASS: TestAccAzureRMNetworkInterfaceBackendAddressPoolAssociation_basic (124.30s) === RUN TestAccAzureRMNetworkInterfaceBackendAddressPoolAssociation_deleted --- PASS: TestAccAzureRMNetworkInterfaceBackendAddressPoolAssociation_deleted (136.38s) PASS ok github.com/terraform-providers/terraform-provider-azurerm/azurerm 261.772s ```
Tests pass: ``` $ acctests azurerm TestAccAzureRMNetworkInterfaceNATRuleAssociation_ === RUN TestAccAzureRMNetworkInterfaceNATRuleAssociation_basic --- PASS: TestAccAzureRMNetworkInterfaceNATRuleAssociation_basic (467.52s) === RUN TestAccAzureRMNetworkInterfaceNATRuleAssociation_deleted --- PASS: TestAccAzureRMNetworkInterfaceNATRuleAssociation_deleted (119.26s) PASS ok github.com/terraform-providers/terraform-provider-azurerm/azurerm 588.211s ```
139e761
to
88d8f08
Compare
azurerm/provider.go
Outdated
"azurerm_mysql_virtual_network_rule": resourceArmMySqlVirtualNetworkRule(), | ||
"azurerm_network_interface": resourceArmNetworkInterface(), | ||
"azurerm_network_interface_backend_address_pool_association": resourceArmNetworkInterfaceBackendAddressPoolAssociation(), | ||
"azurerm_network_interface_nat_rule_association": resourceArmNetworkInterfaceNatRuleAssociation(), |
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.
@katbyte given we're doing a resource for application gateway associations too, I think this needs lb_
between network_interface
and backend/nat
- WDYT?
…address_pool_association`
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 👍
* Require terraform-provider-azurerm v1.17+ * Inline load_balancer_backend_address_pools_ids is deprecated and scheduled for removal in the v2.0 provider * hashicorp/terraform-provider-azurerm#2079
* Require terraform-provider-azurerm v1.17+ * Inline load_balancer_backend_address_pools_ids is deprecated and scheduled for removal in the v2.0 provider * hashicorp/terraform-provider-azurerm#2079
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! |
This PR adds a few Virtual Resources for managing the relationship between an Application Gateway/Load Balancer and a Network Interface:
azurerm_network_interface_application_gateway_backend_address_pool_association
azurerm_network_interface_backend_address_pool_association
azurerm_network_interface_nat_rule_association
Since this is a Virtual Resource (and there's an existing field for managing this on the Network Interface resource) - that'll need to be deprecated as a part of 2.0
Fixes #880