terraform.tf

From wikieduonline
Jump to navigation Jump to search


Error: Invalid or missing required argument
│
│   on terraform.tf line 6, in terraform:
│    6:   cloud {
│
│ "organization" must be set in the cloud configuration or as an environment variable:
│ TF_CLOUD_ORGANIZATION.


# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0 

terraform {

 cloud {
   workspaces {
     name = "learn-terraform-eks"
   }
 }

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

   random = {
     source  = "hashicorp/random"
     version = "~> 3.4.3"
   }

   tls = {
     source  = "hashicorp/tls"
     version = "~> 4.0.4"
   }

   cloudinit = {
     source  = "hashicorp/cloudinit"
     version = "~> 2.2.0"
   }
 }
 required_version = "~> 1.3"
}


Errors[edit]

Related[edit]

See also[edit]

Advertising: