Commit Graph

19 Commits

Author SHA1 Message Date
Seth Vargo a4f78613b5
Update cloudstack provider 2017-04-10 12:15:08 -04:00
George Christou 61277c0dbd website/docs: Run `terraform fmt` on code examples (#12075)
* docs/vsphere: Fix code block

* docs: Convert `...` to `# ...` to allow `terraform fmt`ing

* docs: Trim trailing whitespace

* docs: First-pass run of `terraform fmt` on code examples
2017-02-19 00:48:50 +02:00
Sander van Harmelen 1619a8138f provider/cloudstack: enhance security groups and rules (#9645)
* govendor: update go-cloudstack dependency

* Separate security groups and rules

This commit separates the creation and management of security groups and security group rules.

It extends the `icmp` options so you can supply `icmp_type` and `icmp_code` to enbale more specific configs.

And it adds lifecycle management of security group rules, so that security groups do not have to be recreated when rules are added or removed.

This is particulary helpful since the `cloudstack_instance` cannot update a security group without having to recreate the instance.

In CloudStack >= 4.9.0 it is possible to update security groups of existing instances, but as that is just added to the latest version it seems a bit too soon to start using this (causing backwards incompatibility issues for people or service providers running older versions).

* Add and update documentation

* Add acceptance tests
2016-10-27 11:10:15 +02:00
Sander van Harmelen c14aa6336e Delete all deprecated parameters before the 0.7 release
Updated the docs accordingly and also executed all the acceptance tests
after making the changes…
2016-06-27 11:13:48 +02:00
Mickaël Canévet b4c7a274fa Add provider/cloudstack: add security_group_ids 2016-06-27 10:35:40 +02:00
Mickaël Canévet d7e7a45ec6 provider/cloudstack: add security_group_names 2016-06-27 10:33:25 +02:00
Mickaël Canévet 3d9bdafb97 provider/cloudstack: add affinity_group_names 2016-06-27 09:55:34 +02:00
Joakim Sernbrant dd5f121494 provider/cloudstack: add root_disk_size 2016-06-08 10:23:14 +02:00
Sander van Harmelen 55d4e3cda7 Merge branch 'cloudstack-group' of https://github.com/jefflaplante/terraform into f-cloustack-group 2016-04-18 22:32:55 +02:00
Jeff LaPlante 014f2d5671 Added group attribute to cloudstack instance documentation markdown 2016-04-11 10:26:46 -07:00
Sander van Harmelen 815c8840a7 Refactor the use of names vs IDs for parameters referencing other TF resources
We have a curtesy function in place allowing you to specify both a
`name` of `ID`. But in order for the graph to be build correctly when
you recreate or taint stuff that other resources depend on, we need to
reference the `ID` and *not* the `name`.

So in order to enforce this and by that help people to not make this
mistake unknowingly, I deprecated all the parameters this allies to and
changed the logic, docs and tests accordingly.
2016-04-11 17:14:28 +02:00
Sander van Harmelen fddf3eccc6 Make the CloudStack provider more inline with the other provider
It turns out all other providers use `ip_address` where the CloudStack
provider uses `ipaddress`. To make this more consistent this PR
deprecates `ipaddress` and adds `ip_address` where needed…
2016-04-04 22:16:15 +02:00
Sander van Harmelen 22b9e2a7d9 Update the docs to match the changes made in PR #5587 2016-03-25 18:24:16 +01:00
Sander van Harmelen 28b7b53be6 Updates and tweaks 2015-07-16 17:40:11 +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
Benjamin Vickers e0b9961d93 Update docs for Cloudstack with SSH keypair and timeout 2015-06-03 12:45:46 +01:00
Avi Nanhkoesingh 1411d4010f Fixes #1: sets the rights values based on isUUID 2015-05-05 12:31:21 +02:00
Sander van Harmelen 68a6e7197f Adding some needed references and updated a couple of passes 2015-01-13 11:28:05 +01:00
Sander van Harmelen 4910423d83 First release of a provider for CloudStack
Of course not all resources are covered by this first release, but
there should be enough resources available to handle most common
operations.

Tests and docs are included.
2014-12-10 22:20:52 +01:00