Skip to content

Commit

Permalink
Updating provider and vars
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbydeveaux committed Sep 6, 2024
1 parent 5c6e565 commit 1d17498
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions modules/rds/basic_postgres_database/providers.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ terraform {
source = "hashicorp/aws"
version = "~> 5.0"
}
mysql = {
postgres = {
source = "cyrilgdn/postgresql"
version = "~> 1.22"
}
Expand All @@ -14,10 +14,10 @@ terraform {
}

provider "postgres" {
host = var.postgres_endpoint
port = var.postgres_port
username = var.postgres_username
password = var.postgres_password
host = var.endpoint
port = var.port
username = var.username
password = var.password
}


Expand Down
8 changes: 4 additions & 4 deletions modules/rds/basic_postgres_database/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,20 @@ variable "database_name" {
type = string
}

variable "postgres_endpoint" {
variable "endpoint" {
type = string
}

variable "postgres_port" {
variable "port" {
type = string
}

variable "postgres_username" {
variable "username" {
type = string
sensitive = true
}

variable "postgres_password" {
variable "password" {
type = string
sensitive = true
}

0 comments on commit 1d17498

Please sign in to comment.