-
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_api_management
- remove check that public_ip_address_id
must be specified when zone
is provided
#27976
Conversation
e4b3243
to
e84b158
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.
Hey @sinbai, this change looks good but I am wondering why we're removing public_ip
from a test
@@ -1097,15 +1097,6 @@ resource "azurerm_subnet_network_security_group_association" "test" { | |||
network_security_group_id = azurerm_network_security_group.test.id | |||
} | |||
|
|||
resource "azurerm_public_ip" "test" { |
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.
What's the reasoning for removing this from the test?
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.
@mbfrahry thanks for your time. This was removed from the test because public_ip_address_id = azurerm_public_ip.test.id
was removed from test, it is no longer in use.
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 👍
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. |
Community Note
Description
Per this doc,
Starting May 2024, a public IP address resource is no longer needed when deploying (injecting) an API Management instance in a VNet in internal mode or migrating the internal VNet configuration to a new subnet.
, so remove the check thatpublic_ip_address_id
must be specified whenzone
is providedPR Checklist
For example: “
resource_name_here
- description of change e.g. adding propertynew_property_name_here
”Changes to existing Resource / Data Source
Testing
Test result:
Change Log
Below please provide what should go into the changelog (if anything) conforming to the Changelog Format documented here.
azurerm_api_management
- remove check thatpublic_ip_address_id
must be specified whenzone
is provided [azurerm_api_management internal mode with Zones requires a Public IP #27949]This is a (please select all that apply):
Related Issue(s)
Fixes #27949