-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
terraform throws error while creating premium tier elasticpool : azurerm_sql_elasticpool #1605
Comments
This is the terraform version i am using |
I am experiencing the exact same issue with standard tier SQL DB Pool, basic works fine.
|
I was able to get it to work, I manually configured the settings I wanted via the portal, and then looked at the Automation Script JSON file. My pool_size needed to be 51200 instead of 50000.
this worked, |
Similar issues when using Basic tier with azurerm_sql_database |
@tombuildsstuff is there any reason this keeps getting pushed back? Formatting in Base 2 was working last week, but as of Monday neither base 2 nor Base 10 formatting for pool_size is being accepted. Being able to manage Elastic Pools is a pretty critical component of Azure SQL administration. It would be great if we could get this resolved in a more timely fashion. |
This appears to be a global issue with the AzureRM SQL module failing to consume the error json. Sample error response structure: '{
"error": {
"code": "InvalidSourceDatabaseId",
"message": "Invalid source database identifier."
}
}' |
Getting same error while creating azurerm_sql_database with edition as Premium and Basic, only edition working is Standard. |
Throwing my hat in the ring here too. Experiencing this same issue creating an azurerm_sql_database using Basic edition. Standard works. terraform v0.11.8 |
Looking into this deeper there are a few issues here, none of them have to do with Terraform. There are a couple of API issues that I am chasing currently. The actual error that is coming back in the response body is:
The root issue is that if you look at the response body the |
@reddyed BTW the error you are getting back from the posted repro tf file is:
which makes sense since you have defined your
NOTE: The max
|
@maxirus @poojanKothari @eoly Thanks for reporting that you are seeing a similar issue in |
@jeffreyCline Thanks, I created #1931 for the similar issue with |
@jeffreyCline Hi, import errors in |
👋 hi all Since this appears to be an issue in the Azure SDK for Go I'm going to close this issue in favour of an upstream issue. @jeffreyCline would you be able to reference the upstream issue in the Rest API Specs/Azure SDK for Go repository which is tracking this? Thanks! |
@tombuildsstuff This is a won't fix by the SDK and Service teams since it is an old API. They are going to deprecate the old API in favor of the new 2017-10-01-preview one. |
No fix in sight then, eh? |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks! |
This issue was originally opened by @reddyed as hashicorp/terraform#18488. It was migrated here as a result of the provider split. The original body of the issue is below.
Hello,
i am able to create the azurerm_sql_elasticpool with the basic tier edition. but when i add it as premium tier in the terraform scripts, it throws error.
my script is
The error i get when i execute the terraform script is
Any help is appriciated. Thanks
The text was updated successfully, but these errors were encountered: