-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
61 lines (55 loc) · 1.68 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
/*
####################################################################################################
# Terraform AWS Networking Variables Configuration
#
# Description: This module creates a VPC Network (VPC/Subnets/Internet Gateway/NACL/NatGateway)
# using Terraform.
#
# Author: Subhamay Bhattacharyya
# Created: 18-Nov-2024
# Version: 1.0
#
####################################################################################################
*/
######################################## Project Name ##############################################
variable "project-name" {
description = "The name of the project"
type = string
default = "your-project-name"
}
######################################## Network Resources #########################################
variable "vpc-cidr" {
description = "VPC CIDR range of IP addresses."
type = string
default = "10.0.0.0/16"
}
# -- Dns Hostnames
variable "enable-dns-hostnames" {
description = "A boolean flag to enable/disable DNS hostnames in the VPC."
type = bool
default = true
}
# -- Dns Support
variable "enable-dns-support" {
description = "A boolean flag to enable/disable DNS support in the VPC."
type = bool
default = true
}
variable "subnet-configuration" {
description = "Configuration for public and private subnets"
type = object({
public = list(string)
private = list(string)
})
default = {
public = []
private = []
}
}
######################################## GitHub ####################################################
# The CI build string
variable "ci-build" {
description = "The CI build string"
type = string
default = ""
}