Commit Graph

12179 Commits

Author SHA1 Message Date
Martin Atkins 38289ddbd5 Merge #8353: New resources for custom domains on AWS API Gateway 2016-08-22 15:44:52 -07:00
Martin Atkins c4255f195b website: Docs for AWS API Gateway domain name and base path mapping 2016-08-22 15:36:20 -07:00
Ryan Roberts 848f612169 provider/aws: aws_api_gateway_base_path_mapping resource implementation
API Gateway allows users to "claim" a domain name for use as a custom
hostname for deployed API endpoints, and then use this base path mapping
resource to expose a particular API deployment at a path on such a domain.

The acceptance tests use certificates from the aws_api_gateway_domain_name
tests which expire in 2026; we'll need to generate some more certificates
before we get there.
2016-08-22 15:36:20 -07:00
Mitchell Hashimoto d32487c335
website: remove numeric suffixes, they haven't worked in real long time 2016-08-22 14:43:58 -07:00
Mitchell Hashimoto e1c4e93654
update CHANGELOG 2016-08-22 14:15:40 -07:00
Mitchell Hashimoto 3595673961 Merge pull request #8396 from hashicorp/b-destroy-prefix
terraform: prefix destroy resources with module path [GH-2767]
2016-08-22 17:12:52 -04:00
Mitchell Hashimoto 8861cf77e9 Merge pull request #8394 from hashicorp/b-input-spaces
command: use bufio.ReadString instead of scanning to get spaces
2016-08-22 17:12:44 -04:00
Mitchell Hashimoto b9219103df
terraform: prefix destroy resources with module path [GH-2767] 2016-08-22 13:33:11 -07:00
Mitchell Hashimoto 2ac142abc3
command: use bufio.ReadString instead of scanning to get spaces
[GH-2628]
2016-08-22 12:59:48 -07:00
clint shryock 03bdf1375e provider/aws: Clear up test failure for TestAccAWSVpnGateway_disappears 2016-08-22 14:56:07 -05:00
Jarrod Jackson 7010973c5a provider/aws: aws_api_gateway_domain_name resource implementation
API Gateway allows users to "claim" a domain name for use as a custom
hostname for deployed API endpoints. The domain name resource just claims
the domain name; a user would then use a "base path mapping" resource
(to be implemented in a later commit) to map a particular API to a
particular path prefix on that domain.

