Sander van Harmelen
e5fecca7cc
Add `cloudstack_static_nat` resource
2016-04-04 15:48:14 +02:00
Sander van Harmelen
5c1f410ebe
Some minor updates and added a proper test
2016-03-25 16:59:03 +01:00
James Nugent
63008b857f
Make name optional on cloudstack_instance resource
...
This commit matches the behaviour of the cloudstack_instance resource to
the documentation at [1], which indicates that the virtual machine name
is optional. This also changes the update logic to allow it to be
updated as described in [2].
[1] http://cloudstack.apache.org/api/apidocs-4.8/domain_admin/deployVirtualMachine.html
[2] http://cloudstack.apache.org/api/apidocs-4.8/domain_admin/updateVirtualMachine.html
2016-03-11 15:59:40 +00:00
Sander van Harmelen
5525772a74
provider/cloudstack: small doc update
2016-02-26 23:44:53 +01:00
Joakim Sernbrant
7d30423a61
provider/cloudstack: Improve ssh keypair handling
...
- adds support for projects
- adds support for public_key strings as well as filenames
2016-02-26 23:06:16 +01:00
Sander van Harmelen
c0f1962f51
Policing up the new `tags` code from @Carles-Figuerola
...
Just some cosmetics and some cleaning up to make the code fit in a
little better with the existing code. Functionally no changes are made
and the existing tests still pass.
2016-01-22 12:13:26 +01:00
Carles Figuerola
755917db07
Add tests for Network Tags for provider/cloudstack and applied tips from PR#4742
2016-01-21 22:45:51 -06:00
Carles Figuerola
0983ca4c2a
Merge remote-tracking branch 'upstream/master' into add-tags-plus-networktags
2016-01-21 22:37:23 -06:00
Sander van Harmelen
3385100f56
Make the concurrence for applying rules configurable
2016-01-21 21:30:54 +01:00
Sander van Harmelen
e3d530aaa2
Merge pull request #4772 from svanharmelen/b-fix-panic
...
provider/cloudstack: add a check to see if the port value is valid
2016-01-21 17:05:03 +01:00
Carles Figuerola
e2d6f7c5e9
Specify that the vlan attribute in cloudstack is only usable for ROOT admins and stop reading it back
2016-01-21 09:52:27 -06:00
Sander van Harmelen
20901a6478
Add a check to see if the port value is valid
...
Without this additional check it could happen that one of the firewall
resources would panic is given an unexpected port value.
2016-01-21 09:38:14 +01:00
Carles Figuerola
b18afaa5db
Add taging shared module for cloudstack and implement it in resource_network
2016-01-19 11:41:18 -06:00
Carles Figuerola
fab9b16de5
Move tests to ParseCIDR in resource_cloudstack_network and add items in read section
2016-01-15 14:24:18 -06:00
Carles Figuerola
c80ddccc12
Add vlan, startip, endip and gateway for network creation
2016-01-14 22:59:04 -06:00
Sander van Harmelen
b8f3417e79
Change all firewall related resources to take a cidr_list
...
Also some additional tweaks to improve performance and add in a little
concurrency to speed things up a little.
2015-12-03 15:34:53 +01:00
Sander van Harmelen
84645bd8b5
More tweaks to improve performance
2015-12-01 00:36:33 +01:00
Sander van Harmelen
d4ce2b87fb
Modified executable bit
2015-11-27 14:49:28 +01:00
Sander van Harmelen
a3eae45b32
Improve performance all firewall related resources
2015-11-24 18:27:52 +01:00
Sander van Harmelen
aa5d02104c
Add `computed` flag to the `network_domain` parameter
...
Without this flag you will get a diff based on the `network_domain`
parameter, if you not specify the parameter.
2015-10-23 09:54:54 +02:00
Panagiotis Moustafellos
e4845f75cc
removed extra parentheses
2015-10-08 15:48:04 +03:00
Sander van Harmelen
cc921b0bc7
Small refactor for better readability and updated the docs
2015-10-08 10:09:11 +02:00
Sander van Harmelen
b0d9b5666c
Merge pull request #3399 from vmfarms/source_nat_ip
...
Add source NAT IP computed parameter to CloudStack VPC
2015-10-07 22:36:25 +02:00
Sander van Harmelen
d4e3e4cae7
Fix regexp
2015-10-06 14:49:16 +02:00
Hany Fahim
b3bbba7767
project was not being referenced
2015-10-05 19:06:50 -04:00
Hany Fahim
aa4cf423f7
Fix whitespace
2015-10-05 19:01:14 -04:00
Hany Fahim
d212b278a9
Only set projectID if it is set
2015-10-05 18:59:52 -04:00
Sander van Harmelen
350b8e2df2
Small refactor of the UUID/UnlimitedResourceID logic
...
This makes things a little more generic and robust.
2015-10-05 14:05:21 +02:00
Sander van Harmelen
6fb61e3d98
Merge pull request #3324 from vmfarms/master
...
Allow special "unlimited" resource ID and add project param to templates
2015-10-05 13:06:09 +02:00
Hany Fahim
ea89339a43
Merge remote-tracking branch 'upstream/master' into source_nat_ip
2015-10-02 21:19:43 -04:00
Hany Fahim
910469ddee
Add Source NAT IP parameter
...
When creating a VPC, CloudStack automatically assigns a source NAT IP
from it's pool. It's handy to have this IP available in Terraform, which
can be used in ACLs for example. This commit adds such support.
2015-10-02 20:54:07 -04:00
Hany Fahim
1e90f986f2
Update conditional to set UnlimitedResourceID for Zonename as well as Zoneid
2015-09-30 14:03:14 -04:00
Hany Fahim
a9b86636c8
Check for proper empty response instead of UnlimitedResourceID
2015-09-28 13:31:08 -04:00
Sander van Harmelen
979c86ec26
Fix styling...
2015-09-27 19:56:44 -07:00
Sander van Harmelen
ccf683b6ea
Add support for network domains
...
Fixes #3248
2015-09-27 19:49:58 -07:00
Hany Fahim
7852248f0e
Moved project block down
2015-09-24 17:04:45 -04:00
Hany Fahim
fc89f576ca
Change IS_GLOBAL_RESOURCE to UnlimitedResourceID to keep terminology in sync with CloudStack
2015-09-24 16:49:21 -04:00
Hany Fahim
7b4bb968d6
Add project parameter to cloudstack_template resource
2015-09-24 16:28:40 -04:00
Hany Fahim
aa950be63b
Use constant for global resources
2015-09-24 16:16:12 -04:00
Hany Fahim
03d7c1fa7d
Allow for -1 for Zone ID, which is valid in CloudStack
2015-09-24 15:57:25 -04:00
Anthony Scalisi
198e1a5186
remove various typos
2015-09-11 11:56:20 -07:00
Sander van Harmelen
ce50f35679
Small refactor of the CloudStack load balancer tests
...
This makes the code a little more generic and inline with the other
code. Functionally the same things are tested.
2015-09-08 11:19:41 +02:00
Glen Mailer
981c40fec1
Expand cloudstack_loadbalancer_rule to work without vpcs
...
When using load balancer rules on an IP associated with a network
instead of a vpc, the network field can be omitted and inferred from the
IP. Filling this into state on read causes a spurious diff.
The openfirewall flag defaults to true when used on a network IP.
Implicit resource creation doesn't fit the terraform model, so we
disable it.
Also added a test which shows arguments that can be changed without
creating a new resource.
2015-09-06 23:43:37 +01:00
Glen Mailer
eee86d58f8
Make it easier to run the cloudstack acceptance tests
...
* Document what should go in the environment variables
* Generate set hash for egress firewall based on selected public ip
2015-09-06 18:21:55 +01:00
Sander van Harmelen
6b8d37e938
Fix issue #3033 and update tweak several cloudstack resources
...
- Added a retry loop for attaching disks as this something was tried to
fast when the VM was still booting
- Fix issue #3033
- Update docs for latest updates and done some minor refactoring
(styling)
2015-08-21 16:59:35 +02:00
Sander van Harmelen
cb49c8da3d
Merge pull request #2934 from jeroendekorte/master
...
provider/cloudstack: Added loadbalancer support to the provider
2015-08-21 11:16:04 +02:00
Jeroen de Korte
2d1d47fac6
Added LoadBalancer support for Cloudstack Provider
...
PR is complete with docs and tests
2015-08-21 10:37:08 +02:00
Hany Fahim
330673038c
Add project parameter to cloudstack_disk
2015-08-20 13:35:11 -04:00
Hany Fahim
078b16b20e
Add project parameter to cloudstack_ipaddress
2015-08-20 08:32:57 -04:00
Hany Fahim
228da7cf27
Add project parameter to VPC and network Cloudstack resources
2015-08-19 17:56:57 -04:00