Open tomoyasuzuki opened 4 days ago
@tomoyasuzuki That is by design.
When the service
is defined in the config, ecspresso manages the ECS service. So ecspresso requires service_definition
.
Remove the service
from the config file to manage task definitions only (without ECS service).
Problem statement
I am using v2.3.5 and get the following error when using the ecspresso diff command.
How to reproduce
ecspresso diff --config test.yaml
What is a problem ?
The
diff
command currently only checks theservice
in the config file, but there are cases where theservice
is defined without aservice_definition
(for instance, when configurations possible withservice_definition
are managed via Terraform). Since thediff
command requiresservice_definition
to compare service settings, I think it should also check ifservice_definition
is not empty.If community members agree to this change, I will create a PR.
current implementation
Ideal implementation