generated from CDCgov/template
-
Notifications
You must be signed in to change notification settings - Fork 5
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
marycrawford
committed
Jul 26, 2024
1 parent
e4176b3
commit 7af38b0
Showing
3 changed files
with
42 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -104,3 +104,5 @@ terraform.tfstate.backup | |
credentials.json | ||
.bash_profile | ||
awscli-bundle/ | ||
|
||
.secrets.txt |
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
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,39 @@ | ||
variable "db_username" { | ||
type = string | ||
description = "Username of RDS Instance" | ||
default = "tefcaViewerDbUser" | ||
} | ||
|
||
variable "db_password" { | ||
type = string | ||
description = "Password of RDS Instance" | ||
# TODO: Turn on sensitive once the database is fully up and save real pwd | ||
# as a variable to ingest from the pipeline (i.e. Github Secrets) | ||
sensitive = true | ||
|
||
} | ||
|
||
|
||
variable "private_subnet_ids" { | ||
type = list(string) | ||
description = "List of private subnet IDs" | ||
default = ["176.24.1.0/24", "176.24.3.0/24"] | ||
} | ||
|
||
# Note: only lowercase alphanumeric characters and hyphens allowed in "identifier" | ||
variable "db_identifier" { | ||
type = string | ||
description = "Identifier Name of RDS Instance" | ||
default = "query-templates" | ||
} | ||
|
||
variable "region" { | ||
type = string | ||
default = "us-east-1" | ||
} | ||
|
||
# variable "vpc_id" { | ||
# type = string | ||
# description = "ID of the VPC" | ||
# default = "176.24.0.0/16" | ||
# } |