Paddy
f8fdd6eba0
Merge pull request #11794 from hashicorp/paddy_fix_gcp_dns_tests
...
provider/google: update DNS names in tests.
2017-02-08 10:41:50 -08:00
Paddy
6257aff676
provider/google: update DNS names in tests.
...
Our DNS tests were using terraform.test as a DNS name, which GCP was
erroring on, as we haven't proven we own the domain (and can't, as we
don't). To solve this, I updated the tests to use hashicorptest.com,
which we _do_ own, and which we have proven ownership of. The tests now
pass.
2017-02-08 10:24:04 -08:00
James Bardin
80fab23e04
Don't test consul using demo.consul.io
...
We shoudn't require an external service for unit test.
TODO: create some proper acceptance tests for consul
2017-02-08 11:34:31 -05:00
James Bardin
14d965722e
Use single state.LockInfo struct
...
Remove redundant structures
2017-02-08 11:34:31 -05:00
James Bardin
9b76f6e138
Move TestRemoteLocks to state/remote
...
This was legacy remote state client and backends can use this test
function without an import cycle.
2017-02-08 11:25:52 -05:00
James Bardin
54cac349a3
Add state locking to consul backend
...
Use consul locks to implement state locking. The lock path is state path
+ "/.lock" which matches the consul cli default for locks. Lockinfo is
stored at path + "/.lockinfo".
2017-02-08 11:25:52 -05:00
James Bardin
5ca5a3c78a
Merge pull request #11724 from hashicorp/jbardin/state-locking
...
add force-unlock command
2017-02-08 10:19:15 -05:00
James Bardin
6a626a2215
Merge pull request #11761 from hashicorp/jbardin/GH-11746
...
Cannot store multiple types in atomic.Value
2017-02-08 10:18:13 -05:00
Jake Champlin
1087c243be
Merge pull request #11779 from hashicorp/f-fix-spot-fleet-tests
...
provider/aws: Fix spot_fleet request tests
2017-02-08 09:32:49 -05:00
Jake Champlin
49697eb5de
provider/aws: Fix spot_fleet request tests
...
Due to the fact that an iam_policy_attachment can only be used once PER iam_policy, these changes create a specific iam_policy for each test, so that when they are ran in parallel we will no longer get the iam_policy_attachment clobbers that we've gotten previously.
```
##teamcity[testStarted timestamp='2017-02-08T09:11:38.361' name='TestAccAWSSpotFleetRequest_CannotUseEmptyKeyName']
##teamcity[testStdOut name='TestAccAWSSpotFleetRequest_CannotUseEmptyKeyName' out='=== RUN TestAccAWSSpotFleetRequest_CannotUseEmptyKeyName|n--- PASS: TestAccAWSSpotFleetRequest_CannotUseEmptyKeyName (0.00s)|
nPASS|n']
##teamcity[testStdErr name='TestAccAWSSpotFleetRequest_CannotUseEmptyKeyName' out='']
##teamcity[testFinished timestamp='2017-02-08T09:11:38.420' name='TestAccAWSSpotFleetRequest_CannotUseEmptyKeyName']
##teamcity[testStarted timestamp='2017-02-08T09:11:38.361' name='TestAccAWSSpotFleetRequest_lowestPriceAzOrSubnetInRegion']
##teamcity[testStdOut name='TestAccAWSSpotFleetRequest_lowestPriceAzOrSubnetInRegion' out='=== RUN TestAccAWSSpotFleetRequest_lowestPriceAzOrSubnetInRegion|n--- PASS: TestAccAWSSpotFleetRequest_lowestPriceAzO
rSubnetInRegion (54.59s)|nPASS|n']
##teamcity[testStdErr name='TestAccAWSSpotFleetRequest_lowestPriceAzOrSubnetInRegion' out='']
##teamcity[testFinished timestamp='2017-02-08T09:12:33.046' name='TestAccAWSSpotFleetRequest_lowestPriceAzOrSubnetInRegion']
##teamcity[testStarted timestamp='2017-02-08T09:11:38.361' name='TestAccAWSSpotFleetRequest_multipleInstanceTypesInSameAz']
##teamcity[testStdOut name='TestAccAWSSpotFleetRequest_multipleInstanceTypesInSameAz' out='=== RUN TestAccAWSSpotFleetRequest_multipleInstanceTypesInSameAz|n--- PASS: TestAccAWSSpotFleetRequest_multipleInstan
ceTypesInSameAz (55.50s)|nPASS|n']
##teamcity[testStdErr name='TestAccAWSSpotFleetRequest_multipleInstanceTypesInSameAz' out='']
##teamcity[testFinished timestamp='2017-02-08T09:12:33.937' name='TestAccAWSSpotFleetRequest_multipleInstanceTypesInSameAz']
##teamcity[testStarted timestamp='2017-02-08T09:11:38.361' name='TestAccAWSSpotFleetRequest_lowestPriceAzInGivenList']
##teamcity[testStdOut name='TestAccAWSSpotFleetRequest_lowestPriceAzInGivenList' out='=== RUN TestAccAWSSpotFleetRequest_lowestPriceAzInGivenList|n--- PASS: TestAccAWSSpotFleetRequest_lowestPriceAzInGivenList
(56.05s)|nPASS|n']
##teamcity[testStdErr name='TestAccAWSSpotFleetRequest_lowestPriceAzInGivenList' out='']
##teamcity[testFinished timestamp='2017-02-08T09:12:34.492' name='TestAccAWSSpotFleetRequest_lowestPriceAzInGivenList']
##teamcity[testStarted timestamp='2017-02-08T09:11:38.361' name='TestAccAWSSpotFleetRequest_withEBSDisk']
##teamcity[testStdOut name='TestAccAWSSpotFleetRequest_withEBSDisk' out='=== RUN TestAccAWSSpotFleetRequest_withEBSDisk|n--- PASS: TestAccAWSSpotFleetRequest_withEBSDisk (58.02s)|nPASS|n']
##teamcity[testStdErr name='TestAccAWSSpotFleetRequest_withEBSDisk' out='']
##teamcity[testFinished timestamp='2017-02-08T09:12:36.457' name='TestAccAWSSpotFleetRequest_withEBSDisk']
##teamcity[testStarted timestamp='2017-02-08T09:11:38.362' name='TestAccAWSSpotFleetRequest_overriddingSpotPrice']
##teamcity[testStdOut name='TestAccAWSSpotFleetRequest_overriddingSpotPrice' out='=== RUN TestAccAWSSpotFleetRequest_overriddingSpotPrice|n--- PASS: TestAccAWSSpotFleetRequest_overriddingSpotPrice (58.84s)|nP
ASS|n']
##teamcity[testStdErr name='TestAccAWSSpotFleetRequest_overriddingSpotPrice' out='']
##teamcity[testFinished timestamp='2017-02-08T09:12:37.286' name='TestAccAWSSpotFleetRequest_overriddingSpotPrice']
##teamcity[testStarted timestamp='2017-02-08T09:11:38.362' name='TestAccAWSSpotFleetRequest_lowestPriceSubnetInGivenList']
##teamcity[testStdOut name='TestAccAWSSpotFleetRequest_lowestPriceSubnetInGivenList' out='=== RUN TestAccAWSSpotFleetRequest_lowestPriceSubnetInGivenList|n--- PASS: TestAccAWSSpotFleetRequest_lowestPriceSubne
tInGivenList (60.75s)|nPASS|n']
##teamcity[testStdErr name='TestAccAWSSpotFleetRequest_lowestPriceSubnetInGivenList' out='']
##teamcity[testFinished timestamp='2017-02-08T09:12:39.206' name='TestAccAWSSpotFleetRequest_lowestPriceSubnetInGivenList']
##teamcity[testStarted timestamp='2017-02-08T09:11:38.362' name='TestAccAWSSpotFleetRequest_multipleInstanceTypesInSameSubnet']
##teamcity[testStdOut name='TestAccAWSSpotFleetRequest_multipleInstanceTypesInSameSubnet' out='=== RUN TestAccAWSSpotFleetRequest_multipleInstanceTypesInSameSubnet|n--- PASS: TestAccAWSSpotFleetRequest_multip
leInstanceTypesInSameSubnet (61.80s)|nPASS|n']
##teamcity[testStdErr name='TestAccAWSSpotFleetRequest_multipleInstanceTypesInSameSubnet' out='']
##teamcity[testFinished timestamp='2017-02-08T09:12:40.241' name='TestAccAWSSpotFleetRequest_multipleInstanceTypesInSameSubnet']
##teamcity[testStarted timestamp='2017-02-08T09:11:38.361' name='TestAccAWSSpotFleetRequest_changePriceForcesNewRequest']
##teamcity[testStdOut name='TestAccAWSSpotFleetRequest_changePriceForcesNewRequest' out='=== RUN TestAccAWSSpotFleetRequest_changePriceForcesNewRequest|n--- PASS: TestAccAWSSpotFleetRequest_changePriceForcesN
ewRequest (98.70s)|nPASS|n']
##teamcity[testStdErr name='TestAccAWSSpotFleetRequest_changePriceForcesNewRequest' out='']
##teamcity[testFinished timestamp='2017-02-08T09:13:17.142' name='TestAccAWSSpotFleetRequest_changePriceForcesNewRequest']
##teamcity[testStarted timestamp='2017-02-08T09:11:38.361' name='TestAccAWSSpotFleetRequest_withWeightedCapacity']
##teamcity[testStdOut name='TestAccAWSSpotFleetRequest_withWeightedCapacity' out='=== RUN TestAccAWSSpotFleetRequest_withWeightedCapacity|n--- PASS: TestAccAWSSpotFleetRequest_withWeightedCapacity (269.12s)|n
PASS|n']
##teamcity[testStdErr name='TestAccAWSSpotFleetRequest_withWeightedCapacity' out='']
##teamcity[testFinished timestamp='2017-02-08T09:16:07.554' name='TestAccAWSSpotFleetRequest_withWeightedCapacity']
##teamcity[testStarted timestamp='2017-02-08T09:11:38.361' name='TestAccAWSSpotFleetRequest_diversifiedAllocation']
##teamcity[testStdOut name='TestAccAWSSpotFleetRequest_diversifiedAllocation' out='=== RUN TestAccAWSSpotFleetRequest_diversifiedAllocation|n--- PASS: TestAccAWSSpotFleetRequest_diversifiedAllocation (348.36s
)|nPASS|n']
##teamcity[testStdErr name='TestAccAWSSpotFleetRequest_diversifiedAllocation' out='']
##teamcity[testFinished timestamp='2017-02-08T09:17:26.802' name='TestAccAWSSpotFleetRequest_diversifiedAllocation']
```
2017-02-08 09:20:19 -05:00
Radek Simko
f6ee5784a8
Update CHANGELOG.md
2017-02-08 13:31:13 +00:00
Radek Simko
3fbc037b8f
provider/aws: Remove deprecated DynamoDB & Kinesis endpoint fields ( #11778 )
2017-02-08 13:29:08 +00:00
Radek Simko
c25579a6f8
provider/aws: Add aws_elasticsearch_domain_policy ( #8648 )
2017-02-08 13:20:57 +00:00
Radek Simko
d3c9a4b265
provider/aws: Unify custom endpoint fields in provider schema ( #11768 )
2017-02-08 13:08:59 +00:00
Paul Stack
6a44f258e6
provider/aws: Raise the codebuild_project create timeout ( #11777 )
...
Found in testing that a timeout of 30 seconds didn't allow for the error
message that codebuild wasn't supported in eu-west-2
Discussed this with @radeksimko and he suggested a timeout raise
2017-02-08 13:03:58 +00:00
Paul Stack
bfbd5ad4e6
provider/aws: Bump SDK version to 1.6.19 ( #11775 )
2017-02-08 13:02:41 +00:00
Paul Stack
15251000b4
provider/aws: Addition of the documentation for the codebuild_project ( #11774 )
...
resource
2017-02-08 12:50:37 +00:00
Liam Bennett
d760f2102a
Latest updates to aws_ssm_document resource. ( #11671 )
...
A parameter `document_type` and a few more attributes returned based
upon the new API.
2017-02-08 12:45:38 +00:00
Gerrit Tamboer
369c810072
Updated documentation
2017-02-08 13:37:37 +01:00
Gerrit Tamboer
c7eee62b7b
Finished the read implementation for vault generic secret
2017-02-08 13:08:39 +01:00
Kevin Burke
cb9102d550
website: describe API Gateway ARN's ( #11762 )
...
I lost a few hours figuring out the right way to describe an ARN for an API
Gateway resource. Specifically I translated the example poorly since I didn't
realize I had to append the path onto the end of the ARN.
Adds two links to an Amazon documentation page describing the format for API
Gateway ARN's. Adds an additional path component to the ARN example so you can
see you need to specify paths.
2017-02-08 11:29:55 +00:00
Gerrit Tamboer
86aea6b094
WIP: VaMaking vault allowed to read values
2017-02-08 11:18:18 +01:00
Manuwela Kanade
0942aed7a3
provider/consul: catalog entry service id should default to service name
2017-02-08 09:43:00 +00:00
Mitchell Hashimoto
8ed9bdfedc
terraform: node referenceable name from state shuldn't contain path
...
Fixes #11749
I'm **really** surprised this didn't come up earlier.
When only the state is available for a node, the advertised
referenceable name (the name used for dependency connections) included
the module path. This module path is automatically prepended to the
name. This means that probably every non-root resource for state-only
operations (destroys) didn't order properly.
This fixes that by omitting the path properly.
Multiple tests added to verify both graph correctness as well as a
higher level context test.
Will backport to 0.8.x
2017-02-07 20:14:38 -08:00
Dana Hoffman
a3ca05a3c9
provider/google: always set additional_zones on read
2017-02-07 19:21:00 -08:00
Mitchell Hashimoto
af61d566c2
terraform: passing test for destroy edge for module only
...
Just adding passing tests as a sanity check for a bug.
2017-02-07 19:12:03 -08:00
Brian Cervenka
abfd108fbb
Minor fix to the triton_machine provider. The docs referred to a `networks` option, which seems to be deprecated. Now, terraform seems to expect a list of maps, which will detail each network interface.
2017-02-07 17:28:26 -08:00
Mitchell Hashimoto
ac3d67e40f
terraform: remove old logging line
2017-02-07 16:28:01 -08:00
James Bardin
197f6cab79
Cannot store multiple types in atomic.Value
...
Storing error values to atomic.Value may fail if they have different
dynamic types. Wrap error value in a consistent struct type to avoid
panics.
Make sure we return a nil error on success
2017-02-07 19:02:04 -05:00
James Bardin
65abe98047
Remove lock command and rename lock/force-unlock
...
Remove the lock command for now to avoid confusion about the behavior of
locks. Rename lock to force-unlock to make it more aparent what it does.
Add a success message, and chose red because it can be a dangerous
operation.
Add confirmation akin to `destroy`, and a `-force` option for
automation and testing.
2017-02-07 18:28:48 -05:00
James Bardin
ced4c53324
Merge pull request #11757 from hashicorp/jbardin/GH-11588
...
Make sure to diff all nested schema.Set elements
2017-02-07 17:05:32 -05:00
Mitchell Hashimoto
34227e5a9c
vendor: update go-getter for #11438
2017-02-07 14:00:38 -08:00
James Bardin
7359a18a71
Make sure to diff all nested schema.Set elements
...
This follows on GH-11498, using the same method to ensure all set
elements are marked as NewRemoved if the set is being removed in the
diff.
2017-02-07 16:55:20 -05:00
Mitchell Hashimoto
3cccb8f61d
Merge pull request #11756 from hashicorp/b-warnings
...
backend/local: output warnings
2017-02-07 13:31:46 -08:00
Mitchell Hashimoto
bdca9bffe4
backend/local: output warnings
...
Fixes #11628
This is a simple fix to output warnings. I originally forgot to do this
since the local backend didn't have a CLI UI at the time. It does now so
this is an easy fix.
2017-02-07 13:22:28 -08:00
Mitchell Hashimoto
a612b43987
Merge pull request #11657 from hashicorp/f-dynamic-walk
...
dag: new walker, supports walk-time updates
2017-02-07 12:59:17 -08:00
Mitchell Hashimoto
7192c1a9a1
Merge pull request #11732 from hashicorp/b-diff-map-removal
...
terraform: ignore RequiresNew for collection removal in diff.Same
2017-02-07 12:58:15 -08:00
Mitchell Hashimoto
e7aa1fd48d
Merge pull request #11733 from hashicorp/b-disable-shadow
...
terraform: default shadow to false
2017-02-07 12:57:46 -08:00
Mitchell Hashimoto
b282dbc578
Merge pull request #11753 from hashicorp/b-cbd-count
...
core: non-CBD depending on CBD won't depend on destroy
2017-02-07 12:55:59 -08:00
Mitchell Hashimoto
ac934cf003
terraform: add one more forgotten ordering assertion
2017-02-07 12:01:27 -08:00
Mitchell Hashimoto
a765740827
terraform: CBD destroy nodes should not advertise themselves as normal
2017-02-07 11:49:50 -08:00
Jake Champlin
28b9f3f8fb
Merge pull request #11744 from hashicorp/b-fix-db-event-import
...
provider/aws: Fix aws_db_event_subscription import
2017-02-07 14:40:41 -05:00
Dana Hoffman
260e803880
providers/google: disallow specifying the original zone in additional_zones, change field to computed
2017-02-07 11:02:02 -08:00
Mitchell Hashimoto
44233441c2
terraform: CBD edge should ignore "index"
2017-02-07 10:53:12 -08:00
Jake Champlin
f7724da063
Merge pull request #11751 from hashicorp/b-aws-codebuild-docs
...
remove codebuild docs from layouts; doc files missing
2017-02-07 13:35:05 -05:00
clint shryock
e787c12ab5
remove codebuild docs from layouts; doc files missing
2017-02-07 12:21:30 -06:00
Jake Champlin
2319ea6c47
Update CHANGELOG.md
2017-02-07 12:39:15 -05:00
Mitchell Hashimoto
acfc169eb2
Merge pull request #11748 from hashicorp/b-tests-cwd
...
command: tests should move to temporary cwd
2017-02-07 09:15:53 -08:00
Mitchell Hashimoto
0c97c5a3d9
command: tests should move to temporary cwd
...
This fixes any issues where rogue tfstate files may appear in the cwd
otherwise.
2017-02-07 09:11:48 -08:00
Jake Champlin
1ab17bf5d3
Merge pull request #11735 from hashicorp/paddy_11728_with_tests
...
Revert backwards incompatibility in google_project.policy_data
2017-02-07 11:50:59 -05:00