Class: SimplyGenius::Atmos::Commands::Plan
- Inherits:
-
Terraform
- Object
- Clamp::Command
- BaseCommand
- Terraform
- SimplyGenius::Atmos::Commands::Plan
- Defined in:
- lib/simplygenius/atmos/commands/plan.rb
Instance Attribute Summary
Attributes inherited from Terraform
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Terraform
#enable_shared_plugins, #init_automatically, #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 19 20 21 |
# 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) self.auto_init = true super end |