lib/jets/aws_services/stack_status.rb in jets-5.0.0 vs lib/jets/aws_services/stack_status.rb in jets-5.0.1
- old
+ new
@@ -2,10 +2,10 @@
module StackStatus
# Only cache if it is true because the initial deploy checks live status until a stack exists.
@@stack_exists_cache = [] # helps with CloudFormation rate limit
def stack_exists?(stack_name)
return false if Jets.env.test?
- return true if ENV['JETS_BUILD_NO_INTERNET']
+ return true if ENV['JETS_NO_INTERNET']
return true if @@stack_exists_cache.include?(stack_name)
exist = nil
begin
# When the stack does not exist an exception is raised. Example: