-
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_new_relic_monitor
#21958
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.
Looks like you'll need to update the test regions:
Error: creating Monitor (Subscription: "*******"
Resource Group Name: "acctest-rg-230613163328551874"
Monitor Name: "acctest-nrm-230613163328551874"): performing CreateOrUpdate: unexpected status 400 with error: LocationNotAvailableForResourceType: The provided location 'eastus2' is not available for resource type 'NewRelic.Observability/monitors'. List of available regions for the resource type is 'eastus'.
Hi @katbyte, thank you for your review. I have limited the test region in setting.kt. I think it should take effect after merging into the main branch. I have also test it on TC with explicitly setting the region to eastus and all testcases passed. |
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.
Thaks, LGTM 🌵
Co-authored-by: kt <kt@katbyte.me>
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. |
Swagger:
https://github.com/Azure/azure-rest-api-specs/blob/main/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/NewRelic.json
Test Result:
Please Register
NewRelic.Observability
to your subscription before testing.--- PASS: TestAccNewRelicMonitor_basic (271.76s)
--- PASS: TestAccNewRelicMonitor_requiresImport (285.08s)
--- PASS: TestAccNewRelicMonitor_complete (318.12s)
PASS
ok github.com/hashicorp/terraform-provider-azurerm/internal/services/newrelic 345.954s