This root module creates a Google Project and shared network resources. Machine instances and their accompanying disks and IP addresses are generated in the vm-instance module
Name | Version |
---|---|
>= 4.27.0 | |
random | >=3.6.0 |
Name | Version |
---|---|
>= 4.27.0 | |
random | >=3.6.0 |
Name | Source | Version |
---|---|---|
vm_instance | ./modules/vm-instance | n/a |
Name | Type |
---|---|
google_compute_firewall.cloudcraft_service | resource |
google_compute_firewall.ping | resource |
google_compute_firewall.ssh | resource |
google_compute_network.cloudcraft_network | resource |
google_compute_subnetwork.cloudcraft_subnet | resource |
google_project.cloudcraft-project | resource |
google_project_iam_custom_role.cloudcraft_switcher | resource |
google_project_iam_custom_role.instance_lister | resource |
google_project_service.compute_api | resource |
google_service_account.cloudcraft_service_acct | resource |
random_id.project_id | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
billing_account_id | ID of the billing account to use for the project. | string |
n/a | yes |
network_name | The name of the network the server resides in. | string |
"cloudcraft-network" |
no |
org_id | The name of hosting organization's ID. | string |
n/a | yes |
region | The region where to build the project. | string |
"us-central1" |
no |
server_type | Takes 'java' or 'bedrock'. | string |
"bedrock" |
no |
servers | A map of the server configurations. | map( |
n/a | yes |
vm_managers | Name of group with permisions to activate and deactivate the server. | string |
"cloudcraft-users" |
no |
zone | The zone where to build the project. | string |
"us-central1-c" |
no |
Name | Description |
---|---|
project_id | The project ID. |
servers | The information on each of the servers. |
zone | The resource zone |