Repository navigation
Conversation
Add azure_rm_searchskillset and azure_rm_searchskillset_info to manage enrichment skillsets in an Azure AI Search service (data plane), built on the azure-search-documents SDK via the shared AzureRMSearchDataPlaneMixin (SearchIndexerClient), mirroring the merged azure_rm_searchindex pattern. Idempotent and check-mode aware. Azure redacts cognitiveServices.key on read, so it is dropped from the drift comparison; on a full-replace PUT update the module merges user-supplied keys onto the existing skillset to preserve unsupplied settings (skills, description, knowledgeStore). Because there is no "keep" sentinel for the key, the existing cognitiveServices is never echoed back; it is re-sent only when the user supplies a key. skills is required only on create. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Stands up a search service (AAD data-plane auth + Search Service Contributor) and exercises create/idempotent/info/update/delete with a self-contained text-split skill. The update changes only the description (omitting skills) to verify the PUT merge preserves the skills. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This was referenced Oct 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
SUMMARY
Adds two new modules to manage skillsets in an Azure AI Search service (data
plane), continuing the Azure AI Search module set after
azure_rm_searchindex(#2377) and
azure_rm_searchdatasource(#2384):azure_rm_searchskillset— create, update, and delete an enrichment skillset(an ordered set of skills an indexer applies during ingestion). Idempotent and
check-mode aware.
azure_rm_searchskillset_info— get a specific skillset or list all skillsets.Built on the
azure-search-documentsSDK via the sharedAzureRMSearchDataPlaneMixin(SearchIndexerClient), mirroring the mergedazure_rm_searchindex.Implementation notes:
create_or_update_skillsetis a full-replace PUT, so an update merges theuser-supplied keys onto the existing skillset to preserve settings that were not
resupplied (skills, description, knowledgeStore).
cognitiveServices.keyon read and there is no "keep" sentinel forit, so it is excluded from the drift comparison and the existing value is never
echoed back; the binding is re-sent only when the user supplies a key.
skillsis required only when creating.Validated with
ansible-test sanity --dockerand a live integration run in eastus(
ok=27 failed=0): create / idempotent re-create / info get+list / description-onlyupdate (which asserts the PUT preserves the skills) / idempotent update / delete /
idempotent delete.
ISSUE TYPE
New Module Pull Request
COMPONENT NAME
azure_rm_searchskillset
azure_rm_searchskillset_info
ADDITIONAL INFORMATION
The CI service principal needs
Microsoft.Authorization/roleAssignments/write; theintegration test grants the test principal the Search Service Contributor role
to manage data-plane object definitions.
Assisted-by: Claude Opus 4.8 (Anthropic)