-
Notifications
You must be signed in to change notification settings - Fork 48
Expand file tree
/
Copy pathvariables.tf
More file actions
76 lines (66 loc) · 2.46 KB
/
variables.tf
File metadata and controls
76 lines (66 loc) · 2.46 KB
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
# AWS Profile to use
variable "profile" {
description = "AWS Profile to use"
type = string
default = "default"
}
# The AWS Region where resources will be created
variable "region" {
description = "AWS Region"
type = string # Expect a string input
default = "us-east-1" # Default to US East (N. Virginia)
}
# The availability zone where the subnets will be created
variable "availability_zone" {
description = "The availability zone where the subnets will be created"
type = string # Expect a string input
default = "us-east-1a" # Default to US East (N. Virginia) AZ a
}
# CIDR block for the VPC
variable "vpc_cidr_block" {
description = "CIDR block for the VPC"
type = string # Expect a string input
default = "10.0.0.0/16" # Default to a /16 block within the 10.0.0.0 private network
}
# CIDR block for the public subnet
variable "public_subnet_cidr_block" {
description = "CIDR block for the public subnet"
type = string # Expect a string input
default = "10.0.0.0/24" # Default to a /24 block within the 10.0.0.0 private network
}
# CIDR block for the private subnet
variable "private_subnet_cidr_block" {
description = "CIDR block for the private subnet"
type = string # Expect a string input
default = "10.0.1.0/24" # Default to a /24 block within the 10.0.0.0 private network
}
# CIDR block for the firewall subnet
variable "firewall_subnet_cidr_block" {
description = "CIDR block for the firewall subnet"
type = string # Expect a string input
default = "10.0.2.0/24" # Default to a /24 block within the 10.0.0.0 private network
}
# Name of the network firewall
variable "firewall_name" {
description = "Name of the network firewall"
type = string
default = "myFirewall"
}
# Name of the firewall policy
variable "firewall_policy_name" {
description = "Name of the firewall policy"
type = string
default = "myPolicy"
}
# Name of the stateful rule group for the firewall
variable "rule_group_name" {
description = "Name of the stateful rule group for the firewall"
type = string
default = "myRuleGroup"
}
# List of domains to block
variable "block_domains" {
description = "List of domains to block"
type = list(string) # Expect a list of strings input
default = [".quay.io", "api.openshift.com", ".redhat.io"] # Default to these domains
}