File tree Expand file tree Collapse file tree 7 files changed +15
-11
lines changed
Expand file tree Collapse file tree 7 files changed +15
-11
lines changed Original file line number Diff line number Diff line change 11data "aws_region" "current" {}
22
33data "aws_iam_role" "this" {
4- name = " ecs-tasks-demo "
4+ name = var . role_iam
55}
66
77data "aws_ecr_image" "this" {
8- repository_name = " demo/kotlin-app-canary "
8+ repository_name = var . ecr_repository
99 most_recent = true
1010}
1111
Original file line number Diff line number Diff line change 1+ env = " dev"
2+
3+ role_iam = " ecs-tasks-demo"
4+ service_name = " kotlin-canary"
5+ ecs_cluster_name = " ecs-kotlin-canary"
6+
7+ ecr_repository = " demo/kotlin-app-canary"
8+ env_variables = []
9+
10+ port_application = 8080
Original file line number Diff line number Diff line change 11module "alb" {
2- source = " ./ application-load-balancer"
2+ source = " git::https://github.com/dalfinha/ecs-fargate-kotlin-canary-datadog.git//infra/ application-load-balancer?ref=develop "
33
44 # ALB
55 scope = var. service_name
@@ -14,10 +14,9 @@ module "alb" {
1414
1515module "ecs-service" {
1616 depends_on = [ module . alb ]
17- source = " ./ ecs-service"
17+ source = " git::https://github.com/dalfinha/ ecs-fargate-kotlin-canary-datadog.git//infra/ecs- service?ref=develop "
1818
1919 env = " dev"
20-
2120 # Service Config
2221 ecs_cluster_name = var. ecs_cluster_name
2322 service_name = var. service_name
@@ -37,7 +36,7 @@ module "ecs-service" {
3736
3837module "code-deploy" {
3938 depends_on = [ module . ecs-service ]
40- source = " ./ codedeploy-scope"
39+ source = " git::https://github.com/dalfinha/ecs-fargate-kotlin-canary-datadog.git//infra/ codedeploy-scope?ref=develop "
4140
4241 # Config Service
4342 cluster_name = module. ecs-service . cluster_name
File renamed without changes.
File renamed without changes.
File renamed without changes.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments