Contents

ActiveAws EC2 client

In order to have a better EC2 client

Scenario: It has .regions

@ec2

  • Given An ActiveAws EC2 client
  • Then it should have 9 regions

Scenario: It has .instances

@ec2

  • Given An ActiveAws EC2 client
  • Then it should have 1 instances

Scenario: It has .availability_zones

@ec2

  • Given An ActiveAws EC2 client
  • Then it should have 2 availability zones
  • And the first availability zone's zone_name should be "ap-southeast-1a"
  • And the last availability zone's zone_name should be "ap-southeast-1b"

Source: features/ec2/client/ec2_client.feature at commit da5ee632, Active Aws (MIT license).