-
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_cognitive_deployment dynamic quota #25401
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.
Thanks for this PR @guilhem. I left some suggestions in-line, once those have been fixed up and the conflicts resolved we can run the tests.
internal/services/cognitive/cognitive_deployment_resource_test.go
Outdated
Show resolved
Hide resolved
internal/services/cognitive/cognitive_deployment_resource_test.go
Outdated
Show resolved
Hide resolved
hey @guilhem , really appreciate the work you did! |
6b950a7
to
dfbef1e
Compare
@justrp that should be ok |
Signed-off-by: Guilhem Lettron <[email protected]>
terrafmt fix |
hey @stephybun , could you please check this PR? :) |
Is there a status on this PR? While there are potential work-arounds, this feature is important for us. |
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 @guilhem - however it looks like we need to enable a feature to include this property in the payload? tests are fialing for us with:
------- Stdout: -------
=== RUN TestAccCognitiveAccount_dynamicThrottlingEnabled
=== PAUSE TestAccCognitiveAccount_dynamicThrottlingEnabled
=== CONT TestAccCognitiveAccount_dynamicThrottlingEnabled
testcase.go:113: Step 1/6 error: Error running apply: exit status 1
Error: creating Account (Subscription: "*******"
Resource Group Name: "acctestRG-cognitive-240618210056039722"
Account Name: "acctestcogacc-240618210056039722"): unexpected status 400 (400 Bad Request) with error: SpecialFeatureOrQuotaIdRequired: The subscription does not have QuotaId/Feature required by SKU 'S0' from kind 'LUIS' or contains blocked QuotaId/Feature.
with azurerm_cognitive_account.test,
on terraform_plugin_test.tf line 28, in resource "azurerm_cognitive_account" "test":
28: resource "azurerm_cognitive_account" "test" {
--- FAIL: TestAccCognitiveAccount_dynamicThrottlingEnabled (169.38s)
FAIL
could you update the documentation on how users can enable this feature? And will adding this break the resource for users who have not enabled it?
Hey, has there been any progress on that? This is quite an important piece for making cognitive deployments to Azure for us. |
Can we get a validation on this? The error received in the test is usually caused by using a free or student account, which no longer support Cognitive Services deployments. A pay-as-you-go subscription is required. Also, your subscription must be approved by MS and you must be creating resources in the approved region. Often people get approved for eastus, but specify eastus2 as their region. Lastly, I believe the S0 SKUs were retired from some Kinds and are no longer available and that is the referenced SKU in the error message. Just trying to move this PR along. |
@plieberg - the subscription is not a free/student one, however if S0 has been retired it likely means this pr (and the rest of the service) tests need to be updated to pass. Once that (and the merge conflicts are fixed) we can look at this PR again |
This PR is being labeled as "stale" because it has not been updated for 30 or more days. If this PR is still valid, please remove the "stale" label. If this PR is blocked, please add it to the "Blocked" milestone. If you need some help completing this PR, please leave a comment letting us know. Thank you! |
Since we haven't heard back and this PR has been marked as stale I'm going to close this for the moment. If someone is willing to pick this work up again let us know and we can reopen this, or feel free to open a fresh PR (might be better given the merge conflicts this has accumulated). |
@stephybun it's just the developer experience working on this providers is horrible. |
@guilhem I understand that the experience of opening a PR for this project is inconsistent and I apologise for the intermittent attention it has received and any frustration this has caused for you. If you decide to contribute again in future (and we're hoping that you do!) I can provide some guidelines that you can follow to get your PRs reviewed and merged quicker. Generally speaking the more changes a PR contains the longer it will take us to review. The more review cycles a PR requires the longer it will take us to keep coming back to it This PR
In our guidelines for opening a PR we would recommend splitting this into 3 PRs, which is how #28100 made it in so quickly. |
@stephybun thanks ;) |
Community Note
Description
PR Checklist
For example: “
resource_name_here
- description of change e.g. adding propertynew_property_name_here
”Changes to existing Resource / Data Source
Testing
Change Log
Below please provide what should go into the changelog (if anything) conforming to the Changelog Format documented here.
azurerm_resource
- support for thething1
property [GH-00000]This is a (please select all that apply):
Related Issue(s)
Fixes #23988
Note
If this PR changes meaningfully during the course of review please update the title and description as required.