lib/jets/commands/stack_info.rb in jets-2.2.5 vs lib/jets/commands/stack_info.rb in jets-2.3.0

- old
+ new

@@ -9,11 +9,11 @@ first_run? ? :minimal : :full end def s3_bucket return @s3_bucket if @s3_bucket - return nil if first_run? + return "fake-bucket" if ENV['JETS_BUILD_NO_INTERNET'] resp = cfn.describe_stacks(stack_name: parent_stack_name) output = resp.stacks[0].outputs.find {|o| o.output_key == 'S3Bucket'} @s3_bucket = output.output_value # once an s3 bucket is found, cache it end