https://github.com/tasdikrahman/terraform-gcp-examples
Terraform Google cloud platform examples
https://github.com/tasdikrahman/terraform-gcp-examples
google-cloud-engine google-cloud-platform hashicorp infrastructure-as-code terraform
Last synced: 2 months ago
JSON representation
Terraform Google cloud platform examples
- Host: GitHub
- URL: https://github.com/tasdikrahman/terraform-gcp-examples
- Owner: tasdikrahman
- Created: 2017-08-20T12:25:54.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-10-22T11:06:35.000Z (about 8 years ago)
- Last Synced: 2024-04-22T20:31:49.168Z (over 1 year ago)
- Topics: google-cloud-engine, google-cloud-platform, hashicorp, infrastructure-as-code, terraform
- Language: HCL
- Homepage:
- Size: 10.7 KB
- Stars: 58
- Watchers: 4
- Forks: 65
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## terraform gcp examples
## Modules
- [GCS bucket](https://github.com/tasdikrahman/terraform-gcp-examples/tree/master/gcs-bucket/)
- [single-node-compute-vm](https://github.com/tasdikrahman/terraform-gcp-examples/tree/master/single-and-multi-node-compute-vm)
- [test-env](https://github.com/tasdikrahman/terraform-gcp-examples/tree/master/test-env/)
### Setup
Don't forget to place the file `account.json` inside the `credentials` dir in the root directory before running which would contain your service Account Key file.
This contains your authentication required for Terraform to talk to the Google API.
You can get it under
`Google Cloud Platform -> API Manager -> Credentials -> Create Credentials -> Service account key.`
For the Key type field chose JSON. Put the downloaded file right were your Terraform config file is and name it `account.json`.
If you are using the gcs as the backend, you will need to give it the `Storage Admin` role for the `storage.buckets.create` permission.
## LICENSE
MIT Licensed