Skip to content

Backport: Fix repository authentication with temporary credentials - #12

Merged
schnell3526 merged 3 commits into
mainfrom
fix/repository-auth-temporary-credentials
Feb 1, 2026
Merged

Backport: Fix repository authentication with temporary credentials#12
schnell3526 merged 3 commits into
mainfrom
fix/repository-auth-temporary-credentials

Conversation

@schnell3526

Copy link
Copy Markdown
Owner

Summary

  • Backport of upstream PR hashicorp/terraform-provider-helm#1687
  • Fix repository authentication failure when using temporary credentials (e.g., AWS STS tokens, ECR tokens) during helm_release update operations

Changes

  • Use plan credentials instead of state credentials in Update() for OCI registry login
  • Rename state variable to plan in Create() for consistency with Terraform Plugin Framework conventions

Original Author

Cherry-picked from upstream with original author attribution preserved:

Closes #10

@github-actions github-actions Bot added the size/M label Feb 1, 2026
Update two instances where state variable was still referenced
after renaming to plan:
- state.Timeouts.Create -> plan.Timeouts.Create
- resp.State.Set(ctx, &state) -> resp.State.Set(ctx, &plan)

These were fork-specific additions that weren't covered by the
upstream cherry-pick.
@schnell3526 schnell3526 self-assigned this Feb 1, 2026
@schnell3526
schnell3526 merged commit c83fb15 into main Feb 1, 2026
13 checks passed
@schnell3526
schnell3526 deleted the fix/repository-auth-temporary-credentials branch February 1, 2026 03:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Backport: Fix repository authentication with temporary credentials

2 participants