Class: StackMaster::AwsDriver::CloudFormation
- Inherits:
-
Object
- Object
- StackMaster::AwsDriver::CloudFormation
- Extended by:
- Forwardable
- Defined in:
- lib/stack_master/aws_driver/cloud_formation.rb
Instance Method Summary collapse
Instance Method Details
#region ⇒ Object
6 7 8 |
# File 'lib/stack_master/aws_driver/cloud_formation.rb', line 6 def region @region ||= ENV['AWS_REGION'] || Aws.config[:region] || Aws.shared_config.region end |
#set_region(value) ⇒ Object
10 11 12 13 14 15 |
# File 'lib/stack_master/aws_driver/cloud_formation.rb', line 10 def set_region(value) if region != value @region = value @cf = nil end end |