terraform/internal/command/e2etest/testdata
Sarah French c05eaaf20d
Some checks failed
build / Determine intended Terraform version (push) Has been cancelled
build / Determine Go toolchain version (push) Has been cancelled
Quick Checks / Unit Tests (push) Has been cancelled
Quick Checks / Race Tests (push) Has been cancelled
Quick Checks / End-to-end Tests (push) Has been cancelled
Quick Checks / Code Consistency Checks (push) Has been cancelled
build / Generate release metadata (push) Has been cancelled
build / Build for freebsd_386 (push) Has been cancelled
build / Build for linux_386 (push) Has been cancelled
build / Build for openbsd_386 (push) Has been cancelled
build / Build for windows_386 (push) Has been cancelled
build / Build for darwin_amd64 (push) Has been cancelled
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
PSS: Refactor how we handle unmanaged providers, add support for using dev_override (#38269)
* feat: Enable use of developer override providers when using PSS

* feat: Store how a provider was supplied to Terraform in the backend state file. This allows triggering a prompt for state migration if there's a change between using a managed provider versus an unmanaged/override provider.

* test: Update all PSS-related backend state files in test fixtures to include new, necessary provider_supply_mode data.

* fix: Avoid duplicate dev_override warnings

* refactor: Change how we determine how a provider is supplied to Terraform. By using supply mode data we prevent multiple parts of the code checking if a given provider is reattached/builtin/etc...

* test: Add separate tests showing a built-in or dev override provider being used for the main workflow using PSS

* test: Add E2E tests that characterise current behaviour when how a provider is supplied is changed partway through different workflows

* fix: Tolerate missing default workspace when using PSS and init handles minor changes in state store configuration.

* feat: `init`-related code will prompt a user to migrate state if Terraform detects a swap between managed and unmanaged providers being used for PSS.

Internally, what happens is the different version data (null versus a value being present) impacts the hash of the state store. This then triggers logic where TF checks if a migration is needed or if the new hash value should be silently updated in the backend state file. We always prompt for migration.

* refactor: Add `NotManagedByTerraform` method to `ProviderSupplyMode`

* Apply suggestions from code review

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

---------

Co-authored-by: Radek Simko <radeksimko@users.noreply.github.com>
2026-04-14 15:07:56 +01:00
..
chdir-option/subdir Move command/ to internal/command/ 2021-05-17 14:09:07 -07:00
custom-provider-install-method Rebrand Terraform Cloud to HCP Terraform 2024-04-23 16:12:59 -04:00
empty Move command/ to internal/command/ 2021-05-17 14:09:07 -07:00
full-workflow-null Move command/ to internal/command/ 2021-05-17 14:09:07 -07:00
full-workflow-with-state-store-fs PSS: Update the workspace new subcommand to work with PSS, add E2E and integration tests for using workspace commands with PSS. (#37855) 2025-11-19 12:50:43 +00:00
full-workflow-with-state-store-inmem PSS : Add fs and inmem state storage implementations to the builtin simplev6 provider, update grpcwrap package, use PSS implementation in E2E test (#37790) 2025-11-11 15:30:50 +00:00
initialized-directory-with-state-store-fs PSS: Refactor how we handle unmanaged providers, add support for using dev_override (#38269) 2026-04-14 15:07:56 +01:00
local-only-provider Rebrand Terraform Cloud to HCP Terraform 2024-04-23 16:12:59 -04:00
module-archive expand module subdir globs 2022-08-17 16:27:58 -04:00
plugin-cache providercache: Ignore lock-mismatching global cache entries 2022-11-04 16:18:15 -07:00
provider-dev-override Move command/ to internal/command/ 2021-05-17 14:09:07 -07:00
provider-dev-override-with-existing init: skip dependencies declared in development override 2025-11-12 09:23:17 +01:00
provider-not-found Move command/ to internal/command/ 2021-05-17 14:09:07 -07:00
provider-not-found-non-default Move command/ to internal/command/ 2021-05-17 14:09:07 -07:00
provider-plugin Move command/ to internal/command/ 2021-05-17 14:09:07 -07:00
provider-tampering-base command/e2etest: TestProviderTampering 2021-10-05 10:59:59 -07:00
provider-warnings Move command/ to internal/command/ 2021-05-17 14:09:07 -07:00
provisioner Move command/ to internal/command/ 2021-05-17 14:09:07 -07:00
provisioner-plugin Move command/ to internal/command/ 2021-05-17 14:09:07 -07:00
query-provider List implementation for simple provider and e2e tests (#37297) 2025-07-09 12:19:26 +02:00
template-provider Move command/ to internal/command/ 2021-05-17 14:09:07 -07:00
terraform-managed-data s/trigger/triggers_replace/ 2022-12-05 15:23:57 -05:00
terraform-provider Move command/ to internal/command/ 2021-05-17 14:09:07 -07:00
terraform-provider-funcs provider/terraform: Use new convention for function names 2024-03-14 08:16:00 -07:00
terraform-providers-mirror Move command/ to internal/command/ 2021-05-17 14:09:07 -07:00
terraform-providers-mirror-with-broken-lock-file add -lock-file flag to providers mirror command 2024-06-11 16:37:28 -04:00
terraform-providers-mirror-with-lock-file bugfix: issue-28274, terraform providers mirror command should honor terraform lock file 2023-02-25 00:16:46 +01:00
test-provider Move command/ to internal/command/ 2021-05-17 14:09:07 -07:00
vendored-provider Move command/ to internal/command/ 2021-05-17 14:09:07 -07:00