lib/forger/network.rb in forger-2.0.5 vs lib/forger/network.rb in forger-3.0.0
- old
+ new
@@ -1,10 +1,10 @@
# Provides access to default network settings for a vpc: subnets and security_group
# If no @vpc_id is provided to the initializer then the default vpc is used.
module Forger
class Network
- include Forger::AwsService
+ include Forger::AwsServices
extend Memoist
def initialize(vpc_id)
@vpc_id = vpc_id
end
@@ -18,10 +18,10 @@
default_vpc = resp.vpcs.first
if default_vpc
default_vpc.vpc_id
else
puts "A default vpc was not found in this AWS account and region.".color(:red)
- puts "Because there is no default vpc, please specify the --vpc-id option. More info: http://ufoships.com/reference/ufo-init/"
+ puts "Because there is no default vpc, please specify the --vpc-id option."
exit 1
end
end
memoize :vpc_id