1 Risposta
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
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.
con risposta un anno fa
Contenuto pertinente
- AWS UFFICIALEAggiornata 3 anni fa
- AWS UFFICIALEAggiornata 4 mesi fa
- AWS UFFICIALEAggiornata 2 anni fa
But adding "Cluster" key triggers a replacement.