kite 1.1.12 → 1.1.13

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: 34f13ffb360f41194e79bf0059d1ad78dd8a35d7df8510c6448d2870d9c7c710
4
- data.tar.gz: 58571cfedcfa51c557282f1845fca1b483f89ca782047722f78f53832ecbb438
3
+ metadata.gz: 5d7109d982e6352711a17870603b0a9dba041948a4b40fccee5caf1c06a53f28
4
+ data.tar.gz: b8f46289f3f390bb890b61980d4879bf0984c6e2b6e40dee42303bf10dd49a78
5
5
  SHA512:
6
- metadata.gz: 67718b74edd41a644a26c29d2a6b481bf505c5951e431fc766c2559f7c19b5d5a04af93df400e71d360655c7a3d64c82f196e2bcb8cbc893c942ece1643f752f
7
- data.tar.gz: 1f615f185989b054ef5799a0c01ab59670ce71701241ee9a221338ead5530f4f80d056d795d1de993cb0048ccde238b7d56c653acefb6c14504083cc0826c793
6
+ metadata.gz: b93047722da7503160dfa8c3dfced8f533fd45ee7aa7b7f08e386f12c4023355403119fd85f4fa972ac57cecd6db56009d7c073317e09ec11968642144177b55
7
+ data.tar.gz: 2ed9bc7e998fc491d5ca8991ac3f5fbbd1af891d9d4707922b8fe2017c363262fb8eb4735387ab29c36db7de1c21ab8a3a84fa31573dd6e6b22503e10c909729
data/lib/kite/generate.rb CHANGED
@@ -33,7 +33,7 @@ module Kite
33
33
  directory('service', path)
34
34
  end
35
35
 
36
- method_option :provider, type: :string, desc: "Cloud provider", enum: %w{aws gcp}, required: true
36
+ method_option :provider, type: :string, desc: "Cloud provider", enum: %w{aws gcp ali}, required: true
37
37
  desc 'environment NAME', 'Generate an environment with base terraform files'
38
38
  def environment(name)
39
39
  say "Generating environment for #{options[:provider]}"
data/lib/kite/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Kite
2
- VERSION = '1.1.12'
2
+ VERSION = '1.1.13'
3
3
  end
@@ -0,0 +1,5 @@
1
+ provider "alicloud" {
2
+ region = "<%= @cloud['region'] %>"
3
+ access_key = "<%= @cloud['ali']['access_key'] %>"
4
+ secret_key = "<%= @cloud['ali']['secret_key'] %>"
5
+ }
@@ -1,5 +1,5 @@
1
1
  default: &default
2
- # Note that region formats differ between AWS and GCP
2
+ # Note that region formats differ between GCP, AWS and AliCloud
3
3
  region: "europe-west4"
4
4
  zone: "europe-west4-c"
5
5
  gcp:
@@ -10,3 +10,6 @@ default: &default
10
10
  access_key: "********************"
11
11
  secret_key: "****************************************"
12
12
  bucket_name: "kite-state-helios-devel"
13
+ ali:
14
+ access_key: "********************"
15
+ secret_key: "****************************************"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kite
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.12
4
+ version: 1.1.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Louis Bellet
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2019-06-20 00:00:00.000000000 Z
14
+ date: 2019-06-27 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: thor
@@ -170,6 +170,7 @@ files:
170
170
  - lib/kite/module.rb
171
171
  - lib/kite/terraform.rb
172
172
  - lib/kite/version.rb
173
+ - tpl/ali/environment/main.tf.tt
173
174
  - tpl/aws/environment/main.tf.tt
174
175
  - tpl/aws/environment/s3.tf.tt
175
176
  - tpl/gcp/environment/gcs.tf.tt