Skip to content

Commit 690dde2

Browse files
author
marycrawford
committed
revised variables.tf file
1 parent 176d10a commit 690dde2

File tree

2 files changed

+39
-1
lines changed

2 files changed

+39
-1
lines changed

terraform/aws/implementation/modules/rds/test.tf

-1
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
variable "db_username" {
2+
type = string
3+
description = "Username of RDS Instance"
4+
default = "tefcaViewerDbUser"
5+
}
6+
7+
variable "db_password" {
8+
type = string
9+
description = "Password of RDS Instance"
10+
# TODO: Turn on sensitive once the database is fully up and save real pwd
11+
# as a variable to ingest from the pipeline (i.e. Github Secrets)
12+
sensitive = true
13+
14+
}
15+
16+
17+
variable "private_subnet_ids" {
18+
type = list(string)
19+
description = "List of private subnet IDs"
20+
default = ["176.24.1.0/24", "176.24.3.0/24"]
21+
}
22+
23+
# Note: only lowercase alphanumeric characters and hyphens allowed in "identifier"
24+
variable "db_identifier" {
25+
type = string
26+
description = "Identifier Name of RDS Instance"
27+
default = "query-templates"
28+
}
29+
30+
variable "region" {
31+
type = string
32+
default = "us-east-1"
33+
}
34+
35+
# variable "vpc_id" {
36+
# type = string
37+
# description = "ID of the VPC"
38+
# default = "176.24.0.0/16"
39+
# }

0 commit comments

Comments
 (0)