Class: Cloudshaper::Provider
- Inherits:
-
StackElement
- Object
- StackElement
- Cloudshaper::Provider
- Defined in:
- lib/cloudshaper/provider.rb
Overview
Implements DSL for a terraform provider, and a means of loading secrets.
Instance Attribute Summary
Attributes inherited from StackElement
Instance Method Summary collapse
Methods inherited from StackElement
Methods included from Aws
#post_processing_aws, taggable?
Constructor Details
This class inherits a constructor from Cloudshaper::StackElement
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Cloudshaper::StackElement
Instance Method Details
#load_secrets(name) ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/cloudshaper/provider.rb', line 7 def load_secrets(name) @secrets ||= {} if SECRETS.has_key? name.to_sym @secrets[name.to_sym] = SECRETS[name.to_sym] end @secrets end |