Error: Failed to read organization

From wikieduonline
Revision as of 11:28, 20 November 2023 by Welcome (talk | contribs) (→‎See also)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
╷
│ Error: Failed to read organization "test" at host app.terraform.io
│
│   on terraform.tf line 6, in terraform:
│    6:   cloud {
│
│ Encountered an unexpected error while reading the organization settings: organization
│ "test" at host app.terraform.io not found.
│
│ Please ensure that the organization and hostname are correct and that your API token for
│ app.terraform.io is valid.
╵

Solution: log into your TFC account using terraform login and review value from your TF_CLOUD_ORGANIZATION variable


Related

See also

Advertising: