class TerraBoi::TfEcrGenerator

Attributes

application_name[RW]

Public Instance Methods

create_ecr() click to toggle source
# File lib/generators/terra_boi/tf_ecr_generator.rb, line 21
def create_ecr
        template "ecr/ecs_role.tf.erb", "terraform/ecr/ecs_role.tf"
        template "ecr/main.tf.erb", "terraform/ecr/main.tf"
        template "ecr/output.tf.erb", "terraform/ecr/output.tf"
        template "ecr/var.tf.erb", "terraform/ecr/var.tf"
end
init() click to toggle source
# File lib/generators/terra_boi/tf_ecr_generator.rb, line 16
def init
        # defined in lib/generators/extensions
        self.application_name = generate_application_name
end