-
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_search_service:Update basic SKU partition count from 1 to 3 #28105
azurerm_search_service:Update basic SKU partition count from 1 to 3 #28105
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.
Thanks for this @Gnana-Bharathi-K - this looks good to me, but could we include a basic sku with partition count set to 3 in the tests so we can confirm this works as expected? Thanks!
Hi @catriona-m Thanks for reviewing I have updated the basic SKU partition count in tests to 3 from 4 kindly please review the tests. Added the conditions to check the count and error message as well to prompt if partition count greater than 3 |
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.
Hi @Gnana-Bharathi-K I've left one comment inline for you to consider. It would be good if we could also add a test with a basic sku and partition count of 3 to ensure it is working correctly. Thanks!
Hi @catriona-m The Test Results for your reference Please let me know if further details required |
Thanks for updating the existing test @Gnana-Bharathi-K. Could you also add a new test using the partitionCount config using a basic sku and a partition count of 3 so that we can confirm that it is possible to create an Thank you! |
Hi @catriona-m executed the test function with partition count 3 and SKU as basic, the search service successfully deployed in the azure portal. Resource Group Name "acctestRG-search-241126180102558706" I have added separate combined test function "TestAccSearchService_partitionCountvalidBySkuBasic" to test and let me know if we need separate test function only for deployment or combined test function. |
Hi @catriona-m , please let me know is there something I need to perform ! |
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 for updating this @Gnana-Bharathi-K - it looks like there's a linting issue, could you run make fmt
on this to fix it? Thanks!
Hi @catriona-m updated the format of the file search_service_resource_test.go |
@catriona-m Updated the lint format with running gofmt against the file search_service_resource_test.go there was an extra line space which was resolved. |
I think all the test cases been passed successfully, is there something we still need to review @catriona-m ? |
@catriona-m please let me know if the there is any changes need to be done by my end thanks ! |
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 for updating this @Gnana-Bharathi-K - LGTM!
Hi @catriona-m thanks for updates and I guess everything went well ! Let me know if something needs to addressed thanks for the collaboration! |
Community Note
Description
PR Checklist
For example: “
resource_name_here
- description of change e.g. adding propertynew_property_name_here
”Changes to existing Resource / Data Source
Testing
Change Log
Below please provide what should go into the changelog (if anything) conforming to the Changelog Format documented here.
azurerm_resource
- support for thething1
property [GH-00000]This is a (please select all that apply):
Related Issue(s)
Fixes #0000
Note
If this PR changes meaningfully during the course of review please update the title and description as required.