New Resource: azurerm_container_registry_credential_set#27528
New Resource: azurerm_container_registry_credential_set#27528stephybun merged 15 commits intohashicorp:mainfrom
azurerm_container_registry_credential_set#27528Conversation
internal/services/containers/container_registry_credential_set_resource.go
Outdated
Show resolved
Hide resolved
internal/services/containers/container_registry_credential_set_resource.go
Outdated
Show resolved
Hide resolved
internal/services/containers/container_registry_credential_set_resource.go
Outdated
Show resolved
Hide resolved
internal/services/containers/container_registry_credential_set_resource.go
Outdated
Show resolved
Hide resolved
internal/services/containers/container_registry_credential_set_resource.go
Outdated
Show resolved
Hide resolved
internal/services/containers/container_registry_credential_set_resource.go
Outdated
Show resolved
Hide resolved
internal/services/containers/container_registry_credential_set_resource.go
Outdated
Show resolved
Hide resolved
internal/services/containers/container_registry_credential_set_resource.go
Outdated
Show resolved
Hide resolved
internal/services/containers/container_registry_credential_set_resource.go
Outdated
Show resolved
Hide resolved
|
@stephybun with the caching rule enforcing docker.io credentials this needs to be bumped up in priority for review, please. :) |
…-credential-set # Conflicts: # internal/services/containers/client/client.go
… been updated in the main
…-credential-set # Conflicts: # .github/labeler-issue-triage.yml
…Required as discussed in the pull request (but the api will only accept type SystemAssigned)
…tyRequired to SystemAssignedIdentityRequired
internal/services/containers/container_registry_credential_set_resource.go
Outdated
Show resolved
Hide resolved
internal/services/containers/container_registry_credential_set_resource_test.go
Outdated
Show resolved
Hide resolved
internal/services/containers/container_registry_credential_set_resource_test.go
Outdated
Show resolved
Hide resolved
…sts. update markdown. update flattenIdentity
|
@jan-mrm I've opened a PR on Pandora which will patch the SDK to match the behaviour we see in the API (instead of what's been defined in the Rest API spec). Once that's made it through to hashicorp/go-azure-sdk we can bump the version in the provider, rebase this PR on top of main and get rid of the custom expand/flatten which will resolve the casing issue. |
…urned because of the implemented workaround in the go-azure-sdk
|
@stephybun thanks for the workaround implementation. I updated the go-azure-sdk and updated this branch. Local testing looks good on my end and the new acctests pass locally. |
internal/services/containers/container_registry_credential_set_resource.go
Outdated
Show resolved
Hide resolved
…_resource.go Co-authored-by: stephybun <steph@hashicorp.com>
* update for #27680 * Update CHANGELOG.md for #28465 * Update CHANGELOG.md #27932 * Update CHANGELOG.md for #28505 * Update CHANGELOG.md for #28474 * Update CHANGELOG.md #28516 * Update CHANGELOG for #28456 * Update CHANGELOG.md for #28472 * Update CHANGELOG.md #28307 * Update CHANGELOG.md for #27859 * Update for #28519 * Update for #27791 #27528 * Update CHANGELOG.md for #28527 * update changelog links and generate provider schema --------- Co-authored-by: jackofallops <11830746+jackofallops@users.noreply.github.com> Co-authored-by: catriona-m <86247157+catriona-m@users.noreply.github.com> Co-authored-by: sreallymatt <106555974+sreallymatt@users.noreply.github.com> Co-authored-by: Matthew Frahry <mbfrahry@gmail.com> Co-authored-by: jackofallops <ste@hashicorp.com>
…27528) * feat: add new resource azurerm_container_registry_credential_set * fix: set auth_credentials correctly in import test * refactor: implement review feedback * refactor: format docs * chore: update api version in new credential set resource after it has been updated in the main * chore: add changes from 'make generate' * refactor: change implementation to SystemAssignedUserAssignedIdentityRequired as discussed in the pull request (but the api will only accept type SystemAssigned) * refactor: change implementation from SystemAssignedUserAssignedIdentityRequired to SystemAssignedIdentityRequired * refactor: implement review feedback - import step and key vault in tests. update markdown. update flattenIdentity * refactor: tf fmt * refactor: update to now returned ModelSystemAssigned which is now returned because of the implemented workaround in the go-azure-sdk * Update internal/services/containers/container_registry_credential_set_resource.go Co-authored-by: stephybun <steph@hashicorp.com> --------- Co-authored-by: stephybun <steph@hashicorp.com>
* update for hashicorp#27680 * Update CHANGELOG.md for hashicorp#28465 * Update CHANGELOG.md hashicorp#27932 * Update CHANGELOG.md for hashicorp#28505 * Update CHANGELOG.md for hashicorp#28474 * Update CHANGELOG.md hashicorp#28516 * Update CHANGELOG for hashicorp#28456 * Update CHANGELOG.md for hashicorp#28472 * Update CHANGELOG.md hashicorp#28307 * Update CHANGELOG.md for hashicorp#27859 * Update for hashicorp#28519 * Update for hashicorp#27791 hashicorp#27528 * Update CHANGELOG.md for hashicorp#28527 * update changelog links and generate provider schema --------- Co-authored-by: jackofallops <11830746+jackofallops@users.noreply.github.com> Co-authored-by: catriona-m <86247157+catriona-m@users.noreply.github.com> Co-authored-by: sreallymatt <106555974+sreallymatt@users.noreply.github.com> Co-authored-by: Matthew Frahry <mbfrahry@gmail.com> Co-authored-by: jackofallops <ste@hashicorp.com>
|
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. |
Community Note
Description
Adding a new resource in order to manage Credential Sets for Azure Container Registries.
PR Checklist
For example: “
resource_name_here- description of change e.g. adding propertynew_property_name_here”Changes to existing Resource / Data Source
none
Testing
Change Log
Below please provide what should go into the changelog (if anything) conforming to the Changelog Format documented here.
azurerm_container_registry_credential_set- New resource for managing Credential Sets of Container Registries [New Resource:azurerm_container_registry_credential_set#27528]This is a (please select all that apply):
Related Issue(s)
Closes #26539
Note
If this PR changes meaningfully during the course of review please update the title and description as required.