lib/forger/s3/bucket.rb in forger-3.0.1 vs lib/forger/s3/bucket.rb in forger-3.0.2
- old
+ new
@@ -1,6 +1,6 @@
-require "cfn/status"
+require "cfn_status"
class Forger::S3
class Bucket
STACK_NAME = ENV['FORGER_STACK_NAME'] || "forger"
include Forger::AwsServices
@@ -57,10 +57,10 @@
# Launches a cloudformation to create an s3 bucket
def create
puts "Creating #{STACK_NAME} stack with the s3 bucket"
cfn.create_stack(stack_name: STACK_NAME, template_body: template_body)
- status = ::Cfn::Status.new(STACK_NAME)
+ status = CfnStatus.new(STACK_NAME)
status.wait
end
def update
puts "Updating #{STACK_NAME} stack with the s3 bucket"