Terraform Backends

terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 3.0"
}
}

backend "remote" {
hostname = "app.terraform.io"
organization = "letsdotech"
//token = “xxxxxxxx”
workspaces {
name = "tf-blog-workspace"
}
}
}
Running plan in the remote backend. The output will stream here. Pressing Ctrl-C
will stop streaming the logs, but will not stop the plan running remotely.

Preparing the remote plan...

. . .
. . .

Error: error configuring Terraform AWS Provider: no valid credential sources for Terraform AWS Provider found.

Please see https://registry.terraform.io/providers/hashicorp/aws
for more information about providing credentials.

Error: NoCredentialProviders: no valid providers in chain. Deprecated.
For verbose messaging see aws.Config.CredentialsChainVerboseErrors

--

--

--

https://letsdotech.dev

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Throughput, IOPS and Burst IOPS —  In simple terms

Introduction to your career journey

Add SmartBCH RPC on Metamask in Yandex

Redash, the perfect analyst side-kick

Basic Linux Commands For Beginners

6 Rs in your Journey To Cloud and why to rearchitect

5 Resources to Measure Website Accessibility

Traps of ctrl + c ctrl + v programming

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Let's Do Tech

Let's Do Tech

https://letsdotech.dev

More from Medium

ACL on S3 bucket objects with Terraform

How To Make Terraform Truly Cloud Agnostic

symmetrical buildings across a canal and a sky with no clouds

Passing variables between Terraform modules using implicit dependency

Provisioning AWS Karpenter Provisioners with Terraform