You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Migrate AWS access credentials data source and tests to AWS SDK v2 (#2882)
* Migrate AWS access credentials and auth login code to AWS SDK v2
* Fix flaky retry test and close IMDS response bodies
* Fix presigned request handling and test safety issues
* address reviewer comments: add timeout contexts, named error constants, wrapped errors
* address copilot comments: t.Fatalf, region fallback, region in test config
* restore per-constant comments and update region description per reviewer feedback
* address review feedback: context handling, error wrapping, test cleanup
* fix: return diag.Diagnostics from ReadContext func to satisfy schema.ReadContextFunc
* Cleanup comments
* upgrade dependency versions
* Address review comments: extract newAWSConfig helper and add empty body comment
* Add changelog entry
* Fix CI: pin vault version to avoid container failure
* Fix CI: run Vault manually with IPC_LOCK and fix matrix
* Fix Vault startup step indentation and readiness check
* Fix invalid YAML formatting
* Fix shellcheck warning: rename unused loop variable i to _
* fix: attach Vault container to service network for DNS resolution
* AWS SDK v2 migration fixes
- Restore build.yml from verified working CI run
- Update IAM auth test to use SigV4 signed POST request instead of presigned GET
- Remove unused dependency via go mod tidy
- Fix changelog entry and minor test formatting
* fix: region-specific STS endpoint, Host header, t.Fatalf for nil safety, region ambient config handling, changelog section
* fix: make propagation wait cancellable and refine AWS credential validation handling
* fix: tidy go modules
* chore: run go mod tidy to fix duplicate aws-sdk-go-v2 entries
---------
Co-authored-by: Stuti Srivastava <stuti.srivastava@hashicorp.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,6 +35,7 @@ FEATURES:
35
35
IMPROVEMENTS:
36
36
37
37
*`resource/vault_token`: Added deprecation warning to guide users toward the new ephemeral `vault_token` resource for better security and batch token support. ([#2877](https://github.com/hashicorp/terraform-provider-vault/pull/2877))
38
+
* Migrated AWS provider dependency from `aws-sdk-go` (v1) to `aws-sdk-go-v2` for improved performance and maintainability. ([#2882](https://github.com/hashicorp/terraform-provider-vault/pull/2882))
38
39
* Replaced backend with mount in `vault_aws_access_credentials` resource's documentation and improved descriptions for a few other parameters.([#2911](https://github.com/hashicorp/terraform-provider-vault/pull/2911))
0 commit comments