You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please vote on this issue by adding a 馃憤 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
Description
When creating an Azure Database Migration Service instance, a network interface is created by Azure in the selected subnet. However, there is currently no straight forward way to identify the IP of the NIC within Terraform.
The properties json of the resource does provide the virtualNicId of this automatically created NIC. If this was available in the exported attributes, the ID could be passed to a network interface data source to get the assigned IP of the NIC.
The purpose of this is so that can use the assigned IP of the DMS resource in a network security rule to permit traffic from the resource to required endpoints.
Is there an existing issue for this?
Community Note
Description
When creating an Azure Database Migration Service instance, a network interface is created by Azure in the selected subnet. However, there is currently no straight forward way to identify the IP of the NIC within Terraform.
The properties json of the resource does provide the
virtualNicId
of this automatically created NIC. If this was available in the exported attributes, the ID could be passed to a network interface data source to get the assigned IP of the NIC.Sample resource json:
The purpose of this is so that can use the assigned IP of the DMS resource in a network security rule to permit traffic from the resource to required endpoints.
New or Affected Resource(s)/Data Source(s)
azurerm_database_migration_service
Potential Terraform Configuration
No response
References
https://learn.microsoft.com/en-us/cli/azure/dms?view=azure-cli-latest#az-dms-show
The text was updated successfully, but these errors were encountered: