File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ resource "aws_iam_role_policy_attachment" "ecs_task_execution_role_attach" {
2727# logs_group = aws_cloudwatch_log_group.ecslogs.name
2828# ecs_cluster_id = module.ecs.cluster_id
2929# task_execution_role = data.aws_iam_role.ecs_task_execution_role.arn
30- # image_tag = "master "
30+ # image_tag = "latest "
3131# }
3232
3333# resource "aws_lb_listener_rule" "python_backend_prod" {
@@ -54,7 +54,7 @@ resource "aws_iam_role_policy_attachment" "ecs_task_execution_role_attach" {
5454# logs_group = aws_cloudwatch_log_group.ecslogs.name
5555# ecs_cluster_id = module.ecs.cluster_id
5656# task_execution_role = data.aws_iam_role.ecs_task_execution_role.arn
57- # image_tag = "staging "
57+ # image_tag = "latest "
5858# }
5959
6060# resource "aws_lb_listener_rule" "python_backend_staging" {
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ resource "aws_ecs_task_definition" "python_backend" {
3333 container_definitions = jsonencode ([
3434 {
3535 name = " python_backend_${ var . env } "
36- image = " operationcode /back-end:${ var . image_tag } "
36+ image = " 633607774026.dkr.ecr.us-east-2.amazonaws.com /back-end:${ var . image_tag } "
3737 essential = true
3838
3939 portMappings = [
You can’t perform that action at this time.
0 commit comments