rough-kilobyte-44808
05/25/2023, 4:31 PMgarden tools terraform.terraform-1-2-9 -- -chdir=infra init
And that worked, but garden still will not start with the below error.
Error: Configured provider 'terraform' has not been registered.
at /snapshot/project/tmp/pkg/cli/node_modules/@garden-io/core/src/garden.ts:723:17
at tryCatcher (/snapshot/project/tmp/pkg/cli/node_modules/bluebird/js/release/util.js:16:23)
at MappingPromiseArray._promiseFulfilled (/snapshot/project/tmp/pkg/cli/node_modules/bluebird/js/release/map.js:68:38)
at MappingPromiseArray.<anonymous> (/snapshot/project/tmp/pkg/cli/node_modules/bluebird/js/release/promise_array.js:115:31)
at MappingPromiseArray.init (/snapshot/project/tmp/pkg/cli/node_modules/bluebird/js/release/promise_array.js:79:10)
at MappingPromiseArray._asyncInit (/snapshot/project/tmp/pkg/cli/node_modules/bluebird/js/release/map.js:37:10)
at _drainQueueStep (/snapshot/project/tmp/pkg/cli/node_modules/bluebird/js/release/async.js:97:12)
at _drainQueue (/snapshot/project/tmp/pkg/cli/node_modules/bluebird/js/release/async.js:86:9)
at Async._drainQueues (/snapshot/project/tmp/pkg/cli/node_modules/bluebird/js/release/async.js:102:5)
at Immediate.<anonymous> (/snapshot/project/tmp/pkg/cli/node_modules/bluebird/js/release/async.js:15:14)
at processImmediate (node:internal/timers:471:21)
Error Details:
name: terraform
availablePlugins:
- exec
- container
- hadolint
- kubernetes
- local-kubernetes
- octant
- templated
I am unable to use my system at all with bonsai.
The ONLY thing that has changed is the version of garden. I will try to downgrade, and I have warned my team not to upgrade. Not a fun surprise for the morning.bright-policeman-43626
05/25/2023, 8:12 PMrough-kilobyte-44808
05/25/2023, 11:38 PMcalm-family-29323
05/26/2023, 1:45 AMrough-kilobyte-44808
05/26/2023, 3:16 AMancient-diamond-80011
05/26/2023, 3:56 PMversion
in the provider or module configuration, etc
- could you try reinstalling the terraform provider, by deleting ~/.garden/tools/terraform-1-2-9
and running garden util terraform-1-2-9
- alternatively, we have added terraform 1.4.6
in bonsai, could you maybe try using that instead of 1.2.9
in case it makes a difference? running garden util terraform-1-4-6
should ensure it exists, or using the version
field in your garden yaml config
- and just in case, could you run garden --version
to check the installed version, and possibly run garden self-update
if neededrough-kilobyte-44808
05/26/2023, 4:41 PM- name: terraform
initRoot: ./infra
workspace: ${environment.name}
variables:
...
(discord sucks for this)ancient-diamond-80011
06/06/2023, 12:57 PM0.13.1
and let us know if it works quaint-dress-831
06/07/2023, 11:37 AMancient-diamond-80011
06/07/2023, 11:52 AMcalm-family-29323
06/09/2023, 12:46 PMrough-kilobyte-44808
06/16/2023, 6:49 PM