-
Notifications
You must be signed in to change notification settings - Fork 1
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
71bca81
commit 0b166f5
Showing
1 changed file
with
47 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,47 @@ | ||
variable "namespace" { | ||
type = string | ||
description = "Determines naming convention of assets. Generally follows DNS naming convention." | ||
} | ||
|
||
variable "vpc_id" { | ||
type = string | ||
description = "The ID of the vpc the database belongs to" | ||
} | ||
|
||
variable "availability_zones" { | ||
type = list(string) | ||
description = "Availability zones for the database" | ||
} | ||
|
||
variable "database_subnets" { | ||
type = list(string) | ||
description = "Subnets for the database" | ||
} | ||
|
||
variable "additional_security_groups" { | ||
type = list(string) | ||
default = [] | ||
description = "Any additional security groups the cluster should be added to" | ||
} | ||
|
||
variable "tags" { | ||
type = map(string) | ||
description = "A mapping of tags to assign to the AWS resources." | ||
default = {} | ||
} | ||
|
||
variable "instance_count" { | ||
type = number | ||
description = "How many RDS instances to create" | ||
default = 1 | ||
} | ||
|
||
variable "db_cluster_parameter_group_name" { | ||
type = string | ||
description = "parameter group" | ||
} | ||
|
||
variable "instance_class" { | ||
type = string | ||
description = "Instance class" | ||
} |