Commit Graph

18850 Commits

Author SHA1 Message Date
Chris Marchesi 2802d319d2 core: Move CountBoundaryTransformer to the plan graph builder
This fixes interpolation issues on grandchild data sources that have
multiple instances (ie: counts). For example, baz depends on bar, which
depends on foo.

In this instance, after an initial TF run is done and state is saved,
the next refresh/plan is not properly transformed, and instead of the
graph/state coming through as data.x.bar.0, it comes through as
data.x.bar.  This breaks interpolations that rely on splat operators -
ie: data.x.bar.*.out.
2017-04-19 16:56:54 -07:00
Scott Nowicki 1d7d3f1b45 added missing \ to plan command 2017-04-19 18:56:12 -05:00
Scott Nowicki f52b7a9d85 fixed -out syntax 2017-04-19 18:44:55 -05:00
Scott Nowicki 42b4ddc737 plan now produces output plan, apply now consumes outputted plan 2017-04-19 18:41:38 -05:00
Scott Nowicki 44d416ca8e fixed quotes 2017-04-19 18:34:44 -05:00
Scott Nowicki 3dce8c2c78 was working on the wrong deploy.sh........ :( 2017-04-19 18:28:42 -05:00
Scott Nowicki d0973b77c1 moved outputs to outputs.tf; added sshCommand 2017-04-19 18:20:56 -05:00
Scott Nowicki 048ab5a774 renamed folder; updated deployment script; prompt for additional variables 2017-04-19 17:59:56 -05:00
James Bardin f5cda342f7 Merge pull request #13778 from hashicorp/jbardin/GH-13617
improve resource.WaitForState and add refreshGracePeriod
2017-04-19 18:23:00 -04:00
clint shryock 7f3c8e4765 move this test to new region 2017-04-19 17:20:44 -05:00
James Bardin 4c3a053f0c lint errors 2017-04-19 18:19:48 -04:00
James Bardin 14bea66f4e add test for proper cancelation 2017-04-19 18:07:00 -04:00
James Bardin eb4b45941c fix tests affected by refreshGracePeriod
A couple tests require lowering the grace period to keep the test from
taking the full 30s timeout.

The Retry_hang test also needed to be removed from the Parallel group,
becuase it modifies the global refreshGracePeriod variable.
2017-04-19 18:07:00 -04:00
James Bardin af1628eaa4 add refreshGracePeriod
Refresh calls may have side effects that need to be recorded if it
succeeds, especially common when when WaitForState is called from
resource.Retry.

If the WaitForState timeout is reached and there is a Refresh call
in-flight, wait up to refreshGracePeriod (set to 30s) for it to
complete.
2017-04-19 18:07:00 -04:00
Martin Atkins d157eea2e3 website: Correct capitalization of "Bitbucket"
Previously we fixed this specifically for the Enterprise VCS integration,
but we also had some long-running errors of this sort in the docs for
how to specify module sources on Bitbucket.
2017-04-19 14:56:11 -07:00
Scott Nowicki c4ac9c3dbb fixed syntax for terraform variables 2017-04-19 16:38:18 -05:00
Seth Vargo 3fa3ce60fa Merge pull request #13788 from hashicorp/docs-update-bitbucket-branding
Change BitBucket to Bitbucket
2017-04-19 17:35:59 -04:00
Jake Champlin fe8029e65e
initial attempt 2017-04-19 17:30:58 -04:00
Mary Elizabeth Cutrali 3d315baee5 update spelling of Bitbucket 2017-04-19 17:30:58 -04:00
Matthew Frahry 07c0f95563 Merge pull request #13772 from hashicorp/p-aws-multi-zone-instance
Fixing TestAccAWSInstance_multipleRegions
2017-04-19 14:32:43 -06:00
= 1608f5544f Added error check 2017-04-19 14:22:35 -06:00
ebilhoo 0cf9dbcfb4 Merge branch 'master' of https://github.com/bhood4/terraform 2017-04-19 20:03:59 +00:00
ebilhoo 8ef010440e cleanup and validation, rdpool.order optional with ROUND_ROBIN default 2017-04-19 20:02:27 +00:00
ebilhoo 65d364d805 cleanup and validation, rdpool.order optional with ROUND_ROBIN default 2017-04-19 19:54:42 +00:00
Paul Stack f5df4422ae provider/aws: Bump AWS SDK to 1.8.13 (#13775) 2017-04-19 20:55:37 +03:00
Joseph Anthony Pasquale Holsten c57e0735d1 Merge pull request #13745 from bhood4/master
provider/ultradns: add ultradns_rdpool resource
2017-04-19 10:45:20 -07:00
Scott Nowicki 62dc7320c5 updated syntax for arguments to terraform 2017-04-19 12:43:18 -05:00
Scott Nowicki 832ab98094 generate random string for hostname 2017-04-19 12:35:51 -05:00
Jake Champlin 9893abe95d Update CHANGELOG.md 2017-04-19 13:27:33 -04:00
Jake Champlin 53ff003826 Merge pull request #13767 from hashicorp/f-bump-autorest-dep
core: Bump AutoRest Dep
2017-04-19 13:26:07 -04:00
Gauthier Wallet 3c6287cf3c Vendored AWS CognitoIdentity Service (#13771) 2017-04-19 20:22:36 +03:00
Christoph Blecker 596f05b881 Fix govet errors (#13774) 2017-04-19 20:21:31 +03:00
Yamamoto 03b82191bf `roles` deprecated in examples (#13769) 2017-04-19 20:20:02 +03:00
Martin Atkins cfa31b57a3 Update CHANGELOG.md 2017-04-19 09:42:42 -07:00
tmshn 86d7c47c0a Change cidrhost() to get IP from end of the range when negative number given
Ref: https://github.com/apparentlymart/go-cidr/pull/2
2017-04-19 09:41:41 -07:00
Scott Nowicki 3ce7a2499a add execute permissions to deploy.sh file 2017-04-19 10:59:21 -05:00
Scott Nowicki d8131c2d5e cleanup; permitted topic branch 2017-04-19 10:51:07 -05:00
Scott Nowicki ca65fe31ce disabling travis deployment on master short-term 2017-04-19 10:46:54 -05:00
Scott Nowicki bbdb2cef53 removed branch restrictions on deploy 2017-04-19 10:28:11 -05:00
= 6bc3610c09 removing extraneous code 2017-04-19 09:18:30 -06:00
Scott Nowicki 90d948bcca cleanup and simplify deploy script 2017-04-19 10:12:27 -05:00
Jake Champlin 3bf354b16b
bump go-oracle-compute vendor 2017-04-19 10:59:52 -04:00
James Bardin 6601b9b8dd adjust the inconsistent_negative test to match
This test unfortunately relies on the timing of the loops in
WaitForState, and the text of the error message. Adjust the timing so
the timeout isn't an even multiple of the poll interval, and make sure
we reach a minimum number of retries.
2017-04-19 10:53:06 -04:00
James Bardin af5e22cf94 don't leave WaitForState goroutine running
Make sure that we can cancel the WaitForState refresh loop when reaching
a timeout, otherwise it may run indefinitely. There's no need to try and
store and read the Result concurrently, just pass the value over a
channel.
2017-04-19 10:41:51 -04:00
Jake Champlin 6c13f367ed
core: Bump AutoRest Dep
Bumps autorest dependency for Azure providers.

Fixes: #11131
2017-04-19 09:45:09 -04:00
Jay Wang c42b2381c6 Added check for empty strings in resource id parsing logic. 2017-04-18 17:17:14 -07:00
Scott Nowicki 601735b873 updated .travis.yml to read branches prefixed with topic- 2017-04-18 19:10:41 -05:00
Scott Nowicki 8d9e3e1b80 added deploy script, updated travis.yml to build topic- branches 2017-04-18 19:09:15 -05:00
Scott Nowicki b7f8ae542a added directory to build matrix 2017-04-18 18:44:06 -05:00
Scott Nowicki 4febc170b7 updated travis.yml for builds on terraform examples 2017-04-18 18:37:39 -05:00