-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathvariable.tf
More file actions
39 lines (31 loc) · 908 Bytes
/
Copy pathvariable.tf
File metadata and controls
39 lines (31 loc) · 908 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
variable "project_id" {
description = "The ID of the project in which resources will be created."
}
variable "region" {
description = "The region in which resources will be created."
default = "us-central1"
}
variable "zone" {
description = "The zone in which resources will be created."
default = "us-central1-a"
}
variable "subnet_cidr" {
description = "The CIDR block for the subnet."
default = "10.0.0.0/16"
}
variable "machine_type" {
description = "The machine type for the instance."
default = "f1-micro"
}
variable "image" {
description = "The image from which the instance will be created."
default = "debian-cloud/debian-11"
}
variable "instance_count" {
description = "The number of instances to create."
default = 2
}
variable "instance_name_prefix" {
description = "The prefix for the instance names."
default = "demo-instance"
}