Skip to content

Commit

Permalink
fix(postgresql): add driver and driver_options to postgresql_docker_v…
Browse files Browse the repository at this point in the history
…olume
  • Loading branch information
tafaust committed Aug 15, 2024
1 parent 838296b commit 7719223
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions modules/postgresql/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,17 @@ resource "random_password" "postgres_password" {
}

module "postgresql_docker_volume" {
# trunk-ignore(tflint/terraform_module_pinned_source)
source = "github.com/ehwplus/terraswarm//modules/base_docker_volume?ref=main"

name = local.name
namespace = local.namespace
name = local.name
namespace = local.namespace
driver = var.postgres_volume_options.driver_name
driver_options = var.postgres_volume_options.driver_options
}

module "postgresql_docker_service" {
# trunk-ignore(tflint/terraform_module_pinned_source)
source = "github.com/ehwplus/terraswarm//modules/base_docker_service?ref=main"

name = local.name
Expand Down

0 comments on commit 7719223

Please sign in to comment.