dependabot-terraform 0.214.0 → 0.215.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dependabot/terraform/file_updater.rb +8 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dd22ab6f6033e3017bb377d90ffd392f43c6c28ea064af5a872085f6f84730ca
|
4
|
+
data.tar.gz: 713441a91d7551bcf43aaea61853050e28f11d6b5e5927a1e533b8b5ecb8d30b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d919cfc6f990c03c84cb59fd37f148b961842000234b0d25107ff3cdb562489339048fb0a6e876111e466f078c4f7a23ded70d95318d375d208aa88d3bf5b870
|
7
|
+
data.tar.gz: 1ce8056fd53992fa0149d95d3f90e3dbba88bbe8c2037a29871b549638fd6bf557e098e96df12278700d94dedb2111877f0285ad832f9e8a8f518a963c7831ae
|
@@ -173,7 +173,10 @@ module Dependabot
|
|
173
173
|
# Terraform will update the lockfile in place so we use a fresh lockfile for each lookup
|
174
174
|
File.write(".terraform.lock.hcl", lockfile_hash_removed)
|
175
175
|
|
176
|
-
SharedHelpers.run_shell_command(
|
176
|
+
SharedHelpers.run_shell_command(
|
177
|
+
"terraform providers lock -platform=#{arch} #{provider_source} -no-color",
|
178
|
+
fingerprint: "terraform providers lock -platform=<arch> <provider_source> -no-color"
|
179
|
+
)
|
177
180
|
|
178
181
|
updated_lockfile = File.read(".terraform.lock.hcl")
|
179
182
|
updated_hashes = extract_provider_h1_hashes(updated_lockfile, declaration_regex)
|
@@ -228,7 +231,10 @@ module Dependabot
|
|
228
231
|
|
229
232
|
File.write(".terraform.lock.hcl", lockfile_dependency_removed)
|
230
233
|
|
231
|
-
SharedHelpers.run_shell_command(
|
234
|
+
SharedHelpers.run_shell_command(
|
235
|
+
"terraform providers lock #{platforms} #{provider_source}",
|
236
|
+
fingerprint: "terraform providers lock <platforms> <provider_source>"
|
237
|
+
)
|
232
238
|
|
233
239
|
updated_lockfile = File.read(".terraform.lock.hcl")
|
234
240
|
updated_dependency = updated_lockfile.scan(declaration_regex).first
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dependabot-terraform
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.215.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dependabot
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-12-
|
11
|
+
date: 2022-12-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dependabot-common
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.215.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
26
|
+
version: 0.215.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: debug
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|