Commit Graph

15640 Commits

Author SHA1 Message Date
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
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
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
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
Paul Stack 08917dd098 Update CHANGELOG.md 2017-01-20 17:40:52 +00:00
Paul Stack aab783917a Update CHANGELOG.md 2017-01-20 17:36:36 +00:00
Paul Stack 3b2c4ee2ed provider/aws: Remove hardcoded https from the ecr repository (#11307)
* provider/aws: Remove hardcoded https from the ecr repository

When the ECR resource was created, we hardcoded the repository URL to
start with https://

This was a mistake as all interaction with the repository now must
include a replace function for the https:// to "" for this to be usable

We need to note this change in the backward incompatibilities

```
% make testacc TEST=./builtin/providers/aws TESTARGS='-run=TestAccAWSEcrRepository_'                                                      ✭
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2017/01/20 14:37:36 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccAWSEcrRepository_ -timeout 120m
=== RUN   TestAccAWSEcrRepository_importBasic
--- PASS: TestAccAWSEcrRepository_importBasic (20.46s)
=== RUN   TestAccAWSEcrRepository_basic
--- PASS: TestAccAWSEcrRepository_basic (18.77s)
PASS
ok  	github.com/hashicorp/terraform/builtin/providers/aws	39.251s
```

* Update ecr_repository.html.markdown
2017-01-20 17:34:52 +00:00
clint shryock 75fa825e8c fix docs 2017-01-20 11:27:46 -06:00
clint shryock 91753409b9 fix issue where, depending on a creation of flattening, the lambda functions may be a set or an []interface{} 2017-01-20 11:25:30 -06:00
James Bardin 339803b701 Fix readme.md -> README.md
git with ignorecasce and macOS with silly case handing conspiring to
miss a file rename.
2017-01-20 12:23:02 -05:00
Jake Champlin 1409aec035 Merge pull request #11309 from hashicorp/f-update-pathexpand-docs
documentation: Add warning for pathexpand interpolation function
2017-01-20 12:05:55 -05:00
James Bardin 1aef515aba Add vendor-status check to travis 2017-01-20 12:01:40 -05:00
Jake Champlin 0a1991c82e
match paragraph indentation 2017-01-20 12:01:07 -05:00
James Bardin 7f6f11b9f2 Add vendor-status make target
Have vendor-status run govendor-status
Add all the missing .PHONY targets
2017-01-20 11:57:23 -05:00
James Bardin daa2b78a9c need to add the files too 2017-01-20 10:59:14 -05:00
James Bardin 12797498bc Add some more missing deps
These needed to be added properly to vendor
2017-01-20 10:24:40 -05:00
Jake Champlin be45816c80
documentation: Add warning for pathexpand interpolation function
Note that the `pathexpand` interpolation function could cause an unwanted diff on two different hosts
2017-01-20 09:51:25 -05:00
James Bardin 4e1b146ac2 remove google.golang.org/cloud
It's not used, and wasn't the correct import path
2017-01-20 09:37:27 -05:00
James Bardin bf1bac3a76 remove old deps files 2017-01-20 09:28:35 -05:00
James Bardin 63dca96028 update github.com/fsouza/go-dockerclient
That package was long out of date, but being held back by govendor
because it's pre-vendoring "external" folder was listed in vendor.json
but has since been removed from the repo.
2017-01-20 09:14:21 -05:00
Paul Stack 2c70855782 Update CHANGELOG.md 2017-01-20 14:12:44 +00:00
Calum Lacroix ceccdb827a vSphere Provider: If we only have one networkInterface, deviceID should (#8276)
be 0 to ensure that it selects the first element of the
networkInterfaces array.
2017-01-20 14:11:24 +00:00
Paul Stack 0cfda8fb17 Update CHANGELOG.md 2017-01-20 14:06:09 +00:00
Peter McAtominey d2047d714e provisioner/remote-exec: fail on first inline script with bad exit code (#11155)
The provisioner collected all inline commands into a single script which meant
only the exit code of the last command was actually checked for an error.
2017-01-20 14:04:43 +00:00
Paul Stack 2f520c0e64 Update CHANGELOG.md 2017-01-20 14:01:18 +00:00
Dylan Vaughn 2aca4a4d99 provider/aws: CloudFormation YAML template support (#11121) 2017-01-20 14:00:32 +00:00
Paul Stack e4c363d26f Update CHANGELOG.md 2017-01-20 13:22:21 +00:00
Paul Stack f8a3564065 provider/aws: Add DataSource to get a list of Autoscaling groups in a (#11303)
region
2017-01-20 13:21:12 +00:00
Christoph Blecker 651b0bf7c7 Update travis for go1.8rc2 (#11297) 2017-01-20 11:13:38 +00:00
Ben Slusky e3b20c3508 Basic authentication for HTTP remote state backend 2017-01-19 21:01:50 -05:00
James Bardin 0ca492691a revert mapstructure to the commit listed in master 2017-01-19 20:18:33 -05:00
James Bardin cfa299d2ee Update deps in unknown state and rever nomad
Nomad was manually updated, so revert that to the version in master,
remove it from vendor.json and add it to the ignore list.

Update all packages that were in an unknown state to their latest master
commits.
2017-01-19 20:10:17 -05:00
Jake Champlin 5276496e6d
provider/aws: Update ECS task_definition and service
Updates ECS task_definition documentation, and schema validation functions to match the AWS API documentation.

Updates ECS service documentation, and schema validation functions match the AWS API documentation.
2017-01-19 17:54:52 -05:00
clint shryock 6d4f4007fe restore lambdasethash, include in cache behavior id hash, and document (including limits) 2017-01-19 15:53:52 -06:00
James Bardin b6bbdef69c fix github.com/apparentlymart/go-grafana-api 2017-01-19 14:27:07 -05:00
James Bardin a0b70b0ec7 Sync the vendor folder with the manifest
A number of PRs have come through which modified the vendor folder
without recording the proper information. This resets everything back to
the recorded version.
2017-01-19 14:10:52 -05:00
Jake Champlin 570af34f0f Update CHANGELOG.md 2017-01-19 12:15:43 -05:00
Paul Stack 798bf60ef9 command/plugin_list: Adding Alicloud to the plugin list file (#11292) 2017-01-19 17:01:14 +00:00