Commit Graph

5789 Commits

Author SHA1 Message Date
cvvs
eabaf8a088 provider/openstack: openstack router admin state
Change openstack router resource admin state from a string to a
boolean.

Same technique as mitchellh's fix in
https://github.com/hashicorp/terraform/pull/1745
2015-06-09 10:25:54 -06:00
cvvs
646fd76e07 provider/openstack: change security groups to set
This commit converts the openstack compute instances security groups to
a set from a list.

This fixes ordering problems which forces or indicates change to security
groups where none exist, and mimics the functionality in the aws
provider's compute resource.

Includes fixes from dupuy addressing crashes due to an empty state.
2015-06-09 10:04:06 -06:00
Sam Clinckspoor
c22f271fb0 Cleaned indentation of example 2015-06-09 17:57:31 +02:00
Sathiya Shunmugasundaram
9b6c0431f9 Initial commit for aws-rds example 2015-06-09 11:02:19 -04:00
Clint
2b93186512 Update CHANGELOG.md 2015-06-09 09:44:03 -05:00
Clint
05e06d4afd Merge pull request #2273 from hashicorp/f-aws-iam-group-membership
provider/aws: Add IAMGroupMembership resource
2015-06-09 09:42:33 -05:00
Clint Shryock
4d59019288 code cleanups 2015-06-09 09:11:05 -05:00
Sander van Harmelen
aed44622b1 Merge pull request #2281 from svanharmelen/f-provider-cloudstack
provider/cloudstack: updating and tweaking tests and docs
2015-06-09 12:44:22 +02:00
Sander van Harmelen
c9d3b988bc provider/cloudstack: updating and tweaking tests and docs
Making sure everything is up-to-spec again and all tests run flawless,
after merging in some new functionality.
2015-06-09 12:38:05 +02:00
John Ewart
320e4b222c Change sleep time for DynamoDB table waits from 3 seconds to 5 seconds 2015-06-08 16:04:22 -07:00
John Ewart
f458521be9 Remove request for attribute changes 2015-06-08 16:02:20 -07:00
Sam Clinckspoor
c79d821530 add docu link 2015-06-08 23:26:51 +02:00
Clint Shryock
5f1ab2a953 fix typo 2015-06-08 16:21:07 -05:00
Clint Shryock
eee7a2778d add doc file that I forgot 2015-06-08 16:18:47 -05:00
Sam Clinckspoor
7b559a9a24 added extra test for structure 2015-06-08 23:06:32 +02:00
Sam Clinckspoor
dedbac5a46 added documentation 2015-06-08 22:51:56 +02:00
Sam Clinckspoor
7f9c4e45ea added test 2015-06-08 22:43:39 +02:00
Clint Shryock
9891523e36 docs for iam_group_membership 2015-06-08 15:11:17 -05:00
Clint Shryock
96a28a092a update aws_iam_group_membership to provide update functionality 2015-06-08 15:01:23 -05:00
Clint Shryock
6b57f29570 refactor to support multi users 2015-06-08 14:20:39 -05:00
Sam Clinckspoor
14b7dd3477 add resource file 2015-06-08 21:05:25 +02:00
Sam Clinckspoor
a6010e6317 frist commit for aws_elasticahce_parameter_group 2015-06-08 21:05:00 +02:00
Clint
cf901c90d1 Update CHANGELOG.md 2015-06-08 13:09:27 -05:00
Clint
a39516c0eb Merge pull request #2177 from hashicorp/b-aws-iam-role-profile-update
provider/aws: Remove roles from profiles when trying to delete
2015-06-08 13:08:26 -05:00
Paul Hinze
60a5d11fa8 provider/aws: remove default from associate_public_ip_address
I snuck this in with #2263 because thought it was simply a stylistic
clarity thing, but it actually generates a resource-replacement-forcing
diff for existing resources that don't have this set in the config.
Definitely don't want that. :P

/cc @catsby
2015-06-08 12:39:36 -05:00
Clint Shryock
f31891fa5e provider/aws: Add IAMGroupMembership resource
bare bones implementation of a Group Membership resource
2015-06-08 11:26:47 -05:00
Sander van Harmelen
ec5cef4de8 Merge pull request #2115 from jalemieux/master
provider/cloudstack: add project support for CloudStack Instances
2015-06-08 17:34:24 +02:00
Paul Hinze
eabbc31523 Update CHANGELOG.md 2015-06-08 10:30:38 -05:00
Paul Hinze
e305d7c5df Merge pull request #2263 from hashicorp/f-aws-spot-instance-request
provider/aws: spot_instance_request
2015-06-08 10:29:58 -05:00
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
Clint Shryock
35047dbc9f Merge branch 'master' into b-aws-iam-role-profile-update
* master: (91 commits)
  update CHANGELOG
  update CHANGELOG
  state/remote: more canonical Go for skip TLS verify
  update CHANGELOG
  update CHANGELOG
  command/apply: flatten multierrors
  provider/aws: improve iam_policy err msgs
  acc tests: ensure each resource has a _basic test
  aws/provider convert _normal tests to _basic
  go fmt
  Enpoint type configuration for OpenStack provider
  Fix page title for aws_elasticache_cluster
  Update CHANGELOG.md
  Corrected Frankfurt S3 Website Endpoint fixes #2258
  Only run Swift tests when Swift is available
  Implement OpenStack/Swift remote
  Minor correction to aws_s3_bucket docs
  docs: Fix wrong title (aws_autoscaling_notification)
  provider/aws: clarify scaling timeout error
  Update CHANGELOG.md
  ...
2015-06-08 08:52:38 -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
Mitchell Hashimoto
aa1e66c16c config: parse lifecycle block with mapstructure for weak decode 2015-06-07 22:04:23 -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
Sathiya Shunmugasundaram
4e1660def5 added newline 2015-06-07 19:31:17 -04:00