kontena-plugin-aws 0.2.5 → 0.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 25f871612168855c6a2becb9e555b0ba53a2d6ed
|
|
4
|
+
data.tar.gz: 2047bf67a773fa58f09f9445ab61b65e682e600b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0268b7dfe2cbf7a9b600205afd8b72bb217ad2bc37997e3adafcfc324c7a6b4ac4eb3f625b8c0010ab9f764f79cfa307a86b50bbe51014ce2170b17261fc1198
|
|
7
|
+
data.tar.gz: 8dc3ef5d935815aa0bc18be4d9ed34dc86d9dd9e522c34dd14486a38e406150ea7f6849a5b3135b09e5d6386bc4ee22ead53725c19a2d8a11bbaa5719a50aeee
|
data/README.md
CHANGED
|
@@ -11,6 +11,12 @@ This plugin provides support for AWS EC2 provisioning to Kontena CLI.
|
|
|
11
11
|
4. Push to the branch (`git push origin my-new-feature`)
|
|
12
12
|
5. Create a new Pull Request
|
|
13
13
|
|
|
14
|
+
## Testing
|
|
15
|
+
|
|
16
|
+
From the plugin directory, run the AWS commands using `bundle exec`.
|
|
17
|
+
|
|
18
|
+
Example: `bundle exec kontena aws master create`
|
|
19
|
+
|
|
14
20
|
## License
|
|
15
21
|
|
|
16
22
|
Kontena is licensed under the Apache License, Version 2.0. See [LICENSE](LICENSE.txt) for full license text.
|
data/lib/kontena/plugin/aws.rb
CHANGED
|
@@ -14,7 +14,7 @@ module Kontena::Plugin::Aws::Nodes
|
|
|
14
14
|
def execute
|
|
15
15
|
require_current_grid
|
|
16
16
|
node_name = self.name || ask_node
|
|
17
|
-
node = client.get("
|
|
17
|
+
node = client.get("nodes/#{current_grid}/#{node_name}")
|
|
18
18
|
|
|
19
19
|
aws_access_key = ask_aws_access_key
|
|
20
20
|
aws_secret_key = ask_aws_secret_key
|
|
@@ -16,7 +16,7 @@ module Kontena::Plugin::Aws::Nodes
|
|
|
16
16
|
require_current_grid
|
|
17
17
|
|
|
18
18
|
node_name = self.name || ask_node
|
|
19
|
-
node = client.get("
|
|
19
|
+
node = client.get("nodes/#{current_grid}/#{node_name}")
|
|
20
20
|
aws_access_key = ask_aws_access_key
|
|
21
21
|
aws_secret_key = ask_aws_secret_key
|
|
22
22
|
aws_region = self.region || resolve_or_ask_region(node, aws_access_key, aws_secret_key)
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: kontena-plugin-aws
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kontena, Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-03-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: kontena-cli
|