1 Resposta
- Mais recentes
- Mais votos
- Mais comentários
1
I solved this problem by adding Cluster property to ECS service resource. Since I didn't specify the property, the default cluster was assumed. I changed the template to
{
"AWSTemplateFormatVersion": "2010-09-09",
"Resources": {
"ECSCluster": {
"Type": "AWS::ECS::Cluster",
"DeletionPolicy": "Delete"
},
"ECSTaskDefinition": {
"Type": "AWS::ECS::TaskDefinition",
"DeletionPolicy": "Retain"
},
"ECSService": {
"Type": "AWS::ECS::Service",
"DeletionPolicy": "Delete"
"Properties": {
"Cluster": "MyECSCluster"
}
}
}
}
and now import is working properly.
respondido há um ano
Conteúdo relevante
- AWS OFICIALAtualizada há 3 meses
- AWS OFICIALAtualizada há 3 anos
- AWS OFICIALAtualizada há 2 anos
But adding "Cluster" key triggers a replacement.