-
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
New Resource: azurerm_container_registry_credential_set
#27528
New Resource: azurerm_container_registry_credential_set
#27528
Conversation
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 <[email protected]>
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 your effort and patience here @jan-mrm LGTM 🚀
* 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 <[email protected]> Co-authored-by: catriona-m <[email protected]> Co-authored-by: sreallymatt <[email protected]> Co-authored-by: Matthew Frahry <[email protected]> Co-authored-by: jackofallops <[email protected]>
…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 <[email protected]> --------- Co-authored-by: stephybun <[email protected]>
* 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 <[email protected]> Co-authored-by: catriona-m <[email protected]> Co-authored-by: sreallymatt <[email protected]> Co-authored-by: Matthew Frahry <[email protected]> Co-authored-by: jackofallops <[email protected]>
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.