vagrant-aws-credentials 0.1.1 → 0.1.2
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 +4 -4
- data/Gemfile +3 -1
- data/README.md +8 -3
- data/lib/vagrant-aws-credentials/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6a69e24215e32f26015c992153a612fbdca33848
|
|
4
|
+
data.tar.gz: 167eec92a4933683c2af672f2a2a5279d61162d4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 780a3853a25be06eebdd0feecdc637ee83b2878e2a1fb771504c16f49b82f96f35d4f601241bb4e7032378a5c6f9832f4519b110ca44f3054d277009a73981e9
|
|
7
|
+
data.tar.gz: 079ed0eafb748c240ca22d0396bf68427b75efa42863cdd5c589512bcdd59ed958064df43475527ddf426036ac37eeaf7e57f531914b7edcf25e3032cf7f9501
|
data/Gemfile
CHANGED
|
@@ -2,6 +2,9 @@ source 'https://rubygems.org'
|
|
|
2
2
|
|
|
3
3
|
# Specify your gem's dependencies in vagrant-aws-credentials.gemspec
|
|
4
4
|
gemspec
|
|
5
|
+
|
|
6
|
+
gem "aws-sdk"
|
|
7
|
+
|
|
5
8
|
group :development do
|
|
6
9
|
gem "vagrant", git: "https://github.com/mitchellh/vagrant.git"
|
|
7
10
|
gem "bundler", "<= 1.10.6", ">= 1.5.2"
|
|
@@ -10,5 +13,4 @@ end
|
|
|
10
13
|
group :plugins do
|
|
11
14
|
gem "vagrant-aws-credentials", path: "."
|
|
12
15
|
gem "vagrant-aws", git: "https://github.com/mitchellh/vagrant-aws.git"
|
|
13
|
-
gem "aws-sdk"
|
|
14
16
|
end
|
data/README.md
CHANGED
|
@@ -16,9 +16,14 @@ config.aws_credentials.profile = "default"
|
|
|
16
16
|
|
|
17
17
|
Config your vagrant-aws plugin on the Vagrantfile to search for secrets on the following environment variables:
|
|
18
18
|
```ruby
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
config.aws_credentials.profile = "default"
|
|
20
|
+
config.vm.provider :aws do |aws, override|
|
|
21
|
+
|
|
22
|
+
aws.access_key_id = ENV["VAGRANT_AWS_ACCESS_KEY"]
|
|
23
|
+
aws.secret_access_key = ENV["VAGRANT_AWS_SECRET_ACCESS_KEY"]
|
|
24
|
+
aws.session_token = ENV["VAGRANT_AWS_SESSION_TOKEN"]
|
|
25
|
+
...
|
|
26
|
+
end
|
|
22
27
|
```
|
|
23
28
|
|
|
24
29
|
## Development
|