-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
111 lines (93 loc) · 2.49 KB
/
variables.tf
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
variable "cloudflare_account_id" {
type = string
default = "REPLACE_WITH_YOUR_CLOUDFLARE_ACCOUNT_ID"
}
variable "env" {
type = string
default = "opentofu"
}
variable "cloudflare_app_name" {
type = string
default = "internalwebapp"
}
variable "tags" {
description = "A map of tags (key-value pairs) passed to resources."
type = map(string)
default = {}
}
variable "cloudflare_app_logo" {
description = "The logo of the Cloudflare Access application"
type = string
default = "https://cf-assets.www.cloudflare.com/zkvhlag99gkb/5BaCrrFNjkAebdQOoEvU4y/5c115841c5f41cbb165a4cda49b81192/image3-16.png"
}
variable "cloudflare_zone_id" {
type = string
default = "REPLACE_WITH_YOUR_CLOUDFLARE_ZONE_ID"
}
variable "tunnel_name" {
description = "The name of the Cloudflare Tunnel"
type = string
default = "internalwebapp"
}
variable "tunnel_dnsname" {
description = "The DNS name of the Cloudflare Tunnel"
type = string
default = "internalwebapp"
}
variable "tunnel_hostname" {
description = "The hostname of the Cloudflare Tunnel"
type = string
default = "internal.example.com"
}
variable "tunnel_origin" {
description = "The URL of the origin monitored by Cloudflare Tunnel"
type = string
default = "http://internalwebapp:8080"
}
variable "prefix" {
type = string
default = "internalwebapp"
}
variable "instance_type" {
description = "The instance type for the EC2 instance"
type = string
default = "t2.micro"
}
variable "instance_key_name" {
description = "The key name for the EC2 instance"
type = string
default = null
}
variable "instance_state" {
description = "The state of the EC2 instance"
type = string
default = "running"
}
variable "vpc_cidr" {
description = "The CIDR block for the VPC"
type = string
default = "10.0.0.0/28"
}
variable "vpc_enable_dns_hostnames" {
description = "A boolean flag to enable/disable DNS hostnames in the VPC"
type = bool
default = true
}
variable "public_subnet_cidr" {
description = "The CIDR block for the public subnet"
type = string
default = "10.0.0.0/28"
}
variable "private_subnet_cidr" {
description = "The CIDR block for the private subnet"
type = string
default = "10.0.1.0/28"
}
variable "aws_account_id" {
type = string
default = "REPLACE_WITH_YOUR_AWS_ACCOUNT_ID"
}
variable "region" {
type = string
default = "us-east-1"
}