Commit Graph

12367 Commits

Author SHA1 Message Date
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
clint 55ba6ebd3d
v0.7.1 2016-08-19 19:58:17 +00:00
Clint d57da22042 Update CHANGELOG.md 2016-08-19 14:09:03 -05:00
Clint 771155cea5 provider/aws: Add support for TargetGroups to AutoScaling Groups (#8327)
* start of ALB support. Waiting for ALB top level to move forward

* initial test

* cleanup

* small docs

* beef up test
2016-08-19 14:07:53 -05:00
Lars Wander 4aaff3da46 Merge pull request #8301 from nwwebb/import-autoscaler
provider/google: Ignore source image for 'google_compute_instance_template'
2016-08-19 14:53:27 -04:00
Noah Webb 679b063a30 provider/google: changed the format of source_image in autoscaler tests 2016-08-19 14:05:28 -04:00
Mitchell Hashimoto 43cfd3d1c9
command: fix regressions for state mv with count resource 2016-08-19 12:09:19 -04:00
Mitchell Hashimoto 0d1ea84d39
command: test for moving resource with count [GH-7797] 2016-08-19 12:05:20 -04:00
Mitchell Hashimoto 8afbb0ee0e
terraform: state mv "foo" to "foo.0" with single count 2016-08-19 11:54:53 -04:00
Mitchell Hashimoto 88649ed010
terraform: StateAdd edge case test for multi-count to single index 2016-08-19 11:51:31 -04:00
Mitchell Hashimoto a22f7e8257
terraform: State.Add works with multiple resources [GH-7797] 2016-08-19 11:46:52 -04:00
Mitchell Hashimoto 4454d534fc
terraform: test for querying count resources 2016-08-19 11:41:00 -04:00
James Nugent 3af67964dc Update CHANGELOG.md 2016-08-19 16:27:27 +01:00
James Nugent 41d8a45ae9 Merge pull request #8321 from hashicorp/f-aws-alb-attachment
provider/aws: Add aws_alb_target_group_attachment
2016-08-19 16:26:04 +01:00
James Nugent a30e4ed811 Merge pull request #8322 from anapsix/patch-2
health_check's target explained
2016-08-19 16:17:10 +01:00