Class: SimplyGenius::Atmos::Commands::Plan
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Terraform
#parse
Methods included from UI
#agree, #ask, #choose, color_enabled, color_enabled=, #display, #error, #notify, #say, #warn
Class Method Details
.description ⇒ Object
9
10
11
|
# File 'lib/simplygenius/atmos/commands/plan.rb', line 9
def self.description
"Runs terraform plan"
end
|
Instance Method Details
#execute ⇒ Object
13
14
15
16
17
18
|
# File 'lib/simplygenius/atmos/commands/plan.rb', line 13
def execute
args = ["plan"]
args << "--get-modules" unless Atmos.config["atmos.terraform.disable_auto_modules"].to_s == "true"
@terraform_arguments.insert(0, *args)
super
end
|