-
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
Support for Free Tier on CosmosDB #6030
Comments
This comment has been minimized.
This comment has been minimized.
@tombuildsstuff / @katbyte I am happy to submit a PR for this BUT it looks like the version of the cosmosdb SDK that the terraform provider is using will need updated to get access to this new property Are you happy for me to upgrade this? |
Dependent on #6253 |
This comment has been minimized.
This comment has been minimized.
Are there any workarounds, other than creating it manually using the Portal? Azure CLI is also dependent on the SDK #13535 |
@evandropomatti I think it is possible to create this with an arm template. If you export a free tier in the portal the settings are there. |
I had a quick look at the code to see what needs to change to get this parameter into the resource. Looking at the Azure Golang SDK the free tier boolean is set here in the The The problem is that the Azure provider uses an old version of the documentdb service, which does not include the specific property. We would need to update the version to the latest |
Depends on #7597 |
Can be closed now |
This has been released in version 2.21.0 of the provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. As an example: provider "azurerm" {
version = "~> 2.21.0"
}
# ... other configuration ... |
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! |
Community Note
Description
CosmosDb now offers a free tier, where they give 400 RU/s and 5 GB of storage for free in an account. You can enable free tier on up to one account per subscription. Is it possible to support this? I am using Pulumi and raised the issue there pulumi/pulumi-azure#480 and was told to raise it here.
I've added the Azure ARM template below as reference to the enableFreeTier property:
New or Affected Resource(s)
The text was updated successfully, but these errors were encountered: