Commit Graph

19317 Commits

Author SHA1 Message Date
Chris Marchesi d41b806789 core: Restore CountBoundaryTransformer to apply, add/adjust tests
Moving the transformer wholesale looks like it broke some tests, with
some actually doing legit work in normalizing singular resources from a
foo.0 notation to just foo.

Adjusted the TestPlanGraphBuilder to account for the extra
meta.count-boundary nodes in the graph output now, as well as added
another context test that tests this case. It appears the issue happens
during validate, as this is where the state can be altered to a broken
state if things are not properly transformed in the plan graph.
2017-04-19 22:23:52 -07:00
Scott Nowicki 87b049b72d adding cd to after_deploy to ensure we're in the correct directory 2017-04-19 23:26:28 -05:00
Scott Nowicki 36e4b74c13 added -force to after_deploy 2017-04-19 20:32:22 -05:00
Scott Nowicki bf5d9773e2 fixed after_deploy syntax for .travis.yml 2017-04-19 20:23:07 -05:00
Scott Nowicki 1653d5da73 incorrect variable reference 2017-04-19 19:52:02 -05:00
Scott Nowicki af3de7b7df azure is awfully particular for certain strings 2017-04-19 19:36:16 -05:00
Scott Nowicki e0208f48ba added after_deploy step to travis.yml; updated string generation yet again 2017-04-19 19:29:36 -05:00
Scott Nowicki 4fb55b0c5e made string generation more robust 2017-04-19 19:19:15 -05:00
Scott Nowicki acaea87c93 nixed the numbers from string generation 2017-04-19 19:02:39 -05:00
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