Commit Graph

4591 Commits

Author SHA1 Message Date
Christopher Tiwald
89bacc0b15 aws: error on expndIPPerms(...) if our ports and protocol conflict.
Ingress and egress rules given a "-1" protocol don't have ports when
Read out of AWS. This results in hashing problems, as a local
config file might contain port declarations AWS can't ever return.

Rather than making ports optional fields, which carries with it a huge
headache trying to distinguish between zero-value attributes (e.g.
'to_port = 0') and attributes that are simply omitted, simply force the
user to opt-in when using the "-1" protocol. If they choose to use it,
they must now specify "0" for both to_port and from_port. Any other
configuration will error.
2015-05-04 23:43:31 -04:00
Clint
98d34a3266 Merge pull request #1795 from hashicorp/b-aws-route53-record-type-check
provider/aws: Add a regression check for Route 53 records
2015-05-04 17:19:53 -05:00
Clint Shryock
81422123e8 provider/aws: Add a regression check for Route 53 records 2015-05-04 17:05:49 -05:00
Mitchell Hashimoto
a52c1fb0f3 update CHANGELOG 2015-05-04 14:05:17 -07:00
Mitchell Hashimoto
9ed909c8fe Merge pull request #1749 from nabeken/aws-proxy-protocol-policy
provider/aws: Add proxy protocol support in ELB
2015-05-04 14:04:53 -07:00
Mitchell Hashimoto
bb3b6c82c2 update CHANGELOG 2015-05-04 14:03:59 -07:00
Mitchell Hashimoto
8633c88723 Merge pull request #1775 from TimeIncOSS/r53-alias-record
aws: Add support for Alias records into AWS Route 53
2015-05-04 14:03:29 -07:00
Paul Hinze
ed6f776d0a Merge pull request #1794 from hashicorp/f-extra-getok-test
helper/schema: add clarifying GetOk test
2015-05-04 16:03:01 -05:00
Mitchell Hashimoto
52b4270952 update CHANGELOG 2015-05-04 14:01:13 -07:00
Mitchell Hashimoto
c8c0b02790 Merge pull request #1787 from koendc/f-aws-max-retries
aws: make MaxRetries for API calls configurable
2015-05-04 14:00:37 -07:00
Mitchell Hashimoto
f80b7b6d5e update CHANGELOG 2015-05-04 13:59:57 -07:00
Mitchell Hashimoto
2c90d3a637 Merge pull request #1793 from ctiwald/ct/add-vpn-connection-route
provider/aws: add support for VPN connection routes
2015-05-04 13:58:17 -07:00
Paul Hinze
a3101568c5 helper/schema: add clarifying GetOk test
Wrote this test to verify behavior, committing and commenting to help me
get the answer faster in the future.
2015-05-04 14:58:12 -05:00
Paul Hinze
15dc4b614c docs: clarify ruby deps for local website dev
We use kwargs so we need Ruby >= 2.0
2015-05-04 14:51:24 -05:00
Mitchell Hashimoto
fad08081b2 update CHANGELOG 2015-05-04 11:20:36 -07:00
Mitchell Hashimoto
9617761eb4 Merge pull request #1776 from TimeIncOSS/eip-without-igw
[bugfix] aws/eip: Don't save instance ID if association fails
2015-05-04 11:19:32 -07:00
Mitchell Hashimoto
cf6fa89f46 Merge pull request #1785 from koendc/f-aws-security-token
aws: re-introduce support for AWS_SECURITY_TOKEN
2015-05-04 11:18:28 -07:00
Clint
c437886a46 Merge pull request #1774 from hashicorp/b-website-parsing
Fix indentation, which was causing a rendering error in middleman
2015-05-04 12:05:54 -05:00
Mitchell Hashimoto
92c55162f4 Merge pull request #1792 from ctiwald/ct/fix-acc-tests
Fix four acceptance tests so they now run successfully
2015-05-04 09:59:31 -07:00
Christopher Tiwald
e8976dca6b aws: Add documentation for VPN connection routes. 2015-05-04 12:55:55 -04:00
Christopher Tiwald
2c21f248ad aws: Add acceptance tests for VPN connection routes. 2015-05-04 12:55:55 -04:00
Christopher Tiwald
e7f8883929 aws: Add support for VPN connection routes. 2015-05-04 12:20:42 -04:00
Christopher Tiwald
4727260987 aws: fix VPN connection acceptance test.
This corrects syntactical errors and uses distinct IP addresses for
each configuration.
2015-05-04 11:34:35 -04:00
Christopher Tiwald
47305c9c5d aws: Fix customer gateway acceptance test.
This test contained a few syntactical errors.
2015-05-04 11:34:35 -04:00
Christopher Tiwald
f31466a60e aws: Fix app cookie stickiness policy acceptance test.
This used the wrong AZ and contained a few syntactical errors in
configuration.
2015-05-04 11:34:35 -04:00
Christopher Tiwald
14ea3a33a4 aws: Fix LB cookie stickiness policy acceptance test.
This needs to run in us-west-2 and contained a few syntactical errors
that prevented it from working.
2015-05-04 11:34:34 -04:00
Koen De Causmaecker
398c22adcd aws: make MaxRetries for API calls configurable
- Make it configurable in the AWS provider by add an option
  'max_retries'.
