Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New resource:
azurerm_container_registry_cache_rule
(#26034)
* Add an SDK client for Cache Rules * Synch vendor directory * Generate parser and validator * Verify the name of the cache rule * Fix the vendor versions * Fix the vendor versions * Create and Read * add registration and dummy test * Adjust for the correct layout * Fix the vendor versions * remove unnecessary test * feat: use container_registry_id as arg * feat: return cacherules * fix: formatting * fix: test and deps * more test fixes * feat: improve registry ID parsing for cache resource * feat: add docs for cache rule resource * fix: cache rule resource docs * fix: typo * feat: add support for CredentialSetId * fix: docs * feat: add container_registry_cache_rule data source, as well as name validation on the resource * feat: add container_registry_cache_rule data source docs * fix: formatting * Update internal/services/containers/client/client.go Co-authored-by: stephybun <[email protected]> * Update internal/services/containers/client/client.go Co-authored-by: stephybun <[email protected]> * Update internal/services/containers/client/client.go Co-authored-by: stephybun <[email protected]> * Update internal/services/containers/client/client.go Co-authored-by: stephybun <[email protected]> * Update internal/services/containers/container_registry_cache_rule_data_source.go Co-authored-by: stephybun <[email protected]> * Update internal/services/containers/container_registry_cache_rule_resource.go Co-authored-by: stephybun <[email protected]> * Update internal/services/containers/container_registry_cache_rule_resource.go Co-authored-by: stephybun <[email protected]> * Update internal/services/containers/resourceids.go Co-authored-by: stephybun <[email protected]> * Update internal/services/containers/container_registry_cache_rule_data_source.go Co-authored-by: stephybun <[email protected]> * Update internal/services/containers/container_registry_cache_rule_resource_test.go Co-authored-by: stephybun <[email protected]> * Update internal/services/containers/container_registry_cache_rule_data_source.go Co-authored-by: stephybun <[email protected]> * Update internal/services/containers/container_registry_cache_rule_data_source.go Co-authored-by: stephybun <[email protected]> * Update internal/services/containers/container_registry_cache_rule_data_source.go Co-authored-by: stephybun <[email protected]> * Update internal/services/containers/container_registry_cache_rule_resource.go Co-authored-by: stephybun <[email protected]> * Update internal/services/containers/container_registry_cache_rule_resource.go Co-authored-by: stephybun <[email protected]> * Update internal/services/containers/container_registry_cache_rule_resource.go Co-authored-by: stephybun <[email protected]> * Update internal/services/containers/container_registry_cache_rule_resource.go Co-authored-by: stephybun <[email protected]> * Update internal/services/containers/container_registry_cache_rule_resource.go Co-authored-by: stephybun <[email protected]> * Update internal/services/containers/container_registry_cache_rule_resource.go Co-authored-by: stephybun <[email protected]> * Update internal/services/containers/container_registry_cache_rule_resource_test.go Co-authored-by: stephybun <[email protected]> * feat: update go dep files * feat: use model struct for container_registry_cache_rule resource * feat: validate credential set id * Update internal/services/containers/container_registry_cache_rule_data_source.go Co-authored-by: stephybun <[email protected]> * fix: vendor and formatting updates for cache_rule * feat: use model encoding/decoding for cache rule resource * feat: use CustomizeDiff to force rebuild and container registry update to empty * fix: typo in resource diff logic for cache rule resource * feat: update cache rule name regex, and add unit tests * Update internal/services/containers/container_registry_cache_rule_resource.go Co-authored-by: stephybun <[email protected]> * Update internal/services/containers/container_registry_cache_rule_resource.go Co-authored-by: stephybun <[email protected]> * Update internal/services/containers/container_registry_cache_rule_resource.go Co-authored-by: stephybun <[email protected]> * Update internal/services/containers/container_registry_cache_rule_resource.go Co-authored-by: stephybun <[email protected]> * Update website/docs/r/container_registry_cache_rule.html.markdown Co-authored-by: stephybun <[email protected]> * Update website/docs/r/container_registry_cache_rule.html.markdown Co-authored-by: stephybun <[email protected]> * Update internal/services/containers/container_registry_cache_rule_resource.go Co-authored-by: stephybun <[email protected]> * Update internal/services/containers/container_registry_cache_rule_resource.go Co-authored-by: stephybun <[email protected]> * fix: remove unused files for cache rule * feat: remove obsolete TODO comments from cache rule resource * fix: update go deps * fix: linting and vendor modules * fix: reinitialization of cache rule context * fix: update vendor * Update internal/services/containers/container_registry_cache_rule_resource.go Co-authored-by: stephybun <[email protected]> * Update internal/services/containers/container_registry_cache_rule_resource.go Co-authored-by: stephybun <[email protected]> * Update internal/services/containers/container_registry_cache_rule_resource.go Co-authored-by: stephybun <[email protected]> * Update internal/services/containers/container_registry_cache_rule_resource.go Co-authored-by: stephybun <[email protected]> * fix: remove unused import * fix: fmt --------- Co-authored-by: Mateusz Haligowski <[email protected]> Co-authored-by: stephybun <[email protected]>
- Loading branch information