terraform init
Initializing the backend...
Successfully configured the backend "remote"! Terraform will automatically
use this backend unless the backend configuration changes.
Initializing provider plugins...
- Finding hashicorp/aws versions matching ">= 3.65.0"...
- Finding hashicorp/tfe versions matching "~> 0.43.0"...
- Installing hashicorp/aws v5.23.1...
- Installed hashicorp/aws v5.23.1 (signed by HashiCorp)
- Installing hashicorp/tfe v0.43.0...
- Installed hashicorp/tfe v0.43.0 (signed by HashiCorp)
Terraform has created a lock file .terraform.lock.hcl to record the provider
selections it made above. Include this file in your version control repository
so that Terraform can guarantee to make the same selections by default when
you run "terraform init" in the future.
Terraform has been successfully initialized!
This was bothering me, but I didn’t have time until today.
As per latest documentation : Note: The CLI integration is available in Terraform 1.1.0 and later, and Terraform Enterprise 202201-1 and later. Previous versions can use the remote backend. Refer to Migrating from the remote backend for details about switching to the CLI integration.
That implies TF is sun-setting the “remote” backend setting.
Thanks for bringing that up - I don’t have any visibility into the Terraform roadmap but would suggest connecting with your account manager to clarify. I read that section/page differently than relying on remote back ends for Terraform Community Edition (but I could certainly be interpreting that incorrectly).
While not official, someone I just spoke with said using TFC as a remote backend will not go away for the foreseeable future but I still think your best bet would be connecting with your account manager for confirmation.
That person did also mention the preference is to use the cloud block instead of remote:
@jonathanfrappier , thank you for the update!
It does make sense to keep “backend”.
my connection setup is generated on the fly, so switching from the “backend” to the “cloud” was a matter of updating 2 lines in a template ( plus re-running “init” ).