Class: Terraform::Provider

Inherits:
StackElement show all
Defined in:
lib/terraform_dsl/provider.rb

Overview

Implements DSL for a terraform provider, and a means of loading secrets.

Instance Attribute Summary

Attributes inherited from StackElement

#fields

Instance Method Summary collapse

Methods inherited from StackElement

#initialize

Methods included from Aws

#post_processing_aws, taggable?

Constructor Details

This class inherits a constructor from Terraform::StackElement

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Terraform::StackElement

Instance Method Details

#load_secrets(name) ⇒ Object



7
8
9
10
11
# File 'lib/terraform_dsl/provider.rb', line 7

def load_secrets(name)
  @secrets ||= {}
  @secrets[name.to_sym] = SECRETS[name.to_sym]
  @secrets
end