Skip to content

Commit

Permalink
delete secrets module
Browse files Browse the repository at this point in the history
  • Loading branch information
Jlkan committed May 28, 2024
1 parent bae357d commit 5b5e697
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions examples/ecs-app/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ module "service" {
subnet_ids = module.vpc.public_subnets
cluster_id = module.cluster.id
desired_count = 1
secrets = ["/example/staging/api/terraform"]

port = 3000
depends_on = [module.secrets]
Expand All @@ -83,21 +82,6 @@ resource "aws_alb_listener" "http" {
}
}

module "secrets" {
source = "Selleo/ssm/aws//modules/parameters"
version = "0.4.0"

context = {
namespace = "example"
stage = "staging"
name = "api"
}

secrets = {
APP_ENV = "staging"
}
}

output "lb_dns" {
value = "http://${module.lb.dns_name}"
}

0 comments on commit 5b5e697

Please sign in to comment.