Commit graph

101 commits

Author SHA1 Message Date
Daniel Banck
a39e3bce32
make syncdeps 2026-02-23 18:09:29 +01:00
Sarah French
817ed318db
chore: Update go version from 1.25 to 1.25.7 (#38185)
Some checks are pending
build / Build for windows_amd64 (push) Blocked by required conditions
build / Build for freebsd_arm (push) Blocked by required conditions
build / Build for linux_arm (push) Blocked by required conditions
build / Build for darwin_arm64 (push) Blocked by required conditions
build / Build for linux_arm64 (push) Blocked by required conditions
build / Build for windows_arm64 (push) Blocked by required conditions
build / Build Docker image for linux_386 (push) Blocked by required conditions
build / Build Docker image for linux_amd64 (push) Blocked by required conditions
build / Build Docker image for linux_arm (push) Blocked by required conditions
build / Build Docker image for linux_arm64 (push) Blocked by required conditions
build / Build e2etest for linux_386 (push) Blocked by required conditions
build / Build e2etest for windows_386 (push) Blocked by required conditions
build / Build e2etest for darwin_amd64 (push) Blocked by required conditions
build / Build e2etest for linux_amd64 (push) Blocked by required conditions
build / Build e2etest for windows_amd64 (push) Blocked by required conditions
build / Build e2etest for linux_arm (push) Blocked by required conditions
build / Build e2etest for darwin_arm64 (push) Blocked by required conditions
build / Build e2etest for linux_arm64 (push) Blocked by required conditions
build / Run e2e test for linux_386 (push) Blocked by required conditions
build / Run e2e test for windows_386 (push) Blocked by required conditions
build / Run e2e test for darwin_amd64 (push) Blocked by required conditions
build / Run e2e test for linux_amd64 (push) Blocked by required conditions
build / Run e2e test for windows_amd64 (push) Blocked by required conditions
build / Run e2e test for linux_arm (push) Blocked by required conditions
build / Run e2e test for linux_arm64 (push) Blocked by required conditions
build / Run terraform-exec test for linux amd64 (push) Blocked by required conditions
Quick Checks / Unit Tests (push) Waiting to run
Quick Checks / Race Tests (push) Waiting to run
Quick Checks / End-to-end Tests (push) Waiting to run
Quick Checks / Code Consistency Checks (push) Waiting to run
* chore: Update go version from 1.25 to 1.25.7

* chore: make syncdeps
2026-02-17 17:09:45 +00:00
Radek Simko
0fe906fa8c make copyrightfix 2026-02-17 13:56:34 +00:00
Radek Simko
244443b3e0 make syncdeps 2026-02-17 13:56:34 +00:00
Brandon Croft
1df7030c5a Revert "make syncdeps"
This reverts commit c42d0006fe.
2026-02-13 09:04:30 -07:00
Brandon Croft
c42d0006fe make syncdeps 2026-02-04 09:11:20 +01:00
Jared Baker
6475423325
backend/s3: bump github.com/hashicorp/aws-sdk-go-base/v2
Incrementing the `aws-sdk-go-base` dependecy will also pull in the latest version of the AWS SDK for Go V2, which includes support for the newly launched `aws login` authentication method.
2026-01-08 10:59:37 -05:00
James Pogran
2c075b9f8e
Add component registry source resolution support to Terraform Stacks (#37888)
* Add component registry source resolution support to Terraform Stacks

This change implements the missing component source resolution case in the stack configuration loader, enabling Terraform Stacks to properly handle component registry sources from HCP Terraform and other component registries.

The implementation mirrors the existing module registry resolution workflow, where component sources are first resolved to their versioned form using the source bundle's component metadata, then converted to final source addresses that can be used to locate the actual component code. This completes the integration between the terraform-registry-address component parsing capabilities and the go-slug sourcebundle component resolution APIs.

* chore: bump go-slug to v0.18.1

* fix: add case for component final source type

* chore: rm space

* chore: sync module deps

* chore: update testdata with separate bundle

* fix: manifest file json obj with trailing comma

* Add changelog entry to 1.14

---------

Co-authored-by: Michael Yocca <michael.yocca@hashicorp.com>
2025-12-10 09:16:03 -05:00
dependabot[bot]
7034a193d9
build(deps): bump golang.org/x/crypto from 0.44.0 to 0.45.0 (#37925)
Some checks are pending
build / Build for windows_amd64 (push) Blocked by required conditions
build / Build for freebsd_arm (push) Blocked by required conditions
build / Build for linux_arm (push) Blocked by required conditions
build / Build for darwin_arm64 (push) Blocked by required conditions
build / Build for linux_arm64 (push) Blocked by required conditions
build / Build for windows_arm64 (push) Blocked by required conditions
build / Build Docker image for linux_386 (push) Blocked by required conditions
build / Build Docker image for linux_amd64 (push) Blocked by required conditions
build / Build Docker image for linux_arm (push) Blocked by required conditions
build / Build Docker image for linux_arm64 (push) Blocked by required conditions
build / Build e2etest for linux_386 (push) Blocked by required conditions
build / Build e2etest for windows_386 (push) Blocked by required conditions
build / Build e2etest for darwin_amd64 (push) Blocked by required conditions
build / Build e2etest for linux_amd64 (push) Blocked by required conditions
build / Build e2etest for windows_amd64 (push) Blocked by required conditions
build / Build e2etest for linux_arm (push) Blocked by required conditions
build / Build e2etest for darwin_arm64 (push) Blocked by required conditions
build / Build e2etest for linux_arm64 (push) Blocked by required conditions
build / Run e2e test for linux_386 (push) Blocked by required conditions
build / Run e2e test for windows_386 (push) Blocked by required conditions
build / Run e2e test for darwin_amd64 (push) Blocked by required conditions
build / Run e2e test for linux_amd64 (push) Blocked by required conditions
build / Run e2e test for windows_amd64 (push) Blocked by required conditions
build / Run e2e test for linux_arm (push) Blocked by required conditions
build / Run e2e test for linux_arm64 (push) Blocked by required conditions
build / Run terraform-exec test for linux amd64 (push) Blocked by required conditions
Quick Checks / Unit Tests (push) Waiting to run
Quick Checks / Race Tests (push) Waiting to run
Quick Checks / End-to-end Tests (push) Waiting to run
Quick Checks / Code Consistency Checks (push) Waiting to run
* build(deps): bump golang.org/x/crypto from 0.44.0 to 0.45.0

Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.44.0 to 0.45.0.
- [Commits](https://github.com/golang/crypto/compare/v0.44.0...v0.45.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-version: 0.45.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* run syncdeps

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Daniel Banck <daniel@dbanck.de>
2025-11-21 10:54:50 +00:00
Sarah French
1dd8e60f15
chore: Bump golang.org/x/crypto dependency, ignore SA4003 linting errors globally (#37901)
Some checks failed
build / Build for freebsd_amd64 (push) Has been cancelled
build / Build for linux_amd64 (push) Has been cancelled
build / Build for openbsd_amd64 (push) Has been cancelled
build / Build for solaris_amd64 (push) Has been cancelled
build / Build for windows_amd64 (push) Has been cancelled
build / Build for freebsd_arm (push) Has been cancelled
build / Build for linux_arm (push) Has been cancelled
build / Build for darwin_arm64 (push) Has been cancelled
build / Build for linux_arm64 (push) Has been cancelled
build / Build for windows_arm64 (push) Has been cancelled
build / Build Docker image for linux_386 (push) Has been cancelled
build / Build Docker image for linux_amd64 (push) Has been cancelled
build / Build Docker image for linux_arm (push) Has been cancelled
build / Build Docker image for linux_arm64 (push) Has been cancelled
build / Build e2etest for linux_386 (push) Has been cancelled
build / Build e2etest for windows_386 (push) Has been cancelled
build / Build e2etest for darwin_amd64 (push) Has been cancelled
build / Build e2etest for linux_amd64 (push) Has been cancelled
build / Build e2etest for windows_amd64 (push) Has been cancelled
build / Build e2etest for linux_arm (push) Has been cancelled
build / Build e2etest for darwin_arm64 (push) Has been cancelled
build / Build e2etest for linux_arm64 (push) Has been cancelled
build / Run e2e test for linux_386 (push) Has been cancelled
build / Run e2e test for windows_386 (push) Has been cancelled
build / Run e2e test for darwin_amd64 (push) Has been cancelled
build / Run e2e test for linux_amd64 (push) Has been cancelled
build / Run e2e test for windows_amd64 (push) Has been cancelled
build / Run e2e test for linux_arm (push) Has been cancelled
build / Run e2e test for linux_arm64 (push) Has been cancelled
build / Run terraform-exec test for linux amd64 (push) Has been cancelled
* chore: Upgrade golang.org/x/crypto - `go get golang.org/x/crypto@v0.44.0`

* chore: Upgrade golang.org/x/crypto in submodules - `make syncdeps`

* chore: Run `make generate`

* chore: Ignore SA4003 linter error globally, as `golang.org/x/tools/cmd/stringer` generates code that breaks this rule when it's used with custom types that have unsigned integers or bytes as the underlying type.
2025-11-17 15:01:28 +00:00
Sarah French
f4d0ec5136
PSS: Fix hashing without provider version (#37852)
* Fix panic hashing backend config when a builtin or reattached provider is used for PSS

* Add test showing a nil *version.Version is tolerated by the Hash method, refactor existing test

* Protect against provider version data missing when using an un-reattached, un-builtin provider. Add test coverage.

* Make reporting errors from reattach.IsProviderReattached more consistent

* Run `make syncdeps`

* Update tests to show when nil provider data is tolerated
2025-11-05 11:20:36 +00:00
Dirk Avery
edb3f6487d Bump go-getter v1.8.2 2025-10-09 18:15:58 -04:00
Liam Cervante
6b17cfe2e5
actions: connect invoke flag with TFC (#37544)
* actions: connect invoke flag with TFC

* use latest go-tfe
2025-10-08 19:29:32 +02:00
Dirk Avery
c5cdbf00c6 sync deps 2025-10-02 17:13:42 -04:00
Daniel Banck
1ac8497994
Add support for Terraform Search in the cloud backend (TF-25935) (#37479) 2025-09-15 13:21:05 +02:00
Kristin Laemmert
bbb8af989c
deps: bump xz to address bug in previous version (#37573)
* deps: bump xz, bug in previous version
2025-09-08 14:48:26 -04:00
Dirk Avery
92bf04ae16 bump: go-getter to 1.8.0 2025-09-05 17:39:55 -04:00
Sarah French
508234892c
Update remote.Client interface's methods to return diagnostics instead of primitive errors (#37502)
* Update remote package's Client interface to use diagnostics instead of errors

* Update all implementations of Client interface to match changes, update calling code (incl. tests) to use diags.
2025-09-05 11:04:47 +01:00
Sarah French
8503c45013
Update backend.Backend's StateMgr method to return diagnostics instead of primitive errors (#37496)
* Fix S3 backend test affected by making the Workspaces method return errors via diagnostics

* Address diagnostics comparison issues in test by ensuring expected diagnostics are defined in the context of the config they're triggered by

* Fix failing test case `TestBackendConfig_EC2MetadataEndpoint/envvar_invalid_mode` by making `diagnosticBase` struct comparable

* Add compile-time checks that diagnostic types fulfil interfaces

* Stop diagnosticBase implementing ComparableDiagnostic, re-add S3-specific comparer code to s3 package

* Update tests to use the S3-specific comparer again

* Fix test case missed in refactoring

* Update the backend.Backend interface to use diagnostics as return value from StateMgr method

* Fix calls to `Fatalf`
2025-09-04 11:14:35 +01:00
Amartya Majumdar
54af16eab9
[IPL-7725] Updating Calls to the Remote HCP Terraform API to Retrieve All Workspace Variables (#37241)
* [IPL-7725] Resolving merge conflicts

* [IPL-7725] Updating go.sum files

---------

Co-authored-by: Amartya Majumdar <a.majumdar1041@gmail.com>
2025-09-03 15:26:07 +02:00
Deniz Onur Duzgun
05dfb52c2d
bump: go-getter to v1.7.9 (#37452)
* bump: go-getter to v1.7.9

* run sync deps

---------

Co-authored-by: Samsondeen Dare <samsondeen.dare@hashicorp.com>
2025-08-19 14:42:36 -04:00
Sarah French
62b3ba590a
Update backend.Backend interface to return diagnostics from Workspaces and DeleteWorkspace methods (#37430)
* Update Backend interface to use diagnostics for `DeleteWorkspace` and `Workspaces` methods

* Update testing helpers in backend package

* Update pluggable package to match interface changes

* Update builtin terraform provider package to match interface changes

* Update code in Meta-related files in command package; update error check logic

* Update workspace commands; update error check logic

* Update Local backend package to match interface changes

* Update Cloud backend to match interface changes

* Update Remote backend to match interface changes

* Update cos remote-state backend to match interface changes

* Update inmem remote-state backend to match interface changes

* Update pg remote-state backend to match interface changes

* Update http remote-state backend to match interface changes

* Update consul remote-state backend to match interface changes

* Update oss remote-state backend to match interface changes

* Update kubernetes remote-state backend to match interface changes

* Update gcs remote-state backend to match interface changes

* Update s3 remote-state backend to match interface changes

* Update oci remote-state backend to match interface changes

* Update azure remote-state backend to match interface changes

* Allow warnings from Workspaces and DeleteWorkspace methods to be logged or returned to calling code

* Fix defect in inmem backend test

* Change how warnings from workspace-related methods are output to view/ui
2025-08-18 19:03:31 +01:00
Samsondeen
9f01530237
go: bump version to 1.25 (#37436) 2025-08-18 12:17:59 +02:00
James Bardin
54f1f14726 make syncdeps 2025-08-12 14:05:10 -04:00
Sarah French
39f7920387
PSS: Add packages for presenting a provider as an instance of backend.Backend (#37291)
* Add code to 'wrap' a provider implementation so that it can behave like a backend.Backend

* Add code for creating a state manager that will interact with a provider via grpc to interact with state

* Remove prototyping code

* Update old implementation of PrepareConfig on Pluggable to match new RPC names

* Implement Configure method on Pluggable

* Implement Workspaces and DeleteWorkspace methods on Pluggable

* Prevent construction of a pluggable with missing data, add godoc comment to NewPluggable

* Add godoc comment to ConfigSchema

* Refactor how we create a state manager for interacting with PSS

Now we reuse the remote.State struct and all the pre-existing logic there. We still wrap the provider interface to enable use of gRPC methods, but that's now done using the remote.Client interface.

* Rename file

* Move file into the remote package

* Rename file and package to `pluggable`

* Add test for the only method implemented fully on `grpcClient` : Delete

* Add tests for `NewPluggable`

* Add tests for (Pluggable).ConfigSchema method, make minor fixes

* Change mocks: hardcoded response or logic should return before default logic in method.

* Add tests for (Pluggable).PrepareConfig method

* Add tests for (Pluggable).Configure method

* Add tests for (Pluggable).Workspaces method

* Add tests for (Pluggable).DeleteWorkspace method

* Fix rebase

* Run `make syncdeps`

* Add headers

* Add missing comments

* No need to implement ClientForcePusher

* Apply feedback from review, make small tweaks to test failure messages
2025-07-09 18:22:12 +01:00
Radek Simko
71a300c8f7
go: bump version to 1.24.5 (#37304) 2025-07-09 13:53:51 +02:00
Liam Cervante
2a1b4c3ed4
Update go-cty and HCL for 1.13 release (#37298) 2025-07-09 13:05:18 +02:00
Radek Simko
af07bd388e
deps: Bump terraform-registry-address to v0.3.0 (#37230)
* deps: Bump terraform-registry-address to v0.3.0

* make syncdeps
2025-06-11 13:39:51 +00:00
Syed Shahidh Ilhan F
434bbc4e2f
fix: Update K8s and Consul API dependencies to address security vulnerabilities (#37150)
* bump vulnerable packages

Signed-off-by: SYSHIL <ilhan.syed@gmail.com>

* make syncdeps

Signed-off-by: SYSHIL <ilhan.syed@gmail.com>

---------

Signed-off-by: SYSHIL <ilhan.syed@gmail.com>
2025-05-29 21:10:24 +01:00
James Bardin
cda65e3d9f make syncdeps 2025-05-08 12:21:22 -04:00
Ravi Prakash Bharti
804e970211
Added Terraform backend implementation for OCI Object Storage (#36872)
* Added Terraform backend implementation for OCI Object Storage

* Update website/docs/language/backend/oci.mdx

updated suggestion

Co-authored-by: Sarah French <15078782+SarahFrench@users.noreply.github.com>

* Update website/docs/language/backend/oci.mdx

Added suggestion

Co-authored-by: Sarah French <15078782+SarahFrench@users.noreply.github.com>

* Update website/docs/language/backend/oci.mdx

added suggestions

Co-authored-by: Sarah French <15078782+SarahFrench@users.noreply.github.com>

* Addressed  feedback for variable prefix, documentation, prepareConfig

* removed additional logs

* Removed md5hash seperate file

* Fix doc

* go.mod

* Added mandatory Unit test for oci backend

* run go mod tidy and added test for TestBackendStateLocksInWS and TestBackendStateForceUnlockInWS

* moved changelog to v1.12.0

* Addressed feedback_April_16 removed global log, Added tests and codeowner

* mod file

* Update CODEOWNERS

Co-authored-by: Radek Simko <radeksimko@users.noreply.github.com>

* Addressed feedbach april 17th

* mock env var and unset region for InstancePrincipal

* syncdeps fix

* goimports fix

* Update internal/backend/remote-state/oci/backend_test.go

Co-authored-by: Radek Simko <radeksimko@users.noreply.github.com>

---------

Co-authored-by: Sarah French <15078782+SarahFrench@users.noreply.github.com>
Co-authored-by: Radek Simko <radeksimko@users.noreply.github.com>
2025-04-22 09:38:18 +01:00
Daniel Banck
0fb145daa8
Bump Go version to 1.24.2 (#36870) 2025-04-10 11:28:07 +02:00
Ricard Bejarano
200f4cabb0
Bump golang.org/x/net from 0.37.0 to 0.38.0 (fixes CVE-2025-22872) (#36800)
* Bump golang.org/x/net from 0.37.0 to 0.38.0 (fixes CVE-2025-22872)

Signed-off-by: Ricard Bejarano <ricard@bejarano.io>

* add changelog entry

* go mod tidy

Signed-off-by: Ricard Bejarano <ricard@bejarano.io>

* Revert "add changelog entry"

This reverts commit 88219e78e9.

* make syncdeps

Signed-off-by: Ricard Bejarano <ricard@bejarano.io>

---------

Signed-off-by: Ricard Bejarano <ricard@bejarano.io>
2025-04-01 12:00:36 +01:00
Sarah French
6ef0498f9c
Update to Go 1.24.1, update dependencies (#36790)
* go get github.com/hashicorp/go-azure-helpers@v0.72.0

* .go-version to 1.24.1

* Run `./scripts/syncdeps.sh`

This propagates the Go version upgrade

* gcs : go get google.golang.org/api@v0.155.0

* gcs: go mod tidy

* Run `./scripts/syncdeps.sh`

* make generate && make protobuf
2025-03-27 17:15:46 +00:00
Sarah French
a04664a2e5
Update hashicorp/go-plugin dependency (#36561)
* go get github.com/hashicorp/go-plugin

* ./scripts/syncdeps.sh

* make protobuf
2025-03-26 12:09:01 +00:00
Sarah French
53172a5f8a
Bump golang.org/x/net to v0.36.0 (#36691)
* go get golang.org/x/net@v0.36.0

* go mod tidy

* Run syncdeps.sh
2025-03-13 11:23:48 +00:00
Sebastian Marines
9237b11277
backend/s3: update hashicorp/aws-sdk-go-base/v2 to v2.0.0-beta62
This upgrade will add support for S3 backends in several new regions,
including `mx-central-1`.
2025-03-06 11:09:19 -05:00
Sarah French
b0dbd66eeb
Bump golang.org/x/oauth2 from v0.23.0 to v0.27.0 (#36584)
* go get golang.org/x/oauth2@v0.27.0

* Run syncdeps.sh

* Add change file for backport to v1.11.1
2025-02-28 10:05:03 +00:00
James Bardin
bc45d60936 make syncdeps 2025-02-12 12:25:36 -05:00
Radek Simko
c40c9378a1
go: bump version to 1.24 (#36478)
* go: bump version to 1.24

* add changelog entry
2025-02-12 17:11:19 +00:00
James Bardin
f9de7186ae make syncdeps 2025-02-04 07:22:49 -05:00
Liam Cervante
270aaeb69a
update go-cty to latest patch release (#36376)
* update go-cty to latest patch release

* also fixes other bug
2025-01-22 11:10:23 +01:00
Sarah French
a8b126aeff
Upgrade hashicorp/go-getter dependency (#36326)
* go get github.com/hashicorp/go-getter@v1.7.8

* Sync deps
2025-01-21 10:42:39 +00:00
dependabot[bot]
e538e0f228
build(deps): bump golang.org/x/net from 0.29.0 to 0.33.0 in /internal/backend/remote-state/s3 (#36298)
* build(deps): bump golang.org/x/net in /internal/backend/remote-state/s3

Bumps [golang.org/x/net](https://github.com/golang/net) from 0.29.0 to 0.33.0.
- [Commits](https://github.com/golang/net/compare/v0.29.0...v0.33.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: make syncdeps

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jared Baker <jared.baker@hashicorp.com>
2025-01-15 15:21:53 +00:00
Jan Harrie
b827ca459e
Upgraded github.com/hashicorp/go-slug v0.16.0 => v0.16.3 (#36273)
* upgraded github.com/hashicorp/go-slug v0.16.0 => v0.16.3

* updated changelog

* removed old entry from go-slug

* upgraded github.com/hashicorp/go-slug v0.16.0 => v0.16.3

* upgraded github.com/hashicorp/go-slug v0.16.0 => v0.16.3

* Update CHANGELOG.md

---------

Co-authored-by: Sarah French <15078782+SarahFrench@users.noreply.github.com>
2025-01-08 17:34:56 +00:00
Liam Cervante
fa27595fe3
Update go-cty to 1.16.0 (#36262)
* Update go-cty to 1.16.0

* syndeps
2025-01-06 12:53:45 +01:00
dependabot[bot]
d2c0a0e992
Bump golang.org/x/crypto from 0.27.0 to 0.31.0 (#36203)
* Bump golang.org/x/crypto from 0.27.0 to 0.31.0

Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.27.0 to 0.31.0.
- [Commits](https://github.com/golang/crypto/compare/v0.27.0...v0.31.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* syncdeps

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Liam Cervante <liam.cervante@hashicorp.com>
2024-12-13 11:35:49 +01:00
James Bardin
762f9334de make syncdeps 2024-12-12 09:08:23 -05:00
James Bardin
3a1324a811 make syncdeps 2024-11-15 11:31:12 -05:00
James Bardin
1699bc2658 sync deps 2024-11-12 10:12:54 -05:00