terrafying-components 2.7.1 → 2.8.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f7dd4e1c1ba5e659f787c37bcf20a8abb6f3100c4548daeabdfcd8bd26b6b6a0
4
- data.tar.gz: 7a95c4b2e9cdcd47df56bb9d46913f47e0003693bb49d9521c463c07dcada33a
3
+ metadata.gz: 577a158d84faea6d0abc7b9dba72064aee63f64f1797f30f1a74f9ea175dd7e0
4
+ data.tar.gz: 75d76c3838e0657e73669262e9988c89878802a8f9c229a573b66c6a349493ef
5
5
  SHA512:
6
- metadata.gz: d466061b24d5186fe0eb2aff6adb15c3d028877e8785d04c13497823db219ce7a96573751561f7aad0ae0f112a54c47f135f1a24782c1ce734decdaa23fa03b1
7
- data.tar.gz: d6eeab712a64389d1200ac3e8574ae2deda285234a79caa8d8fed01cb8db4c2d38a2423471890b6f2a5a6ba3648a0129cd010ad536cd00f7ba8cdc13496c4af8
6
+ metadata.gz: 2ba778db8c91b2e98d96564a75d10582f362b91724eba7e802ccd5835d904d7d6eb6a4110d04dd86cb3640e489a0b3e3c90a5fd94cb5d1097b3c94a1663dff6f
7
+ data.tar.gz: 1f13a9ec415b87c5b5e2afeaaab4e510ab25d73bf31f7e01d4a54c7aba728a0a690ee992f6db20c1b69150ee62f3781060f55de140a5e900afac229da333782f
@@ -101,7 +101,7 @@ module Terrafying
101
101
 
102
102
  @ca_cert_acl = options[:public_certificate] ? 'public-read' : 'private'
103
103
 
104
- open(@acme_provider[:ca_cert], 'rb') do |cert|
104
+ URI.open(@acme_provider[:ca_cert]) do |cert|
105
105
  @ca_cert = cert.read
106
106
  end
107
107
 
@@ -92,7 +92,7 @@ module Terrafying
92
92
  resource :aws_iam_role_policy_attachment, "#{ident}-config-policy", {
93
93
  provider: @provider,
94
94
  role: role["name"],
95
- policy_arn: "arn:aws:iam::aws:policy/service-role/AWSConfigRole",
95
+ policy_arn: "arn:aws:iam::aws:policy/service-role/AWS_ConfigRole",
96
96
  }
97
97
 
98
98
  recorder = resource :aws_config_configuration_recorder, ident, {
@@ -10,8 +10,8 @@ module Terrafying
10
10
 
11
11
  class Trail < Terrafying::Context
12
12
 
13
- def self.create(*args)
14
- Trail.new.create(*args)
13
+ def self.create(name, **args)
14
+ Trail.new.create(name, **args)
15
15
  end
16
16
 
17
17
  def self.bucket_statements(bucket_name)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Terrafying
4
4
  module Components
5
- VERSION = '2.7.1'
5
+ VERSION = '2.8.0'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: terrafying-components
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.7.1
4
+ version: 2.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - uSwitch Limited
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-28 00:00:00.000000000 Z
11
+ date: 2023-06-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - ">="
60
60
  - !ruby/object:Gem::Version
61
- version: 1.7.8
61
+ version: 1.8.0
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
- version: 1.7.8
68
+ version: 1.8.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: xxhash
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -127,7 +127,7 @@ homepage: https://github.com/uswitch/terrafying-components
127
127
  licenses:
128
128
  - Apache-2.0
129
129
  metadata: {}
130
- post_install_message:
130
+ post_install_message:
131
131
  rdoc_options: []
132
132
  require_paths:
133
133
  - lib
@@ -142,8 +142,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
142
142
  - !ruby/object:Gem::Version
143
143
  version: '0'
144
144
  requirements: []
145
- rubygems_version: 3.0.3
146
- signing_key:
145
+ rubygems_version: 3.4.10
146
+ signing_key:
147
147
  specification_version: 4
148
148
  summary: No.
149
149
  test_files: []