sumomo 0.8.9 → 0.8.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: 85ea8b9717493794761cd6651e7595ea4056994972508fd8af43965852a7a653
4
- data.tar.gz: 5ceac9bf30af9b4e632a680bb0c414daca770b05c35ed5fd1aa29700f5227a51
3
+ metadata.gz: 59006b478da1bfee06aeda72c61439bc432de97224c4d79b948cb9e4a69f1716
4
+ data.tar.gz: 87cad941fc2df847ab01578d970f622a281cd2237a083427163a7de447682fd9
5
5
  SHA512:
6
- metadata.gz: cdf4b4055e84d51971a94a479830bb3cc5e8bfdab565fec391db7bca5426e720489b5a7f95e4da899c2a9ebfead5ea120e2873efb544f38c549b53584cf668f9
7
- data.tar.gz: d819e57bec186f3e3c08a54b50f379ade66b9e9cc5e4b362ba427e0c12ac85a0ddcde969d9aa2ee89b407fd41a42c16679559a9448df92a426c2b898287d2766
6
+ metadata.gz: a8ba7e03cdeccec460b30a458ec8fd13308212c19b65a9cff287d6cd064adf30fae512da4afcb39c8cfe0fd9f162bc613ea9eb7783794be50527bc41d0d0251f
7
+ data.tar.gz: a66f919eb07e22c61cb9428e756425150dc1bfc281599dfe51d40b8dfb13c7680fa927af09fe116169ea5810a170a3c8d38fedddabcb8d14b7d18ea96b442b8a
data/README.md CHANGED
@@ -75,22 +75,23 @@ Sumomo::wait_for_stack(name: "mystack", region: "ap-northeast-1")
75
75
  You can make a server
76
76
 
77
77
  ```ruby
78
- network = make_network(layers: [:web, :db])
79
-
78
+ network = make_network(layers: %w[web])
80
79
  eip = make "AWS::EC2::EIP"
81
80
 
82
81
  make_autoscaling_group(
83
- network: network,
84
- layers: :web,
85
- eip: eip,
86
- type: "c3.xlarge",
87
- vol_size: 15, # GB,
88
- script: <<-SCRIPT
89
- yum install git gcc g++
90
- echo "hello world" >> ~/hello
91
- SCRIPT
82
+ network: network,
83
+ layer: 'web',
84
+ eip: eip,
85
+ type: "a1.medium",
86
+ vol_size: 15, # GB,
87
+ script: <<-SCRIPT
88
+ yum install git gcc g++
89
+ echo "hello world" >> ~/hello
90
+ SCRIPT
92
91
  )
93
92
 
93
+ output 'IP', eip
94
+
94
95
  ```
95
96
 
96
97
  You can make apis with this now
@@ -1,4 +1,6 @@
1
- var acm = new aws.ACM({region: "us-east-1"}); // MUST be us-east-1.
1
+ var cert_region = request.ResourceProperties.RegionOverride || request.ResourceProperties.Region;
2
+
3
+ var acm = new aws.ACM({region: cert_region});
2
4
 
3
5
  var return_properties = {};
4
6
 
@@ -66,9 +68,12 @@ function create(domain_name, on_success, on_fail)
66
68
  DomainValidationOptions: [
67
69
  {
68
70
  DomainName: domain_name,
69
- ValidationDomain: extractRootDomain(domain_name)
71
+ ValidationDomain: extractRootDomain(domain_name),
70
72
  },
71
- ]
73
+ ],
74
+ Options: {
75
+ CertificateTransparencyLoggingPreference: 'ENABLED'
76
+ }
72
77
  }
73
78
 
74
79
  if (request.ResourceProperties.ValidationMethod === "DNS")
@@ -1,4 +1,6 @@
1
- var acm = new aws.ACM({region: "us-east-1"}); // MUST be us-east-1.
1
+ var cert_region = request.ResourceProperties.RegionOverride || request.ResourceProperties.Region;
2
+
3
+ var acm = new aws.ACM({region: cert_region});
2
4
 
3
5
  var arn = request.ResourceProperties.Certificate;
4
6