- Set the default from 3 to 11 retries.
2015-05-03 15:35:51 +02:00
Koen De Causmaecker
c8f32a2711 aws: re-introduce support for AWS_SECURITY_TOKEN 2015-05-03 10:26:58 +02:00
Dave Cunningham
cc7f4edd27 Merge pull request #1764 from sparkprime/scopes-pr
Use a set for service account scopes.  Fix #1759
2015-05-01 22:31:12 -04:00
Paul Hinze
1671f1e50c Merge pull request #1762 from hashicorp/f-add-test-for-nested-set-statefunc
helper/schema: add test for statefunc with nested sets
2015-05-01 20:07:44 -05:00
Paul Hinze
e1645b2230 Merge pull request #1760 from hashicorp/f-module-depth-env-var
command: allow module depth to be set via env var
2015-05-01 20:07:35 -05:00
Paul Hinze
fb37b3515d Merge pull request #1712 from hashicorp/f-rename-elasticache-cluster
providers/aws: add _cluster to aws_elasticache
2015-05-01 20:07:19 -05:00
Paul Hinze
df15757311 docs: fix newline 2015-05-01 19:39:42 -05:00
Paul Hinze
199dabaf75 Merge pull request #1772 from ctiwald/ct/add-vpn-connection
Add support for AWS VPN connections.
2015-05-01 19:39:10 -05:00
Radek Simko
795d53e706 [bugfix] Don't save instance ID if association fails
- typically happens when no internet GW is available in VPC
2015-05-01 23:55:08 +01:00
TANABE Ken-ichi
3b549a9e4f Fix typo 2015-05-02 07:34:22 +09:00
Clint Shryock
3c6cec4fcd Fix indentation, which was causing a rendering error in middleman 2015-05-01 16:52:30 -05:00
Radek Simko
3d665ddfcf provider/aws: Add support for alias record to Route53 2015-05-01 22:43:04 +01:00
Paul Hinze
15c75c501f Merge pull request #1483 from svanharmelen/f-winrm-support
core: add WinRM support
2015-05-01 15:56:53 -05:00
Sander van Harmelen
e55169b39b Typo... 2015-05-01 22:28:12 +02:00
Sander van Harmelen
7f408cf8aa Adding an import needed for the tests
This will likely be a temp fix until `make updated eps` is made a
little smarter by @phinze 😉
2015-05-01 22:26:11 +02:00
Paul Hinze
8d953eae82 Merge pull request #1771 from hashicorp/b-fix-acctest
helper/resource/testing: unit tests to cover #1770
2015-05-01 12:38:06 -05:00
Sander van Harmelen
a1a1ea5cf9 Removing stray comments/commands 2015-05-01 18:52:01 +02:00
Sander van Harmelen
b6660a1abe Updated test as the winrmtest package was tweaked a little...
The winrmtest package update is merged now, so this can be merged now
as well…
2015-05-01 18:52:01 +02:00
Sander van Harmelen
2689601bc3 And here are the tests...
Pretty nice test coverage this way, covering all WinRM actions/logic by
using the winrmtest package. I had to extend/update/fix that package a
little here and there, but it now serves a nice purpose for testing
WinRM stuff…
2015-05-01 18:52:01 +02:00
Sander van Harmelen
41748003c0 Updated the PR according to the review comments
* We now return an error when you set the script_path to
C:\Windows\Temp explaining this is currently not supported
* The fix in PR #1588 is converted to the updated setup in this PR
including the unit tests

Last thing to do is add a few tests for the WinRM communicator…
2015-05-01 18:52:01 +02:00
Sander van Harmelen
907eee24f2 Updating the docs 2015-05-01 18:50:57 +02:00
Sander van Harmelen
4a29c714e5 Adding support for WinRM 2015-05-01 18:48:54 +02:00
Sander van Harmelen
b1c6a3f63f Few small fixes to make the last tests also pass
The reason why the shebang is removed from these tests, is because the
shebang is only needed for SSH/Linux connections. So in the new setup
the shebang line is added in the SSH communicator instead of in the
resource provisioner itself…
2015-05-01 18:48:54 +02:00
Sander van Harmelen
c9e9e374bb Adding some abstractions for the communicators
This is needed as preperation for adding WinRM support. There is still
one error in the tests which needs another look, but other than that it
seems like were now ready to start working on the WinRM part…
2015-05-01 18:48:54 +02:00