Class: EcsDeployCli::Runners::SSH
- Defined in:
- lib/ecs_deploy_cli/runners/ssh.rb
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from EcsDeployCli::Runners::Base
Instance Method Details
#run!(params = {}) ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/ecs_deploy_cli/runners/ssh.rb', line 6 def run!(params = {}) instance_ids = load_container_instances(params) instance_id = choose_instance_id(instance_ids) dns_name = load_dns_name_from_instance_id(instance_id) run_ssh(dns_name) end |