Method: CloudFormationTool#region

Defined in:
lib/cloud_formation_tool.rb

#regionObject



74
75
76
77
78
79
# File 'lib/cloud_formation_tool.rb', line 74

def region
  $__region ||= ENV['AWS_REGION'] ||
      Aws::SharedConfig.new(profile_name: profile, config_enabled: true).profile_region ||
      ENV['AWS_DEFAULT_REGION'] ||
      'us-east-1'
end