Skip to content

Commit

Permalink
Merge branch 'master' of ssh://github.com/k1LoW/awspec
Browse files Browse the repository at this point in the history
  • Loading branch information
k1LoW committed Mar 18, 2023
2 parents c4d64b7 + 0bdd8bd commit ae1286b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions doc/_resource_types/ecs_service.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
### exist

You can set `cluster` ( default: `default` ).

```ruby
describe ecs_service('my-ecs-service') do
describe ecs_service('my-ecs-service'), cluster: 'my-ecs-cluster' do
it { should exist }
end
```

### be_active, be_draining, be_inactive

```ruby
describe ecs_service('my-ecs-service') do
describe ecs_service('my-ecs-service'), cluster: 'my-ecs-cluster' do
it { should be_active }
end
```
6 changes: 4 additions & 2 deletions doc/resource_types.md
Original file line number Diff line number Diff line change
Expand Up @@ -1275,8 +1275,10 @@ ECS Service resource type.

### exist

You can set `cluster` ( default: `default` ).

```ruby
describe ecs_service('my-ecs-service') do
describe ecs_service('my-ecs-service'), cluster: 'my-ecs-cluster' do
it { should exist }
end
```
Expand All @@ -1285,7 +1287,7 @@ end
### be_active, be_draining, be_inactive

```ruby
describe ecs_service('my-ecs-service') do
describe ecs_service('my-ecs-service'), cluster: 'my-ecs-cluster' do
it { should be_active }
end
```
Expand Down

0 comments on commit ae1286b

Please sign in to comment.