Skip to content

Latest commit

 

History

History
 
 

terraform

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Services

Production

Development

How to run Terraform locally

  1. Authenticate with GCP using gcloud:
gcloud auth application-default login
  1. Authenticate with AWS using aws-google-auth:
docker run -it -e GOOGLE_USERNAME -e GOOGLE_IDP_ID -e GOOGLE_SP_ID -e AWS_DEFAULT_REGION -e AWS_PROFILE -e AWS_ROLE_ARN -v ~/.aws:/root/.aws cevoaustralia/aws-google-auth --resolve-aliases
  1. Switch to the working directory of your choice and run Terraform:
cd ./environments/dev
terraform init 
terraform plan
  1. View output variables (optional):
terraform output