-
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_cosmosdb_account - primary_sql_connection_string, secondary_sql_connection_string, primary_readonly_sql_connection_string, secondary_readonly_sql_connection_string #17810
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.
hey @lewis-od
Thanks for this PR - taking a look through on the whole this is looking pretty good but I think it could be worth adding sql
to the property names since there's different interfaces available to CosmosDB (e.g. SQL / Mongo etc) depending on what's provisioned - WDYT?
Thanks!
Hey @tombuildsstuff, thanks for the quick review! Ah yeah good point - will update as suggested 😊 |
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 @lewis-od, but i think something odd is going on here as i am seeing a lot of failing tests:
------- Stdout: -------
=== RUN TestAccCosmosDBAccount_basic_mongo_strong_without_capability
=== PAUSE TestAccCosmosDBAccount_basic_mongo_strong_without_capability
=== CONT TestAccCosmosDBAccount_basic_mongo_strong_without_capability
testcase.go:110: Step 1/2 error: Check failed: 1 error occurred:
* Check 1/1 error: Check 14/17 error: azurerm_cosmosdb_account.test: Attribute 'primary_connection_string' expected to be set
--- FAIL: TestAccCosmosDBAccount_basic_mongo_strong_without_capability (844.62s)
FAIL
Ah sorry yeah looks like there's 2 issues:
Will have a look at fixing these |
@katbyte okay hopefully those tests should pass now! I've not been able to run all of them, but have ran a couple of both the The |
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.
354946f
to
7a117d7
Compare
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 @lewis-od ! LGTM 🍄
This functionality has been released in v3.28.0 of the Terraform Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions. |
Add individual connection string attributes to
cosmosdb_account
resourceCloses #15947