-
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 Log Analytics Workspace Sku (PerGB2018) #1078
Comments
Found this same issue - seems terraform refuses to use the working SKU you provided.
|
@Jakexx360 It's in my PR. I'm running a local copy of my terraform-provider-azurerm fork. I'm not sure, but it might be waiting on the PerGB2018 changes to appear in the Azure SDK. |
@metacpp whilst the Swaggers been fixed, would you be able to reach out to the service team about getting the API fixed here too? Due to this API change this service isn't usable - whereas other resources such as MySQL and Postgres will silently update the SKU as needed. Thanks! |
If it's a dev env, as a temporary solution, you can put as "PerNode", which could at least create the cluster successfully. |
@metacpp This should be resolved now as Terraform is detecting the API setting now
|
Hi @whytoe, I can't be entirely certain but it looks like from that snippet terraform is changing the |
@katbyte you are correct but the Azure API is still returning that value, I thought the This is also a link to have i changed my old Terraform OMS from free to pergb2018 |
) * New Log Analytics Sku for `azurerm_log_analytics_workspace` (#1078) * Migrating to use the new SKU's. Tests pass: ``` $ acctests azurerm TestAccAzureRMLogAnalyticsWorkspace_ === RUN TestAccAzureRMLogAnalyticsWorkspace_importRequiredOnly --- PASS: TestAccAzureRMLogAnalyticsWorkspace_importRequiredOnly (136.16s) === RUN TestAccAzureRMLogAnalyticsWorkspace_importRetentionInDaysComplete --- PASS: TestAccAzureRMLogAnalyticsWorkspace_importRetentionInDaysComplete (74.59s) === RUN TestAccAzureRMLogAnalyticsWorkspace_requiredOnly --- PASS: TestAccAzureRMLogAnalyticsWorkspace_requiredOnly (129.72s) === RUN TestAccAzureRMLogAnalyticsWorkspace_retentionInDaysComplete --- PASS: TestAccAzureRMLogAnalyticsWorkspace_retentionInDaysComplete (131.16s) PASS ok github.com/terraform-providers/terraform-provider-azurerm/azurerm 471.669s ```
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! |
Terraform Version
0.11.5
Affected Resource(s)
Terraform Configuration Files
Debug Output
https://gist.github.com/MattMencel/bc48429af5d1021756a9eb44f649d8c2
Expected Behavior
Azure API accepts the Sku
Actual Behavior
Azure API rejected the Skus currently documented in the API.
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply
Important Factoids
On April 3rd, 2018 Microsoft changed the pricing tiers for Log Analytics.
https://azure.microsoft.com/en-us/blog/introducing-a-new-way-to-purchase-azure-monitoring-services/
I did some research and was able to find the new Sku name,
PerGB2018
. This is not officially documented anywhere yet that I can find. I successfully tested deployment using the new Sku.I believe the old Skus will still work if you have an older Azure subscription and have deployed Log Analytics services prior to April 3, 2018. I am unable to test this in my subscription.
References
#1079
The text was updated successfully, but these errors were encountered: