Difference between revisions of "TF CLOUD ORGANIZATION"
Jump to navigation
Jump to search
(→Errors) |
|||
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | Define your organization in a TF_CLOUD_ORGANIZATION variable or in [[Terraform cloud block]] | ||
+ | |||
TF_CLOUD_ORGANIZATION | TF_CLOUD_ORGANIZATION | ||
[[TF_CLOUD_HOSTNAME]] | [[TF_CLOUD_HOSTNAME]] | ||
[[TF_WORKSPACE]] | [[TF_WORKSPACE]] | ||
+ | |||
+ | cat [[~/.terraform.d/credentials.tfrc.json]] | ||
+ | { | ||
+ | "credentials": { | ||
+ | "[[app.terraform.io]]": { | ||
+ | "token": "asdgasgfsaA.atlasv1.19Bgasfgasfdfasdfsf" | ||
+ | } | ||
+ | } | ||
+ | }% | ||
+ | |||
+ | [[export]] TF_CLOUD_ORGANIZATION="Your-organization" | ||
== Errors == | == Errors == | ||
Line 9: | Line 22: | ||
== Related == | == Related == | ||
− | * [[terraform.tf]] | + | * <code>[[terraform login]]</code> |
+ | * <code>[[terraform init]]</code> | ||
+ | * <code>[[terraform.tf]]</code> | ||
* [[Deploy EKS cluster using Terraform]] | * [[Deploy EKS cluster using Terraform]] | ||
== See also == | == See also == | ||
+ | * {{tf login}} | ||
* {{terraform environment variables}} | * {{terraform environment variables}} | ||
* {{Terraform variables}} | * {{Terraform variables}} | ||
+ | * {{TFC}} | ||
[[Category:Terraform]] | [[Category:Terraform]] |
Latest revision as of 09:52, 12 February 2024
Define your organization in a TF_CLOUD_ORGANIZATION variable or in Terraform cloud block
TF_CLOUD_ORGANIZATION TF_CLOUD_HOSTNAME TF_WORKSPACE
cat ~/.terraform.d/credentials.tfrc.json { "credentials": { "app.terraform.io": { "token": "asdgasgfsaA.atlasv1.19Bgasfgasfdfasdfsf" } } }%
export TF_CLOUD_ORGANIZATION="Your-organization"
Errors[edit]
Error: Invalid or missing required argument
Error: Failed to read organization "test" at host app.terraform.io
Related[edit]
See also[edit]
- Terraform Cloud:
terraform login, credentials.tfrc.json, TF_CLOUD_ORGANIZATION, app.terraform.io
- Terraform environment variables:
TF_WORKSPACE, TF_CLOUD_HOSTNAME, TF_CLOUD_ORGANIZATION
- Terraform variables, types, env variables,
variables.tf
,.tfvars
,nullable
,validation
,terraform.tfvars
- Terraform Cloud (TFC), Terraform Cloud Agents (Business version),
terraform login
,execution modes
,terraform_remote_state
, Terraform cloud block, Terraform Cloud Workflows, Terraform organization,TF_CLOUD_ORGANIZATION
, Dynamic Provider Credentials, Bootstrapping trust between a TFC workspace and AWS
Advertising: