In January, AWS announced support for ECS ServiceConnect timeout configurations[0]. I looked at the CFN documentation and it appears as if that timeout is supported[1]. However, the syntax for the configuration doesn't appear to be updated and I'm not able to create a CFN template that updates the ServiceConnect timeout.
The template snippet looks like this:
....
"ecssrvccobalt2": {
"Type": "AWS::ECS::Service",
"Properties": {
"Cluster": {"Ref": "ParamClusterARN"},
...
"ServiceName": "myapp",
"ServiceConnectConfiguration": {
"Enabled": true,
"Services": [{"PortName": "myapp", "ClientAliases": [{"Port": 8000}]}]
},
"ServiceConnectService": {"IdleTimeoutSeconds": 60},
...
}
},
...
The CFN error is:
Resource handler returned message:
"Model validation failed (#: extraneous key [ServiceConnectService] is not permitted)"
(RequestToken: 996eedde-f001-c289-ae1f-xxxxxxxxxxxx, HandlerErrorCode: InvalidRequest)
Good catch. I've updated the question and included the CFN template snippet and the error that it generates.