Method: Qops::Environment#stack
- Defined in:
- lib/qops/environment.rb
#stack(options = {}) ⇒ Object
67 68 69 70 71 72 73 74 75 |
# File 'lib/qops/environment.rb', line 67 def stack( = {}) return @_stack if @_stack # find out if the config is using stack id or name key = search_key() value = [key] || configuration.send(key) # aws uses the term 'name' to reference a stack name key = :name if key == :stack_name @_stack = search_stack(key, value) end |