Exception: Terraformer::Credentials::AwsMissingCredentals
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Terraformer::Credentials::AwsMissingCredentals
- Defined in:
- lib/terraformer/credentials/aws.rb
Instance Attribute Summary collapse
-
#key ⇒ Object
readonly
Returns the value of attribute key.
Instance Method Summary collapse
-
#initialize(key) ⇒ AwsMissingCredentals
constructor
A new instance of AwsMissingCredentals.
- #message ⇒ Object
Constructor Details
#initialize(key) ⇒ AwsMissingCredentals
Returns a new instance of AwsMissingCredentals.
6 7 8 9 10 |
# File 'lib/terraformer/credentials/aws.rb', line 6 def initialize(key) @key = key super() end |
Instance Attribute Details
#key ⇒ Object (readonly)
Returns the value of attribute key.
4 5 6 |
# File 'lib/terraformer/credentials/aws.rb', line 4 def key @key end |
Instance Method Details
#message ⇒ Object
12 13 14 |
# File 'lib/terraformer/credentials/aws.rb', line 12 def "'#{key}' not passed. set it via CLI --#{key} or #{key.upcase} enviroment variable." end |