Skip to content

Commit

Permalink
rename variables
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaWilkes committed Sep 5, 2024
1 parent 01d2d14 commit aea1679
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ resource "commonfate_proxy_rds_database" "database" {
name = var.name
instance_id = var.rds_instance_identifier
endpoint = data.aws_db_instance.database.endpoint
database = var.rds_database_name
database = var.database
engine = data.aws_db_instance.database.engine
region = local.aws_region

Expand Down
3 changes: 2 additions & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,10 @@ variable "rds_instance_identifier" {
variable "name" {
description = "A human readable name to give the RDS database resource in Common Fate."
type = string
default = var.database
}

variable "rds_database_name" {
variable "database" {
description = "The name of the database to connect to on the RDS instance."
type = string
}
Expand Down

0 comments on commit aea1679

Please sign in to comment.