diff --git a/website/source/intro/getting-started/remote.html.markdown b/website/source/intro/getting-started/remote.html.markdown index 227553db9..ed5b1b803 100644 --- a/website/source/intro/getting-started/remote.html.markdown +++ b/website/source/intro/getting-started/remote.html.markdown @@ -29,16 +29,32 @@ from long-running Terraform processes. You can learn how to use Terraform remotely with our [interactive tutorial](https://atlas.hashicorp.com/tutorial/terraform/?utm_source=oss&utm_medium=getting-started&utm_campaign=terraform) or you can follow the outlined steps below. -First, configure [Terraform remote state storage](/docs/commands/remote.html) -with the command: +First, If you don't have an Atlas account, you can [create an account here](https://atlas.hashicorp.com/account/new?utm_source=oss&utm_medium=getting-started&utm_campaign=terraform). + +In order for the Terraform CLI to gain access to your Atlas account you're going to need to generate an access key. From the main menu, select your username in the top right corner to access your profile. Under `Personal`, click on the `Tokens` tab and hit generate. + +For the purposes of this tutorial you can use this token by exporting it to your local shell session: ``` +$ export ATLAS_TOKEN=ATLAS_ACCESS_TOKEN +``` +Replace `ATLAS_ACCESS_TOKEN` with the token generated earlier + +Then configure [Terraform remote state storage](/docs/commands/remote.html) with the command: + +``` $ terraform remote config -backend-config="name=ATLAS_USERNAME/getting-started" ``` + +Replace `ATLAS_USERNAME` with your Atlas username. -Replace `ATLAS_USERNAME` with your Atlas username. If you don't have one, you can -[create an account here](https://atlas.hashicorp.com/account/new?utm_source=oss&utm_medium=getting-started&utm_campaign=terraform). +Before you [push](/docs/commands/push.html) your Terraform configuration to Atlas you'll need to start a local version control system with at least one commit. Here is an example using `git`. +``` +$ git init +$ git add example.tf +$ git commit -m "init commit" +``` Next, [push](/docs/commands/push.html) your Terraform configuration to Atlas with: ```