The acceptance tests contain some TLS certificates that expire in 2026;
we'll need to generate some more certificates before we get there.
2016-08-22 11:40:33 -07:00
Mitchell Hashimoto 29e6570df8 Update CHANGELOG.md 2016-08-22 09:47:20 -07:00
Mitchell Hashimoto 6820f136df Merge pull request #8387 from hashicorp/b-update-hcl
vendor: update HCL for GH-8295
2016-08-22 12:46:56 -04:00
Mitchell Hashimoto 02512b5487
vendor: update HCL for GH-8295 2016-08-22 09:40:31 -07:00
Paul Stack 96933f2b62 Update CHANGELOG.md 2016-08-22 17:06:16 +01:00
Paul Stack 9d1ef78fc1 provider/aws: Refresh `aws_lambda_event_source_mapping` from state when (#8378)
NotFound

Fixes #8375

When a Lambda or an associated Event Source Mapping has been removed via
the AWS Console, Terraform throws an error similar to the following:

```
Error refreshing state: 1 error(s) occurred:

* aws_lambda_event_source_mapping.dmp_enrichment_event_source_mapping:
* ResourceNotFoundException: The resource you requested does not exist.
    status code: 404, request id: a17c641d-6868-11e6-accf-3d0ea71934fa

```

the resource should be refreshed from the state when this happens so
that subsequent plans show it needs to be recreated

```
% make testacc TEST=./builtin/providers/aws TESTARGS='-run=TestAccAWSLambdaEventSourceMapping_'
==> Checking that code complies with gofmt requirements...
/Users/stacko/Code/go/bin/stringer
go generate $(go list ./... | grep -v /terraform/vendor/)
2016/08/22 16:15:54 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/aws -v
-run=TestAccAWSLambdaEventSourceMapping_ -timeout 120m
=== RUN   TestAccAWSLambdaEventSourceMapping_basic
--- PASS: TestAccAWSLambdaEventSourceMapping_basic (120.81s)
=== RUN   TestAccAWSLambdaEventSourceMapping_disappears
--- PASS: TestAccAWSLambdaEventSourceMapping_disappears (104.08s)
PASS
ok      github.com/hashicorp/terraform/builtin/providers/aws    224.914s
```
2016-08-22 17:05:48 +01:00
James Nugent 50a18b00df Merge pull request #8374 from hashicorp/f-exclude-darwin-arm
build: Exclude darwin/arm from OS/Arch targets
2016-08-22 14:41:41 +02:00
James Nugent 11259dee07 build: Exclude darwin/arm from OS/Arch targets
Fixes #8365
2016-08-22 14:34:53 +02:00
James Nugent 6ae7140251 Merge pull request #8370 from hashicorp/dtolnoy-wait
Do not sleep between first attempt or between successful attempts
2016-08-22 14:30:54 +02:00
Brad Sickles 35d4d4bdbf Fixing archive file website docs. (#8373) 2016-08-22 13:27:43 +01:00
James Nugent a69c62af65 Merge branch 'dtolnay-timeouterror' 2016-08-22 10:35:04 +02:00
James Nugent 0a5acaa0d8 Change error message return structure 2016-08-22 10:34:32 +02:00
David Tolnay 9d3f40a513 Fix bad message from TimeoutError
Before:

    Error creating IAM Role my-role: timeout while waiting for state
    to become 'success'. last error: %!s(<nil>)
2016-08-22 10:23:53 +02:00
David Tolnay e27a735da2 Do not sleep between first attempt or between successful attempts 2016-08-22 10:17:23 +02:00
Mitchell Hashimoto 041094fb85 Merge pull request #8352 from ajlanghorn/add-whitespace-note
Add note to use Server-Defined-Cipher-Order
2016-08-22 02:11:11 -04:00
James Nugent be5ba7bfdc Merge pull request #8364 from hashicorp/f-datadog-docs
provider/datadog: Docs updates
2016-08-22 06:03:24 +02:00
James Nugent 2070fa44c3 provider/datadog: Fix docs sidebar 2016-08-22 06:01:50 +02:00
James Nugent 3264f56860 provider/datadog: Document import support 2016-08-22 06:00:05 +02:00
Kurt Scherer faf43292c7 Add Import support for provider-datadog (#8324)
* Add import support
* Add import tests
* Fix tags/thresholds
* The type of the object is a float but the tests were using integers, so the
  tests were also adjusted to match.
* Fix Float formatting
* Provide thresholds as map[string]string to deal with formatting issues
* Adjust tests to deal with loss of trailing zeros on floats
2016-08-22 05:55:26 +02:00
James Nugent f0aff9ab49 Merge pull request #8363 from hashicorp/docs-datadog-envvars
docs: Note envvars for Datadog configuration
2016-08-22 05:51:01 +02:00
James Nugent 11acfca54e docs: Note envvars for Datadog configuration 2016-08-22 05:43:04 +02:00
James Nugent 296071f259 Merge pull request #7964 from szollo/master
Update AMI ID on documentation
2016-08-22 05:39:11 +02:00
James Nugent dd5651ef23 Merge pull request #8357 from hashicorp/sethvargo/docs
Add more output grammar and CLI examples
2016-08-22 05:34:17 +02:00
James Nugent 9a7eee5de2 Merge pull request #8362 from hashicorp/archive-docs
docs: Fix archive provider documentation
2016-08-22 05:31:53 +02:00
James Nugent 61f885aa86 website: Add archive provider to sidebar and css 2016-08-22 05:30:37 +02:00
James Nugent 74315d6d1b provider/archive: Fix doc sidebar title 2016-08-22 05:23:08 +02:00
Seth Vargo 988b0325a1 Add more output grammar and CLI examples 2016-08-21 15:17:31 -04:00
Andrew Langhorn 8bd2a249ce Add note to use Server-Defined-Cipher-Order
The Terraform documentation, rather correctly, refers to a list of options
you can pass to an Elastic Load Balancer from the AWS documentation. All but
one of these options works; 'Server Order Preference' doesn't work, because
the API refers to it as 'Server-Defined-Cipher-Order'.

Add a note to explain this, at least as a temporary solution.

Fixes #8340.
2016-08-21 14:21:02 +01:00
f440 e37dbefd90 Fix file extension (#8343) 2016-08-20 12:03:20 +01:00
Paul Stack 994ae08eb8 provider/aws: Bump the AWS SDK version to 1.4.2 (#8285) 2016-08-20 10:16:03 +01:00
Paul Stack 19ecb40c48 provider/azurerm: Setting the AzureRM SDK to an explicit version (#8303)
We tended to use master which isn't the best idea. Also set Go Autorest
to the correct version (7.1.0)
2016-08-20 10:14:51 +01:00
Mitchell Hashimoto 469856dbf1
update CHANGELOG 2016-08-20 00:00:59 -04:00
Mitchell Hashimoto f98459d683 Merge pull request #8304 from hashicorp/b-state-mv
Fix `state mv` with nested modules to work properly
2016-08-20 00:00:22 -04:00
Mitchell Hashimoto 52c359bad0
update CHANGELOG 2016-08-19 23:58:28 -04:00
Mitchell Hashimoto 7c1d32719a Merge pull request #8335 from hashicorp/b-import-index
terraform: import specific index works [GH-7691]
2016-08-19 23:57:39 -04:00
Mitchell Hashimoto d3792e4aef
command: correct outdated comment 2016-08-19 23:56:27 -04:00
Martin Atkins d0bc787c9b Merge #8337: Fix doc error for docker_registry_image data source 2016-08-19 19:30:31 -07:00
kyhavlov 0b165164c4 docs: Fix exported attribute name in docker_registry_image 2016-08-19 20:35:00 -04:00
Mitchell Hashimoto c22ab252dd
terraform: import specific index works [GH-7691] 2016-08-19 19:14:33 -04:00
clint 146da09d5d release: clean up after v0.7.1 2016-08-19 20:28:17 +00:00