- terrform version : v0.12.23
- Service-Account on gcp
- Projectid on gcp
- SSH public key
service-account.json
file
terraform init
terraform plan
terraform apply
ssh -i /home/sakhtar/.ssh/id_rsa.pub `terraform output ip`
curl http://<IP of your VM>
Hello from Google Cloud !!!
terraform destroy