Skip to content

Commit

Permalink
added region as variable
Browse files Browse the repository at this point in the history
  • Loading branch information
meyerjrr committed Aug 30, 2024
1 parent 9746910 commit 85fd224
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ resource "commonfate_proxy_rds_database" "demo" {
endpoint = data.aws_db_instance.database.endpoint
database = data.aws_db_instance.database.db_name
engine = data.aws_db_instance.database.engine
region = data.aws_db_instance.database.region
region = var.region

users = var.users
}
6 changes: 6 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ variable "name" {
type = string
}

variable "region" {
description = "The region the RDS database is deployed in."
type = string
}


variable "rds_database_name" {
description = "The underlying database name in RDS."
type = string
Expand Down

0 comments on commit 85fd224

Please sign in to comment.