Switch to Cloud9 tab
Change working directory to our workshop on GitLab
We will create_tfvars and store the Gremlin gremlin_team_id and gremlin_secret_key as terraform vars. We will use these as part of the next step to automate the gremlin agent setup
Which in the git repo you cloud9 prompt will show your git branch in brackets example:aws-devops-workshop (develop) $
Create a terraform vars file
Double click on the file in the file browser and open it in a ide tab
Copy and paste the following two lines into the file (We will replace the values for team_id and team_secret in the next step)
gremlin_team_id = "replace_with_team_id" gremlin_secret_key = "replace_with_team_secret"
Leave this tab open and switch to the Gremlin tab
From the Gremlin Dashboard click on the third icon and go to Team Settings > Configuration
Go to the Configuration tab
Go back to the Gremin Dashboard and click Reset then Chose Continue
Click the x on the terraform_auto.tfvars tab to clone (Click Save whem prompted)
Commit your Terraform variables
git add terraform.auto.tfvars git commit -a -m' Add Gremin token as terraform vars'