-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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_container_registry_task
- Fix missing authentication
when updating
#17002
azurerm_container_registry_task
- Fix missing authentication
when updating
#17002
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.
One comment about readability but this otherwise LGTM 👍
internal/services/containers/container_registry_task_resource.go
Outdated
Show resolved
Hide resolved
@tombuildsstuff Thank you for the comment! I've refine it and please take another look! |
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.
If we de-reference this prior to passing this in, we remove doing that from within the method, which removes some of the complexity/potential bugs fwiw - but this otherwise LGTM 👍
internal/services/containers/container_registry_task_resource.go
Outdated
Show resolved
Hide resolved
internal/services/containers/container_registry_task_resource.go
Outdated
Show resolved
Hide resolved
internal/services/containers/container_registry_task_resource.go
Outdated
Show resolved
Hide resolved
This functionality has been released in v3.9.0 of the Terraform Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
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. |
Fix #16959
The
source_trigger.authentication
is not returned in the GET response. When there is an update to other attributes other thansource_trigger
, as we conditionally expandsource_trigger
(only when itHasChanged
), the content ofsource_trigger
was from the GET response, therefore missing thesource_trigger.authentication
. API then complains.This PR adds a special patch to the
source_trigger.authentication
in this case, right after the conditional expansion.Test