Sha256: 5b23f58cfb4a021e90e228971f8a6fc19da26dfce154aa2ab89e51fb44a7e8b0
Contents?: true
Size: 951 Bytes
Versions: 4
Compression:
Stored size: 951 Bytes
Contents
require 'clamp' require 'opsworks_rolling_deploy/services/describe_service' module OpsworksRollingDeploy module Commands class DescribeCommand < Clamp::Command option "--aws-id", "AWS_ACCESS_KEY_ID", "aws access key id", environment_variable: "AWS_ACCESS_KEY_ID" option "--aws-secret", "AWS_SECRET_ACCESS_KEY", "aws secret access key", environment_variable: "AWS_SECRET_ACCESS_KEY" option "--stack", "STACK_NAME", "the stack name", :required => false option "--app", "APP_NAME", "the application name", :required => false option "--layer", "LAYER_NAME", "the layer name", :required => false option "--verbose", :flag, "display aws commands" def execute OpsworksRollingDeploy.set_verbose(verbose?) OpsworksRollingDeploy.set_auth_default(aws_id, aws_secret) if aws_id OpsworksRollingDeploy::Services::DescribeService.new.describe(stack, app, layer) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems