Commit Graph

5290 Commits

Author SHA1 Message Date
Paul Hinze 49352db26f helper/schema: skip ValidateFunc on other errors
Guarantees that the `interface{}` arg to ValidateFunc is the proper
type, allowing implementations to be simpler.

Finish the docstring on `ValidateFunc` to call this out.

/cc @mitchellh
2015-06-08 08:55:45 -05:00
Paul Hinze 37b234e42b provider/aws: validate RDS final_snapshot_identifier
fixes #2250
2015-06-08 08:50:56 -05:00
Paul Hinze 61fee6735d helper/schema: ValidateFunc
Allows provider authors to implement arbitrary per-field validation
warnings or errors.
2015-06-08 08:47:41 -05:00
Paul Hinze 25eceb0834 Update CHANGELOG.md 2015-06-08 08:45:24 -05:00
Paul Hinze 5a28dadb04 Merge pull request #2267 from hashicorp/f-flatten-apply-errors
command/apply: flatten multierrors
2015-06-08 08:20:54 -05:00
Mitchell Hashimoto 2cee26bfe5 update CHANGELOG 2015-06-07 22:28:25 -07:00
Mitchell Hashimoto 8748a86e60 Merge pull request #2160 from grubernaut/elasticache_port_required
provider/aws: Set AWS Elasticache Port Number to be required
2015-06-07 22:27:59 -07:00
Mitchell Hashimoto 788528d226 update CHANGELOG 2015-06-07 22:26:31 -07:00
Mitchell Hashimoto 76d920f504 state/remote: more canonical Go for skip TLS verify
/cc @LeftyBC - Hope this helps! Some basic point:

* Idiomatic Go is to use thisCasingStyle and not this_casing_style
* Less repetitive to just create an http.Client once and re-use, also
  more flexible for later.
* The empty `if ok {}` was kind of awkward, replace with proper check
2015-06-07 22:24:31 -07:00
Mitchell Hashimoto 6649658d62 Merge pull request #2220 from LeftyBC/master
state/remote: Add a boolean flag to http remote that disables cert validity checking (for e.g. self-signed certs)
2015-06-07 22:19:31 -07:00
Mitchell Hashimoto b7c5deeb24 update CHANGELOG 2015-06-07 22:15:12 -07:00
Mitchell Hashimoto 6836bd59e7 Merge pull request #2254 from hartzell/swift-remote
Rework devcamcar's OpenStack Swift remote for new style state/remote.
2015-06-07 22:14:46 -07:00
Mitchell Hashimoto dd7413f4f7 update CHANGELOG 2015-06-07 22:13:02 -07:00
Mitchell Hashimoto 27acb45522 Merge pull request #2262 from ggiamarchi/openstack/endpoint_type
Openstack / Add endpoint type provider configuration
2015-06-07 22:12:32 -07:00
Mitchell Hashimoto b0241541c2 Merge pull request #2264 from hashicorp/r-basic-resource-tests
acc tests: ensure each resource has a _basic test
2015-06-07 22:11:48 -07:00
Mitchell Hashimoto 2e9461ace7 Merge pull request #2266 from hashicorp/f-better-iam-policy-error-msgs
fix go vet issues
2015-06-07 22:11:27 -07:00
Paul Hinze 18924d24fe command/apply: flatten multierrors
Before:

```
Error applying plan:

1 error(s) occurred:

* 1 error(s) occurred:

* 1 error(s) occurred:

* 1 error(s) occurred:

* Error creating ...
```

After:

```
Error applying plan:

1 error(s) occurred:

* Error creating ...
```

Muuuch better! :D
2015-06-07 21:32:00 -05:00
Paul Hinze f4f5139f22 provider/aws: improve iam_policy err msgs
Turns out `%s` outputs nicer than `%#v` here.

Closes #2247
2015-06-07 20:58:22 -05:00
Paul Hinze 84afeb73b1 acc tests: ensure each resource has a _basic test
Helpful for breadth first acc test sweeps `-run '_basic$'`
2015-06-07 18:18:14 -05:00
Paul Hinze 66c51d44f6 aws/provider convert _normal tests to _basic
For consistency!
2015-06-07 18:04:38 -05:00
Guillaume Giamarchi 8d26e10aba go fmt 2015-06-07 23:50:51 +02:00
Guillaume Giamarchi e04a6cacc5 Enpoint type configuration for OpenStack provider
Add the possibility to specify the endpoint type
(public, admin, internal). The default remains the
same (public).
2015-06-07 23:50:34 +02:00
Paul Hinze ed2a66a46a Merge pull request #2261 from nevir/patch-1
Fix page title for aws_elasticache_cluster
2015-06-07 14:47:48 -05:00
Ian MacLeod 20558fcf70 Fix page title for aws_elasticache_cluster 2015-06-07 12:42:38 -07:00
Paul Hinze 5f129f1b9d Update CHANGELOG.md 2015-06-07 09:07:00 -05:00
Paul Hinze c4bb9756e9 Merge pull request #2259 from AlexanderEkdahl/s3_website_endpoint_fix
Corrected Frankfurt S3 Website Endpoint
2015-06-07 09:06:27 -05:00
Alexander Ekdahl 52a21f3fb0 Corrected Frankfurt S3 Website Endpoint fixes #2258 2015-06-07 11:39:18 +02:00
George Hartzell 3a0ba422a8 Merge branch 'swift-remote' of https://github.com/hartzell/terraform into swift-remote 2015-06-06 10:25:44 -07:00
George Hartzell 4fc6dd0141 Only run Swift tests when Swift is available
Only run the Swift remote tests when OpenStack seems
to have been set up and when the autho host is reachable.
2015-06-06 10:19:25 -07:00
George Hartzell 258b1a4263 Implement OpenStack/Swift remote
Rework devcamcar's OpenStack Swift remote [pull
request](https://github.com/hashicorp/terraform/pull/942) to work with
Terraform's new `state/remote` and Gophercloud's current implementation.

`Get()` changed up a bit from devcamcar's version (using different
Gopercloud functionality resulted in less fussing around to figure out
the error case).

Otherwise this is a transliteration/remix of his ideas.
2015-06-06 10:04:31 -07:00
Chris Bednarski c852ac5d80 Merge pull request #2252 from ketzacoatl/patch-2
Minor correction to aws_s3_bucket docs
2015-06-05 16:40:21 -07:00
ketzacoatl 4bbe93552a Minor correction to aws_s3_bucket docs 2015-06-05 19:20:23 -04:00
Clint c26f01b78d Merge pull request #2251 from TimeIncOSS/asg-notification-docs
docs: Fix wrong title (aws_autoscaling_notification)
2015-06-05 16:53:32 -05:00
Radek Simko 2df0e734ae docs: Fix wrong title (aws_autoscaling_notification) 2015-06-05 23:47:50 +02:00
Clint e2cefe290d Merge pull request #2232 from justnom/master
Fixing bugs with `aws_network_interface` and added docs.
2015-06-05 16:24:14 -05:00
Chris Bednarski 71203d1ef9 Merge pull request #2249 from hashicorp/scaling-error
provider/aws: clarify scaling timeout error
2015-06-05 14:24:08 -07:00
Jack Pearkes 6c29671561 provider/aws: clarify scaling timeout error
This just gives the user a better hint to why their scaling may have timed out.
2015-06-05 17:14:21 -04:00
Clint f75488ed00 Update CHANGELOG.md 2015-06-05 16:04:59 -05:00
Clint e172508788 Merge pull request #2197 from hashicorp/f-aws-asg-notifications
provider/aws: ASG Notifications Resource
2015-06-05 16:04:19 -05:00
Clint Shryock f8eb5e4b11 clarify docs 2015-06-05 15:42:04 -05:00
Clint c02b53dadc Update CHANGELOG.md 2015-06-05 15:28:54 -05:00
Radek Simko 1770713633 Merge pull request #1803 from TimeIncOSS/ecs
aws: Add support for ECS (Container Service)
2015-06-05 22:25:41 +02:00
George Hartzell 9cfa1d5e5f Implement OpenStack/Swift remote
Rework devcamcar's OpenStack Swift remote [pull
request](https://github.com/hashicorp/terraform/pull/942) to work with
Terraform's new `state/remote` and Gophercloud's current implementation.

`Get()` changed up a bit from devcamcar's version (using different
Gopercloud functionality resulted in less fussing around to figure out
the error case).

Otherwise this is a transliteration/remix of his ideas.
2015-06-05 12:10:38 -07:00
Paul Hinze f7a309a8bf Update CHANGELOG.md 2015-06-05 13:13:05 -05:00
Paul Hinze 834fda764f Merge pull request #2234 from trumant/os_auth_token
Fixes #2212 by allowing OS_AUTH_TOKEN to set api_key config value
2015-06-05 13:12:17 -05:00
Paul Hinze 4ce65e5707 Update CHANGELOG.md 2015-06-05 13:11:07 -05:00
Paul Hinze 27c6b868eb Merge pull request #2246 from hashicorp/b-aws-elb-listeners-hash-case
provider/aws: fix case in ELB listener protocols
2015-06-05 13:02:13 -05:00
justnom 09bac2384e Adding `aws_network_interface` to sidebar. 2015-06-05 12:31:19 -04:00
Paul Hinze f65cce478b provider/aws: fix case in ELB listener protocols
fixes #2242
2015-06-05 10:20:07 -05:00
Clint Shryock 3858ee0ade add docs for asg notifications 2015-06-05 10:14:24 -05:00