capistrano-aws 1.2.1 → 1.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b1c3b10ac2828ba8fa329df3458fd5f4df8f777f7a5f53b6d1774bfa0daf2518
4
- data.tar.gz: 75f080dadf9cf60e262f16eb63733593eafaffa9211f89c66a5eafc50245c219
3
+ metadata.gz: a2006811f133eab613010a7d4c158a23abf818e7cc2981f90e82e014991137e1
4
+ data.tar.gz: 8eb22d2c33fd3c193deb881f34b6eaea42829d9fa7f2eab2ce948aad9e390015
5
5
  SHA512:
6
- metadata.gz: 3b8459626eac2b171adb53979c0f0c17821c3fcd9bb0c7157f4803c1ad913ab6471eec93811d337e73df0eaf623634d5414090a9c0f6d08cba281dc447026a45
7
- data.tar.gz: 17ec5886aa064ff07eb93a3f76529852d85695c02fd9c03476a7969c86d659377c5b96b70fbd9829419b3881d280d3232aa04abeffeaac1fb4082cefabec3b84
6
+ metadata.gz: 0bd93c96b11b2e8fcdf24d56138d949993aba9158ce9ec3c495524626ecf653beb65f1ba05e2b60a89f1d4aae8568e55699120e95df0cd441440e44d3d9baae6
7
+ data.tar.gz: 992ffb974dc1bbcbccf14d53512373d46dfd249929151cc10ab8ca56ba206c8d6b13e19081ec566136faaab4a142af1af8119561e46ecdbbd8ea6c4e981f059f
@@ -1,3 +1,7 @@
1
+ 2020-04-22 - 1.2.2 - Extra EC2 contact point
2
+
3
+ * Added extra EC2 contact point with instance id and private DNS (for SSM usage)
4
+
1
5
  2018-03-08 - 1.1.0 - Custom filters
2
6
 
3
7
  * Support extra filters for retrieving EC2 instances.
data/README.md CHANGED
@@ -53,7 +53,7 @@ set :aws_ec2_extra_filters, []
53
53
  # Tag to be used as the instance name in the instances table (aws:ec2:instances task).
54
54
  set :aws_ec2_name_tag, 'Name'
55
55
 
56
- # How to contact the instance (:public_ip, :public_dns, :private_ip).
56
+ # How to contact the instance (:public_ip, :public_dns, :private_ip, :private_dns, :id).
57
57
  set :aws_ec2_contact_point, :public_ip
58
58
  ```
59
59
 
@@ -5,7 +5,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
5
 
6
6
  Gem::Specification.new do |gem|
7
7
  gem.name = 'capistrano-aws'
8
- gem.version = '1.2.1'
8
+ gem.version = '1.2.2'
9
9
  gem.author = 'Fernando Carletti'
10
10
  gem.email = 'contact@fernandocarletti.net'
11
11
  gem.homepage = 'http://github.com/fernandocarletti/capistrano-aws'
@@ -42,6 +42,10 @@ module Capistrano
42
42
  case fetch(:aws_ec2_contact_point)
43
43
  when :private_ip
44
44
  instance.private_ip_address
45
+ when :private_dns
46
+ instance.private_dns_name
47
+ when :id
48
+ instance.id
45
49
  when :public_dns
46
50
  instance.public_dns_name
47
51
  else
@@ -42,7 +42,7 @@ namespace :load do
42
42
  # Tag to be used as the instance name in the instances table (aws:ec2:instances task).
43
43
  set :aws_ec2_name_tag, 'Name'
44
44
 
45
- # How to contact the instance (:public_ip, :public_dns, :private_ip).
45
+ # How to contact the instance (:public_ip, :public_dns, :private_ip, :private_dns, :id).
46
46
  set :aws_ec2_contact_point, :public_ip
47
47
  end
48
48
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-aws
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fernando Carletti
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-14 00:00:00.000000000 Z
11
+ date: 2020-04-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano
@@ -120,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
120
120
  - !ruby/object:Gem::Version
121
121
  version: '0'
122
122
  requirements: []
123
- rubygems_version: 3.0.6
123
+ rubygems_version: 3.0.3
124
124
  signing_key:
125
125
  specification_version: 4
126
126
  summary: Integrates capistrano with AWS.