Skip to content

Commit

Permalink
Warn about $$$
Browse files Browse the repository at this point in the history
  • Loading branch information
sethvargo committed Aug 14, 2014
1 parent 7801b0b commit abe4bf2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/kitchen/driver/ec2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,13 @@ class Ec2 < Kitchen::Driver::SSHBase

def create(state)
return if state[:server_id]

info("Creating <#{state[:server_id]}>...")
info("If you are not using an account that qualifies under the AWS")
info("free-tier, you may be charged to run these suites. The charge")
info("should be minimal, but neither Test Kitchen nor its maintainers")
info("are responsible for your incurred costs.")

if config[:price]
# Spot instance when a price is set
server = submit_spot
Expand Down

0 comments on commit abe4bf2

Please sign in to comment.