bin/mu-deploy in cloud-mu-3.0.2 vs bin/mu-deploy in cloud-mu-3.1.0

- old
+ new

@@ -36,10 +36,11 @@ opt :web, "Generate web-friendly (HTML) output.", :require => false, :default => false, :type => :boolean opt :dryrun, "Do not build a stack, only run configuration validation.", :require => false, :default => false, :type => :boolean opt :skipinitialupdates, "Node bootstrapping normally runs an internal recipe that does a full system update. This disables that behavior.", :require => false, :default => false, :type => :boolean opt :parameter, "Pass a parameter to the configuration parser (Name=Value). This will be presented to your config file as the ERB variable $Name.", :require => false, :type => :string, :multi => true opt :update, "Update the stored configuration of an existing deployment, instead of creating a new deploy.", :require => false, :type => :string + opt :cloud, "Pass a parameter named 'cloud' to the stack, and set it as the default cloud platform for all resources if not explicitly declared. Must be one of: #{MU::Cloud.availableClouds.join(", ")}", :require => false, :type => :string opt :cloudformation, "Emit Amazon Web Services targets into a CloudFormation template instead of building real services.", :require => false, :default => false, :type => :boolean opt :cloudformation_output, "When emitting a CloudFormation template, put the final product in this location instead of in /tmp. Takes a local file path or an s3:// URI. S3 uploads will be given AUTHENTICATED-READ permissions.", :require => false, :type => :string opt :verbose, "Display debugging output.", :require => false, :default => false, :type => :boolean opt :quiet, "Display minimal output.", :require => false, :default => false, :type => :boolean opt :color, "Display log output in human-friendly colors.", :require => false, :default => true, :type => :boolean @@ -87,10 +88,10 @@ end MU.log "Loading #{config}", html: $opts[:web], details: $opts -conf_engine = MU::Config.new(config, $opts[:skipinitialupdates], params: params, updating: $opts[:update], default_credentials: $opts[:credentials]) +conf_engine = MU::Config.new(config, $opts[:skipinitialupdates], params: params, updating: $opts[:update], default_credentials: $opts[:credentials], cloud: $opts[:cloud]) stack_conf = conf_engine.config if $opts[:dryrun] or $opts[:verbose] puts MU::Config.stripConfig(stack_conf).to_yaml conf_engine.visualizeDependencies