New Resource: azurerm_api_management_workspace#30033
New Resource: azurerm_api_management_workspace#30033catriona-m merged 3 commits intohashicorp:mainfrom
azurerm_api_management_workspace#30033Conversation
ms-zhenhua
left a comment
There was a problem hiding this comment.
Hi @sinbai ,
Thanks for this PR - I've taken a look through and left only one minor comment. If we can fix those up, this should be good to go 👍
| ```hcl | ||
| resource "azurerm_resource_group" "example" { | ||
| name = "example-resources" | ||
| location = "East US" |
There was a problem hiding this comment.
To keep consistent with existing resources, the location should be "West Europe".
ce2f01f to
a1f0a0e
Compare
Hi @ms-zhenhua, thanks for your feedback. I have fixed the comment. Could you please take another look? |
catriona-m
left a comment
There was a problem hiding this comment.
HI @sinbai thanks for submitting this, this is off to a good start, I just left one comment inline for you to consider and then I can take another look. Thanks!
internal/services/apimanagement/apimanagement_workspace_resource_test.go
Show resolved
Hide resolved
Hi @catriona-m I have replied the comment and updated the documentation accordingly. Would you mind reviewing it again? |
|
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
Swagger: https://github.com/Azure/azure-rest-api-specs/blob/6a16ff795e378b86c7d9828d82e359555157a2f1/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2024-05-01/apimworkspaces.json#L196
Document: https://learn.microsoft.com/en-us/azure/api-management/workspaces-overview
PR Checklist
For example: “
resource_name_here- description of change e.g. adding propertynew_property_name_here”Changes to existing Resource / Data Source
Testing
Test Results:
PASS: TestAccApiManagementWorkspace_basic (1637.10s)
PASS: TestAccApiManagementWorkspace_requiresImport
PASS: TestAccApiManagementWorkspace_complete (1752.77s)
PASS: TestAccApiManagementWorkspace_update (2750.08s)
Change Log
Below please provide what should go into the changelog (if anything) conforming to the Changelog Format documented here.
azurerm_api_management_workspace[Support for API Management Workspaces #21109]This is a (please select all that apply):
Related Issue(s)
Fixes #21109
Rollback Plan
If a change needs to be reverted, we will publish an updated version of the provider.
Changes to Security Controls
Are there any changes to security controls (access controls, encryption, logging) in this pull request? If so, explain.
Note
If this PR changes meaningfully during the course of review please update the title and description as required.