class TerraBoi::TfCertGenerator

Attributes

application_name[RW]
class_options[RW]

Public Instance Methods

create_cert() click to toggle source
# File lib/generators/terra_boi/tf_cert_generator.rb, line 23
def create_cert
        template "cert/main.tf.erb", "terraform/cert/main.tf"
        template "cert/var.tf.erb", "terraform/cert/var.tf"
end
init() click to toggle source
# File lib/generators/terra_boi/tf_cert_generator.rb, line 17
def init
        # defined in lib/generators/extensions
        self.application_name = generate_application_name
        self.class_options = options
end