Use prod workspace and `terraform plan`, result:
```
Terraform will perform the following actions:
# aws_ecs_service.tunnelbroker will be updated in-place
~ resource "aws_ecs_service" "tunnelbroker" {
id = "arn:aws:ecs:us-east-2:870860201438:service/comm-services-ecs-cluster/tunnelbroker"
name = "tunnelbroker"
tags = {}
~ task_definition = "arn:aws:ecs:us-east-2:870860201438:task-definition/tunnelbroker-task-def:1" -> (known after apply)
# (15 unchanged attributes hidden)
+ service_connect_configuration {
+ enabled = true
}
# (4 unchanged blocks hidden)
}
# aws_ecs_task_definition.tunnelbroker must be replaced
-/+ resource "aws_ecs_task_definition" "tunnelbroker" {
~ arn = "arn:aws:ecs:us-east-2:870860201438:task-definition/tunnelbroker-task-def:1" -> (known after apply)
~ arn_without_revision = "arn:aws:ecs:us-east-2:870860201438:task-definition/tunnelbroker-task-def" -> (known after apply)
~ container_definitions = jsonencode(
~ [
~ {
- cpu = 0
~ environment = [
# (2 unchanged elements hidden)
{
name = "AMQP_USERNAME"
value = "comm"
},
+ {
+ name = "COMM_TUNNELBROKER_IDENTITY_ENDPOINT"
+ value = "http://identity-service:50054"
},
{
name = "RUST_LOG"
value = "info"
},
]
~ image = "commapp/tunnelbroker:0.5" -> "commapp/tunnelbroker:0.6"
- mountPoints = []
name = "tunnelbroker-server"
~ portMappings = [
~ {
- hostPort = 0
name = "tunnelbroker_ws"
# (3 unchanged attributes hidden)
},
~ {
- hostPort = 0
name = "tunnelbroker_grpc"
# (3 unchanged attributes hidden)
},
]
- volumesFrom = []
# (2 unchanged attributes hidden)
},
] # forces replacement
)
~ id = "tunnelbroker-task-def" -> (known after apply)
~ revision = 1 -> (known after apply)
- tags = {} -> null
# (9 unchanged attributes hidden)
}
# module.shared.aws_dynamodb_table.tunnelbroker-undelivered-messages must be replaced
-/+ resource "aws_dynamodb_table" "tunnelbroker-undelivered-messages" {
~ arn = "arn:aws:dynamodb:us-east-2:870860201438:table/tunnelbroker-undelivered-messages" -> (known after apply)
- deletion_protection_enabled = false -> null
~ id = "tunnelbroker-undelivered-messages" -> (known after apply)
name = "tunnelbroker-undelivered-messages"
~ range_key = "createdAt" -> "messageID" # forces replacement
~ read_capacity = 0 -> (known after apply)
+ stream_arn = (known after apply)
- stream_enabled = false -> null
+ stream_label = (known after apply)
+ stream_view_type = (known after apply)
- table_class = "STANDARD" -> null
- tags = {} -> null
~ write_capacity = 0 -> (known after apply)
# (3 unchanged attributes hidden)
- attribute {
- name = "createdAt" -> null
- type = "N" -> null
}
+ attribute {
+ name = "messageID"
+ type = "S"
}
- point_in_time_recovery {
- enabled = false -> null
}
- ttl {
- enabled = false -> null
}
# (1 unchanged block hidden)
}
Plan: 2 to add, 1 to change, 2 to destroy.
```