terraform-synthesizer 0.0.21 → 0.0.22

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: 4e143fcb38eea65856239f4ced9c2c4d64810a658ecb570d925f05bfa19aaf08
4
- data.tar.gz: 9c1ab4e1ee2de99348e47a65edec733326ea9859cef33c10878b2bc1e644cc47
3
+ metadata.gz: d14d574d872c1ac1022a494d9372734fc616f296d8bcb0aecbb2e047688eec02
4
+ data.tar.gz: 11e5d148dbcb7098c6b5ac2486bd9ec259a634a47967af32c9dde2465f709a25
5
5
  SHA512:
6
- metadata.gz: de6d35a3c316e81e3e00646710c682d3d5e983a7189174fa15109836a77d3bc8ea85905391d222e11fe777c1a3c97f7c0cb35b1eefc638dbefe2719e99c1e47e
7
- data.tar.gz: 210483b473c35eac0ddb3341f7bbd11a458afa66780187287568e288dd53c614b07c146c566548bed5e97cb6a00c1bba4b77f7c1b16bfd457740c3335d45a338
6
+ metadata.gz: d5fe4bb12900049eb30fae229cc92afdacae4d4d774095429a839688bed8cc5f1e7e480d80174a03819f0a4d055886bd272aa902b19bfb7a4f82d050fdf22c94
7
+ data.tar.gz: 4912d72d0f65b7857955e157537cadb5b41162a3e9d1ea788647ce9c1527d61f8a63214f0f894826f2e37c6c90332ebc668ccef7d876d2e952dc9dcfe9437b88
@@ -1,3 +1,3 @@
1
1
  module TerraformSynthesizer
2
- VERSION = %(0.0.21).freeze
2
+ VERSION = %(0.0.22).freeze
3
3
  end
@@ -3,6 +3,7 @@ require %(abstract-synthesizer)
3
3
  class TerraformSynthesizer < AbstractSynthesizer
4
4
  RESOURCE_KEYS = %i[
5
5
  terraform
6
+ provider
6
7
  resource
7
8
  variable
8
9
  locals
@@ -62,5 +62,15 @@ describe TerraformSynthesizer do
62
62
  end
63
63
  expect(synth.synthesis[:resource][:aws_vpc][:thang]).to be_kind_of(Hash)
64
64
  end
65
+
66
+ it %(should return provider) do
67
+ synth.synthesize do
68
+ provider :datadog do
69
+ api_key %(api key value)
70
+ app_key %(app key value)
71
+ end
72
+ end
73
+ expect(synth.synthesis[:provider]).to be_kind_of(Hash)
74
+ end
65
75
  end
66
76
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: terraform-synthesizer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.21
4
+ version: 0.0.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - drzthslnt@gmail.com