-
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 Resource azurerm_network_manager_scope_connection
#19610
New Resource azurerm_network_manager_scope_connection
#19610
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.
test failures:
Error: creating Network Manager: (Name "acctest-networkmanager-221211222359842005" / Resource Group "acctestRG-nm-221211222359842005"): network.ManagersClient#CreateOrUpdate: Failure responding to request: StatusCode=400 -- Original Error: autorest/azure: Service returned an error. Status=400 Code="BadRequest" Message="Cannot have two Network Managers applied to the same object overlapping scope accesses. Scope id: /subscriptions/*******. Network Manager Id: /subscriptions/*******/resourceGroups/acctestRG-nm-221211222359842005/providers/Microsoft.Network/networkManagers/acctest-networkmanager-221211222359842005. Overlapping accesses: SecurityAdmin"
"resource_id": { | ||
Type: pluginsdk.TypeString, | ||
Required: true, | ||
ValidateFunc: validation.StringIsNotEmpty, | ||
}, |
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.
we don't expose resource_id
- what is this, a scope?
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.
modifies it to target_scope_id
, it should be either Subscription ID or Management Group ID.
…m into network_manager_scope_connection_resource
Provisioning two Network Manager using one subscription as scope leads to an error, to avoid test failure, temporary close this PR. Please review #19593 first. |
…m into network_manager_scope_connection_resource
…m:teowa/terraform-provider-azurerm into network_manager_scope_connection_resource
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.40.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. |
Notes:
Network manager connection
metioned in cross-tenant-connection doc, testcases of this resource uses a single tenant due to test limitations.Test: