-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ee3cf1a
commit 3631af5
Showing
1 changed file
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
variable "vpc_parameters" { | ||
description = "VPC parameters" | ||
type = map(object({ | ||
cidr_block = string | ||
enable_dns_support = optional(bool, true) | ||
enable_dns_hostnames = optional(bool, true) | ||
tags = optional(map(string), {}) | ||
})) | ||
default = {} | ||
} | ||
|
||
|
||
variable "subnet_parameters" { | ||
description = "Subnet parameters" | ||
type = map(object({ | ||
cidr_block = string | ||
vpc_name = string | ||
tags = optional(map(string), {}) | ||
})) | ||
default = {} | ||
} | ||
|
||
variable "igw_parameters" { | ||
description = "IGW parameters" | ||
type = map(object({ | ||
vpc_name = string | ||
tags = optional(map(string), {}) | ||
})) | ||
default = {} | ||
} | ||
|
||
|
||
variable "rt_parameters" { | ||
description = "RT parameters" | ||
type = map(object({ | ||
vpc_name = string | ||
tags = optional(map(string), {}) | ||
routes = optional(list(object({ | ||
cidr_block = string | ||
use_igw = optional(bool, true) | ||
gateway_id = string | ||
})), []) | ||
})) | ||
default = {} | ||
} | ||
variable "rt_association_parameters" { | ||
description = "RT association parameters" | ||
type = map(object({ | ||
subnet_name = string | ||
rt_name = string | ||
})) | ||
default = {} | ||
} |