Commit Graph

18391 Commits

Author SHA1 Message Date
Paul Stack 4887844302 Bump AWS SDK to 1.6.14 (#11316) 2017-01-23 21:22:31 +00:00
James Nugent abbc51d11d Update CHANGELOG.md 2017-01-23 17:48:14 +00:00
James Nugent 19e55457c9 Merge pull request #11360 from hashicorp/asg-hook-errors
provider/aws: Improve error message from ASG Hooks
2017-01-23 17:47:07 +00:00
Jake Champlin 86b53bf095 Update CHANGELOG.md 2017-01-23 12:39:44 -05:00
Jake Champlin 2c11e8d76c Merge pull request #11359 from hashicorp/f-fix-arn-partition
provider/aws: Allow ARN identifier to be set
2017-01-23 12:38:57 -05:00
James Nugent b95faa3f12 provider/aws: Improve error message from ASG Hooks
This commit switches out the use of `fmt.Errorf` to `errwrap.Wrapf` in
the `aws_autoscaling_lifecycle_hook` resource, and corrects a typo which
causes the parameter object to be returned to a user rather than the
underlying error.
2017-01-23 17:35:47 +00:00
Jake Champlin 8580f58063
Use strings.HasPrefix instead of regexp for lambda_permission 2017-01-23 12:34:56 -05:00
Jake Champlin 763cfcdb1f
Use strings.HasPrefix instead of regexp for ecs_service 2017-01-23 12:02:53 -05:00
Jake Champlin 8159731c91
provider/aws: Allow ARN identifier to be set
Allows users from govcloud and other regions (aws-cn) to now use the following resources correctly:

```
- data "aws_billing_service_account"
- data "aws_elb_service_account"
- resource "aws_cloudfront_origin_access_identity"
- resource "aws_ecs_service"
- resource "aws_iam_saml_provider"
- resource "aws_lambda_permission"
- resource "aws_sns_topic_policy"
```
2017-01-23 11:30:28 -05:00
Radek Simko 6d8d596883
provider/aws: Allow bypassing region validation 2017-01-23 15:04:46 +00:00
James Nugent 8fd8f4657a Merge pull request #5634 from TimeIncOSS/f-resource-not-found-err
helper/resource: Add more details (Retries) to resource.NotFoundError
2017-01-23 14:58:40 +00:00
Jake Champlin 4fcc301b83 Update CHANGELOG.md 2017-01-23 09:22:14 -05:00
Jake Champlin c5126b5add Merge pull request #11340 from svanzoest/patch-1
provider/aws: Remove MaxFrameRate default on Elastictranscoder Preset
2017-01-23 09:21:20 -05:00
Jake Champlin 2efe489d59 Merge pull request #11339 from jmcarp/issue-10061
Set correct aws partition on s3 resource.
2017-01-23 09:17:33 -05:00
James Nugent 33034f38f8 Merge pull request #11319 from travispaul/patch-3
Clarify location of the remote state file in Manta backend
2017-01-23 11:31:15 +00:00
Kazumichi Yamamoto fb32052f33 Fix doc typo (#11354) 2017-01-23 10:53:33 +00:00
James Nugent dd8cbee0ab Update CHANGELOG.md 2017-01-23 01:50:17 +00:00
James Nugent 6013dc06a9 Merge pull request #11333 from radeksimko/f-aws-alb-wait
provider/aws: Wait until ALB is actually provisioned
2017-01-23 01:48:09 +00:00
Mitchell Hashimoto 7c014b84b6
terraform: handle count fields for data sources 2017-01-22 16:05:10 -08:00
Mitchell Hashimoto 38286fe491
terraform: Refresh supports new data sources 2017-01-22 13:00:01 -08:00
Mitchell Hashimoto 9c16489887
terraform: ConfigTransformer has Unique and mode filters 2017-01-22 12:58:18 -08:00
Jake Champlin aa3eda7642 Merge pull request #11313 from hashicorp/f-fix-s3bucketpolicy-acctests
provider/aws: Fix S3BucketPolicy Acceptance Tests
2017-01-22 15:41:21 -05:00
Jake Champlin 5222c0f3b2 Merge pull request #11338 from radeksimko/docs-aws-ecs-fix
docs/aws: Fix misdocumented placement_strategy block
2017-01-22 15:40:45 -05:00
Sander van Zoest ec9aff034f aws/elastic_transcoder remove default MaxFrameRate
Fixes #9847
2017-01-22 12:39:23 -08:00
Joshua Carp 353430e08a
Set correct aws partition on s3 resource.
[Resolves #10061]
2017-01-22 15:05:35 -05:00
Radek Simko 19335609bb
docs/aws: Fix misdocumented placement_strategy block 2017-01-22 18:25:16 +00:00
grothja d818fa4dbc Add db.t2.medium to RDS cluster instance types (#11336) 2017-01-22 12:22:41 +00:00
Jake Champlin fc0ff5e8e1 Merge pull request #11328 from frezbo/patch-1
Update ami_copy.html.markdown
2017-01-21 21:30:43 -05:00
Radek Simko 41da963d07
provider/aws: Make ALBs internal or add IGW in tests 2017-01-21 22:00:36 +00:00
Mitchell Hashimoto d0b7a4a072
terraform: StateFilter handles cases where ResourceState has no type
This was possible with test fixtures but it is also conceiably possible
with older states or corrupted states. We can also extract the type from
the key so we do that now so that StateFilter is more robust.
2017-01-21 10:24:03 -08:00
Mitchell Hashimoto 2055885a0f
website: add destroy provisioners to getting started 2017-01-21 08:31:18 -08:00
Noel Georgi 9466884c6a Update ami_copy.html.markdown 2017-01-21 19:20:15 +05:30
Mitchell Hashimoto 3a1140951b
website: document destroy provisioners 2017-01-20 23:21:29 -08:00
Jake Champlin f458feb055
provider/ignition: Fix systemd unit errors
According to the coreos [documentation](https://coreos.com/ignition/docs/latest/configuration.html), systemd units only require the name attribute per each unit. This can also be validated with the CoreOS config validator. This change allows the `ignition_systemd_unit` resource to no longer fail if given an empty `content` and `dropin`.

Also adds a test to cover this use case.
2017-01-21 00:28:04 -05:00
Mitchell Hashimoto a50003d9f6
terraform: fix compilation by complying with interface 2017-01-20 20:45:06 -08:00
Mitchell Hashimoto d3df7874d5
terraform: introduce EvalApplyPre so that PreApply is called even for
destroy provisioners.
2017-01-20 20:36:53 -08:00
Jake Champlin 02b3fd289a Update CHANGELOG.md 2017-01-20 23:36:03 -05:00
Jake Champlin ead20e4004 Merge pull request #11301 from syskill/http-basic-auth
Basic authentication for HTTP remote state backend
2017-01-20 23:34:18 -05:00
Mitchell Hashimoto f40fdde708
terraform: PostProvision hook gets the error from the provision step 2017-01-20 20:21:12 -08:00
Mitchell Hashimoto b56ee1a169
terraform: test on_failure with non-destroy provisioners 2017-01-20 20:05:28 -08:00
Mitchell Hashimoto 4a8c2d0958
terraform: on_failure for provisioners 2017-01-20 19:55:32 -08:00
Mitchell Hashimoto 85cb3a16b0
terraform: on destroy prov failure, don't taint and preserve state 2017-01-20 18:26:41 -08:00
Mitchell Hashimoto e9f6c9c429
terraform: run destroy provisioners on destroy 2017-01-20 18:07:51 -08:00
Clint 3029787dd8 Update 2017-01-20 16:35:48 -06:00
Jake Champlin 1efb207760 Update CHANGELOG.md 2017-01-20 17:35:12 -05:00
Jake Champlin b9ade93a48 Merge pull request #11298 from hashicorp/f-update-ecs-definitions-constraints
provider/aws: Update ECS task_definition and service
2017-01-20 17:34:10 -05:00
Clint 7c5b3a5012 Merge pull request #11291 from hashicorp/pr-10985
provider/aws: implement CloudFront Lambda Function Associations (supersedes #10985)
2017-01-20 16:34:03 -06:00
clint shryock 9d8b1c17f1 fix doc typo 2017-01-20 16:21:25 -06:00
clint shryock fd3f4bbf3d fix up a test to actually compare them 2017-01-20 16:20:32 -06:00
James Bardin f0d59af8bb Merge pull request #11321 from hashicorp/jbardin/flatmap-MergeDiff
Fix the removal of empty containers from a flatmap
2017-01-20 17:02:56 -05:00