Commit Graph

15979 Commits

Author SHA1 Message Date
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
James Bardin 89259a1b00 Fix the removal of empty containers from a flatmap
Removal of empty nested containers from a flatmap would sometimes fail a
sanity check when removed in the wrong order. This would only fail
sometimes due to map iteration. There was also an off-by-one error in
the prefix check which could match the incorrect keys.
2017-01-20 16:23:10 -05:00
Travis Paul 56e289db8b Update path description for Manta remote state backend
An absolute Manta path such as /$MANTA_USER/stor/random/path or ~~/stor/random/path will not work for the path option.  /$MANTA_USER/stor/ is automatically prepended to the path.
2017-01-20 15:20:11 -05:00
Radek Simko 6222b3e91d
helper/resource: Add retries to err message 2017-01-20 11:09:04 -08:00
Radek Simko b652852e0a Merge pull request #11315 from radeksimko/docs-aws-remove-duplicate
docs/aws: Remove duplicate aws_route53_zone data source
2017-01-20 09:58:32 -08:00
Radek Simko fb4a829bef
docs/aws: Sort data sources alphabetically 2017-01-20 09:54:29 -08:00
Radek Simko a456c4ef05
docs/aws: Remove duplicate aws_route53_zone data source 2017-01-20 09:50:32 -08:00
James Bardin 60e4cfd285 Merge pull request #11308 from hashicorp/jbardin/vendor-fix
Fix vendored packages
2017-01-20 12:49:37 -05:00
Jake Champlin e272cb2243 provider/digitalocean: Fix failing acceptance test (#11310)
Fixes failing acceptance test:
```
$ make testacc TEST=./builtin/providers/digitalocean TESTARGS='-run=TestAccDigitalOceanVolume_Droplet'
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2017/01/20 11:38:26 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/digitalocean -v -run=TestAccDigitalOceanVolume_Droplet -timeout 120m
=== RUN   TestAccDigitalOceanVolume_Droplet
--- PASS: TestAccDigitalOceanVolume_Droplet (57.38s)
PASS
ok      github.com/hashicorp/terraform/builtin/providers/digitalocean   57.411s
```

Also removes all redundant type declarations in the digitalocean package.
2017-01-20 17:47:54 +00:00