Commit Graph

368 Commits

Author SHA1 Message Date
R. Tyler Croy a4b0866d51 Merge pull request #456 from tuxinaut/code_style_fixes
Remove trailing whitespace in run_instances.rb
2016-04-08 08:17:47 -07:00
Denny Schäfer 8a1d6e2faf Remove trailing whitespace 2016-04-08 14:02:54 +02:00
R. Tyler Croy db7bf880f7 Merge pull request #441 from alexconst/feat/aws_files
Add support for AWS config and credential files
2016-03-21 08:34:12 -07:00
Alexandre Constantino 3d892a3e7c Fix iniparse gem dependency 2016-03-08 02:21:41 +00:00
Alexandre Constantino 8dc681aa60 Fix bug with session_token 2016-02-05 19:51:42 +00:00
Alexandre Constantino 9e6f452a45 Replace regex for reading AWS files with iniparse 2016-02-05 18:59:51 +00:00
Alexandre Constantino e82d11aa87 Update comment for the Credentials class 2016-02-05 18:06:40 +00:00
Alexandre Constantino 566a7a76a8 Add support for AWS shared credentials location
Add support for AWS shared credentials location environment variables
AWS_CONFIG_FILE and AWS_SHARED_CREDENTIALS_FILE
2016-02-05 17:52:00 +00:00
Alexandre Constantino 1145b5441f Add test for AWS shared credentials
Test case: without EC2 credential environment variables but with
AWS_CONFIG_FILE and AWS_SHARED_CREDENTIALS_FILE set
2016-02-05 17:15:22 +00:00
Alexandre Constantino 49ef5e3701 Add test for AWS shared credentials
Test case: with EC2 credential environment variables set
2016-02-05 16:48:32 +00:00
Alexandre Constantino 1d29d81178 Add test for AWS config and credentials files 2016-02-05 01:34:33 +00:00
Alexandre Constantino cb922a9bf1 Fix tests
Fix AWS environment variable names in tests.
Fix AWS variables coupling: id and secret must both be present.
Updated code to work together with finalize defaults.
Set tests to run with defined order, making debugging easier.
2016-02-04 22:06:38 +00:00
Alexandre Constantino 66adb1c62c Add example for aws.aws_profile 2016-01-27 13:55:41 +00:00
Alexandre Constantino 7d0579b311 Refactor code for reading credentials 2016-01-27 13:29:46 +00:00
Alexandre Constantino ca2f17f07f Cleanup 2016-01-27 13:05:19 +00:00
Alexandre Constantino a3a8e22f3a Move credentials validation and error message
AWS info (credentials and config) verification is done at validate and
the error message is read from the locales yml file.
2016-01-27 12:50:45 +00:00
Alexandre Constantino 006b38c079 Add support for AWS config and credential files
When either access_key_id or secret_access_key are not set it will
attempt to read from environment variables, if those are empty then it
will attempt to read from config and credentials.
It allows choosing a profile (by default it's [default]) and an "info"
directory (by default $HOME/.aws).
Supported information: region, aws_access_key_id, aws_secret_access_key
and aws_session_token.
2016-01-27 11:38:32 +00:00
R. Tyler Croy bfabcfbbd3
Bump the version for another long overdue release 2016-01-04 11:06:05 -08:00
R. Tyler Croy 988be1f79f Merge pull request #355 from silvax/change-ssh-target-order
changed the order of the target properties for ssh.
2015-12-08 11:03:31 -08:00
R. Tyler Croy 54bee3423d Merge pull request #427 from mheffner/doc-monitoring-option
Document detailed monitoring flag.
2015-12-08 11:02:58 -08:00
Mike Heffner 4463e2bfd0 Document detailed monitoring flag. 2015-11-23 13:40:37 -05:00
R. Tyler Croy d356525251 Merge pull request #412 from rtyler/issues/395-tenency-rebase
Add support for 'tenancy' option when launching VPC instances.
2015-10-04 09:04:17 -07:00
Cameron Brunner 41915a7fbb
Add support for 'tenancy' option when launching VPC instances.
Fixes #375
Fixes #395
2015-10-04 08:54:24 -07:00
R. Tyler Croy 840fd8363a Merge pull request #399 from mbhinder/source_dest_checks
Enabled the option to specify the Source/Destination checks flag
2015-09-14 09:12:17 -07:00
Preet Bhinder be0a6974fc Enabled the option to specify the Source/Destination checks flag
This patch enables the option to set the source/destination checks flag
on an amazon vpc instance. This flag cannot be set while creating the
instance so an additional call is required.
2015-09-13 20:10:12 -07:00
R. Tyler Croy ef97e5118b Merge pull request #400 from bgidley/master
Patch for https://github.com/mitchellh/vagrant-aws/issues/250
2015-09-13 19:27:53 -07:00
Ben Gidley 37f7a46341 Revised Case of unregister_ELB_from_Az 2015-08-17 22:19:28 +01:00
R. Tyler Croy 12a67944ed Merge pull request #404 from uber/configurable_ready_check_interval
Adding state check interval to start_instance
2015-08-12 07:58:05 -07:00
Ted Wexler 9bb5fe1aea moving configurable interval to the correct action 2015-08-12 13:16:41 +02:00
Ted Wexler 66d0942442 bumping vetsion 2015-08-12 12:47:57 +02:00
Ted Wexler 2a51e3770d Adding state check interval to start_instance 2015-08-12 11:35:48 +02:00
Ben Gidley fd57ad6f5d Added docs 2015-08-10 14:42:21 +01:00
Ben Gidley 01857c4c63 Added docs 2015-08-10 14:41:46 +01:00
Ben Gidley 2b3141ea10 Merge remote-tracking branch 'upstream/master' 2015-08-10 14:40:22 +01:00
Ben Gidley 6a47abb047 Added option to disable ELB AZ unregister 2015-08-10 14:30:40 +01:00
Ben Gidley aaa64cee58 Added option to disable ELB AZ unregister 2015-08-10 14:16:59 +01:00
R. Tyler Croy 7e0050fad3 Merge pull request #391 from tcahill/doc-terminate
Add documentation for terminate_on_shutdown attribute
2015-08-08 11:42:17 -07:00
R. Tyler Croy 369454c512 Merge pull request #364 from jmehnle/master
Document `ssh_host_attribute` option.
2015-08-08 11:42:01 -07:00
R. Tyler Croy 9d8e2de287 Merge pull request #367 from sethvargo/sethvargo/fix_i18n
Fix i18n message
2015-08-08 11:41:33 -07:00
R. Tyler Croy 3e911aec06 Merge pull request #386 from iwai/support-kernel_id-option
Supproted kernel id config #262
2015-08-08 11:41:19 -07:00
R. Tyler Croy b590f01134 Merge pull request #398 from pcn/add-retry-on-instance-create
Retry the initial ssh to an ec2 instance
2015-08-08 11:41:01 -07:00
Ben Gidley b6e940ff28 Added option to disable ELB AZ unregister 2015-08-06 10:48:05 +01:00
Peter Norton d070ef6bc5 Retry the initial ssh to an ec2 instance
This is because we're still running into the same issue as described at
https://github.com/mitchellh/vagrant-aws/issues/74#issuecomment-54758045,
more than 2 years after it was intially described.

I'm not familiar enough with ruby to know how to discover/narrow down
the class of the exception - it doesn't appear to be part of the stack
trace - so I'm rescuing very broadly, and retrying.  Since there's a
retry limit, in the case where ssh is really unreachable this should
still terminate.

I'd perfer to only catch the network unreachable error.
2015-07-21 14:11:16 -04:00
Tom Cahill bff174f7f2 Add documentation for terminate_on_shutdown attribute 2015-06-08 11:51:50 -07:00
Yuji Iwai e193be1700 Supproted kernel id config 2015-05-12 12:30:42 +09:00
Seth Vargo b1a142363e Fix i18n message 2015-03-04 10:18:30 -05:00
Julian Mehnle c56f7791f4 Document `ssh_host_attribute` option. 2015-02-26 06:13:37 +00:00
Andres Silva e914ef5513 changed the order of the target properties for ssh. This puts public dns first which is better suited for more secure environments 2015-02-06 10:50:02 -05:00
R. Tyler Croy d77a8b94e2 Merge pull request #334 from atlassian/ami_tags
Add a way to tag the AMIs generated by vagrant package
2015-01-27 01:57:07 -08:00
R. Tyler Croy 556ff24dcb Merge pull request #343 from hugofonseca/fix_Gemfile
Up Gemfile for vagrant 1.5+
2015-01-27 01:55:55 -08:00