MovableInkAWS 2.11.2 → 2.11.3

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: 9318b421bc139e87f2e723fdbba3360d952273bd0c01f8667d4cb8788f0b8ae1
4
- data.tar.gz: b2b481971587694e25571e53c7a514b2f2ac68e3176ad641b821eef2395e5d9d
3
+ metadata.gz: a27ff1c925fa1f4e8c22d0861a3771d54a6e2205fca2bb55851c16a5c33173cf
4
+ data.tar.gz: 93f02dadcc1ad75dc3165bef287399c5f79beb5a039ea5b92060c1641058f99f
5
5
  SHA512:
6
- metadata.gz: f103f6f8518ed20318e4fb08faf4f31cab1f94eae8e60c74b545548257d80f664337c5091f5323a1d9b41457f5821b17087693a5fefec7d9f4f46a0c0bf59dc1
7
- data.tar.gz: ce2104a04e8d1bae248a4e5cfbdd72fda580d4f95b5bc349f9b4c33d6978efb6915a72ff8881d451c2f737e569758b340124d8a414accb69334eb478a6f84fb5
6
+ metadata.gz: 1096049ab54da211a309f8489de0f9c4565ef992a394589beda3bb6feec63741dbc59b2fca5008f04c48644dc42b1a7372aee5b72b153b6b47c887e939782ed9
7
+ data.tar.gz: 57802cc971e2f35b848d26e14105213706656b959b2352645e5adb694edb2b8cfc1c627f0cf3f53217c9ba4e86fadd5afbfae20783e78e61e42101e0423ca6f2
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- MovableInkAWS (2.11.2)
4
+ MovableInkAWS (2.11.3)
5
5
  aws-sdk-athena (~> 1)
6
6
  aws-sdk-autoscaling (~> 1)
7
7
  aws-sdk-cloudwatch (~> 1)
@@ -258,6 +258,15 @@ module MovableInk
258
258
  unassigned_elastic_ips.select { |address| address.tags.detect { |t| t.key == 'mi:roles' && t.value == role } }
259
259
  end
260
260
 
261
+ def assign_ip_address_with_retries(role:)
262
+ run_with_backoff do
263
+ ec2_with_retries.associate_address({
264
+ instance_id: instance_id,
265
+ allocation_id: available_elastic_ips(role: role).sample.allocation_id
266
+ })
267
+ end
268
+ end
269
+
261
270
  def assign_ip_address(role:)
262
271
  run_with_backoff do
263
272
  ec2.associate_address({
@@ -1,5 +1,5 @@
1
1
  module MovableInk
2
2
  class AWS
3
- VERSION = '2.11.2'
3
+ VERSION = '2.11.3'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: MovableInkAWS
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.11.2
4
+ version: 2.11.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - MI SRE
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-07-28 00:00:00.000000000 Z
11
+ date: 2025-09-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core