Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs for "ecs_service" do not cover non 'default' ecs cluster #473

Open
MarkWoods1977 opened this issue May 24, 2019 · 1 comment
Open

Comments

@MarkWoods1977
Copy link

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
Copy link
Owner

k1LoW commented May 25, 2019

@MarkWoods1977 Thank you for your report !!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants