Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/terraform-google-modules/terraform-google-vm
Provisions VMs in Google Cloud
https://github.com/terraform-google-modules/terraform-google-vm
cft-terraform compute
Last synced: 5 days ago
JSON representation
Provisions VMs in Google Cloud
- Host: GitHub
- URL: https://github.com/terraform-google-modules/terraform-google-vm
- Owner: terraform-google-modules
- License: apache-2.0
- Created: 2018-10-29T00:13:17.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-10-29T17:52:34.000Z (14 days ago)
- Last Synced: 2024-10-29T19:04:39.310Z (14 days ago)
- Topics: cft-terraform, compute
- Language: HCL
- Homepage: https://registry.terraform.io/modules/terraform-google-modules/vm/google
- Size: 1.06 MB
- Stars: 220
- Watchers: 24
- Forks: 369
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# terraform-google-vm
This is a collection of opinionated submodules that can be used as building blocks to provision VMs in GCP:
* [Instance template](modules/instance_template)
* [Managed instance group](modules/mig)
* [Unmanaged instance group](modules/umig)## Compatibility
This module is meant for use with Terraform 0.13+ and tested using Terraform 1.0+. If you find incompatibilities using Terraform >=0.13, please open an issue.
If you haven't
[upgraded](https://www.terraform.io/upgrade-guides/0-13.html) and need a Terraform
0.12.x-compatible version of this module, the last released version
intended for Terraform 0.12.x is [v5.1.0](https://registry.terraform.io/modules/terraform-google-modules/-vm/google/v5.1.0).## Examples
Examples of how to use these modules can be found in the [examples](examples) folder.
## Project APIs
The following APIs must be enabled on your project:
- `compute.googleapis.com`
- `iam.googleapis.com`See also the [project_services](modules/project_services) module (optional).
## Notes
`distribution_policy_zones` cannot be changed during use.
If you have changed them yourself or used to have a default value, then you'll have to force recreate a MIG group yourself.## Tests
For running the integration test cases, please refer to the [CONTRIBUTING](CONTRIBUTING.md) documentation.
## Permissions
The service account used to execute tests for this module should have the following roles:
- [`roles/compute.admin`](https://cloud.google.com/iam/docs/understanding-roles#compute-engine-roles)
- [`roles/iam.serviceAccountUser`](https://cloud.google.com/iam/docs/understanding-roles#service-accounts-roles)