Docs for "ecs_service" do not cover non 'default' ecs cluster
MarkWoods1977 opened this issue · 1 comments
MarkWoods1977 commented
When using the ecs_service resource described here https://github.com/k1LoW/awspec/blob/master/doc/_resource_types/ecs_service.md, when the cluster is not default it will fail.
e.g.
describe ecs_service('my-ecs-service') do
it { should exist }
end
fails with
Aws::ECS::Errors::ClusterNotFoundException:
Cluster not found.
Where the cluster is not default you need to pass the cluster name e.g. for cluster named 'non-default':
describe ecs_service('my-ecs-service'), cluster: 'not-default' do
it { should exist }
end
Could the docs in the link be updated accordingly.
k1LoW commented
@MarkWoods1977 Thank you for your report !!