-
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 analytical store in azurerm_cosmosdb_sql_container #10198
Comments
This one has been implemented and merged as part of #10055 |
@favoretti Yes, this enables the capability of analytical storage in the cosmosdb account. But we still need to enable the analytical store for each cosmosdb sql container seperately. |
Ahh, sorry, lacked coffee...
…On Tue, 19 Jan 2021 at 13:05, TobiTh ***@***.***> wrote:
@favoretti <https://github.com/favoretti> Yes, this enables the
capability of analytical storage in the cosmosdb account. But we still need
to enable the analytical store for each cosmosdb sql container seperately.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#10198 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGERNWFCHIZO4N5IPBICI3S2VYPHANCNFSM4WD5DSEQ>
.
|
It looks like the capability for this should be there in the current SDK if I'm reading it right. The other SDK's seem to enable this on containers by setting the |
@favoretti Sounds like this is potentially supported via the SDK that's currently in use now, yes? |
Yep, I'm happy to implement it, just trying to understand how the portal shows off/on (no default)/on as a choice and API has an integer as a value.. |
Nevemind, tests showed how it works, which is sort of weird, but let me try an implementation. |
…nt (#11655) ``` $ TF_ACC=1 go test -v ./azurerm/internal/services/cosmos -timeout=1000m -run 'TestAccCosmosDbSqlContainer_analyticalStorageTTL' 2021/05/11 10:28:44 [DEBUG] not using binary driver name, it's no longer needed 2021/05/11 10:28:47 [DEBUG] not using binary driver name, it's no longer needed === RUN TestAccCosmosDbSqlContainer_analyticalStorageTTL === PAUSE TestAccCosmosDbSqlContainer_analyticalStorageTTL === CONT TestAccCosmosDbSqlContainer_analyticalStorageTTL --- PASS: TestAccCosmosDbSqlContainer_analyticalStorageTTL (1009.36s) PASS ok github.com/terraform-providers/terraform-provider-azurerm/azurerm/internal/services/cosmos 1017.167s ``` Fixes #10198
…nt (hashicorp#11655) ``` $ TF_ACC=1 go test -v ./azurerm/internal/services/cosmos -timeout=1000m -run 'TestAccCosmosDbSqlContainer_analyticalStorageTTL' 2021/05/11 10:28:44 [DEBUG] not using binary driver name, it's no longer needed 2021/05/11 10:28:47 [DEBUG] not using binary driver name, it's no longer needed === RUN TestAccCosmosDbSqlContainer_analyticalStorageTTL === PAUSE TestAccCosmosDbSqlContainer_analyticalStorageTTL === CONT TestAccCosmosDbSqlContainer_analyticalStorageTTL --- PASS: TestAccCosmosDbSqlContainer_analyticalStorageTTL (1009.36s) PASS ok github.com/terraform-providers/terraform-provider-azurerm/azurerm/internal/services/cosmos 1017.167s ``` Fixes hashicorp#10198
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. |
Community Note
Description
Could you please add the possibility to enable the analytical store when creating a new sql container?
In Azure, you can enable it in the "create container" dialog:
New or Affected Resource(s)
Potential Terraform Configuration
References
The following pull request fixes the enabling of the analytical storage for a cosmosdb account (not a sql container)
#10055
The text was updated successfully, but these errors were encountered: