This presumes you've already signed up for Terraform Cloud and went through the onboarding flow which uses the tfc-getting-started repository.
The commands below use the first organization and workspace and presumes no Terraform variables (apart from provider_token
) and environment variables exist.
It also only shows how to create a Terraform or environment variable.
NOTE: Before continuing, make sure you've created a user access token and exported it as
TERRAFORM_TOKEN
.