terraform/builtin/providers/cloudstack
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
..
config.go Updates and tweaks 2015-07-16 17:40:11 +02:00
provider.go provider/cloudstack: enhance security groups and rules (#9645) 2016-10-27 11:10:15 +02:00
provider_test.go Fix the acceptance tests and some cosmetic tweaks (#8598) 2016-09-01 11:19:37 +02:00
resource_cloudstack_affinity_group.go Fix the acceptance tests and some cosmetic tweaks (#8598) 2016-09-01 11:19:37 +02:00
resource_cloudstack_affinity_group_test.go Fix the acceptance tests and some cosmetic tweaks (#8598) 2016-09-01 11:19:37 +02:00
resource_cloudstack_disk.go Fix refresing ACL rules when the ACL is deleted 2016-07-12 21:11:22 +02:00
resource_cloudstack_disk_test.go Fix several bugs in different resources 2016-07-12 21:11:22 +02:00
resource_cloudstack_egress_firewall.go Delete all deprecated parameters before the 0.7 release 2016-06-27 11:13:48 +02:00
resource_cloudstack_egress_firewall_test.go Delete all deprecated parameters before the 0.7 release 2016-06-27 11:13:48 +02:00
resource_cloudstack_firewall.go Delete all deprecated parameters before the 0.7 release 2016-06-27 11:13:48 +02:00
resource_cloudstack_firewall_test.go Delete all deprecated parameters before the 0.7 release 2016-06-27 11:13:48 +02:00
resource_cloudstack_instance.go provider/cloudstack: enhance security groups and rules (#9645) 2016-10-27 11:10:15 +02:00
resource_cloudstack_instance_test.go Refactor the use of names vs IDs for parameters referencing other TF resources 2016-04-11 17:14:28 +02:00
resource_cloudstack_ipaddress.go Fix refresing ACL rules when the ACL is deleted 2016-07-12 21:11:22 +02:00
resource_cloudstack_ipaddress_test.go Refactor the use of names vs IDs for parameters referencing other TF resources 2016-04-11 17:14:28 +02:00
resource_cloudstack_loadbalancer_rule.go Add project parameter to additional resources (#7828) 2016-07-27 17:30:18 +02:00
resource_cloudstack_loadbalancer_rule_test.go Refactor the use of names vs IDs for parameters referencing other TF resources 2016-04-11 17:14:28 +02:00
resource_cloudstack_network.go Fix dynamically determining if `ForceNew = true` (#7745) 2016-07-21 15:23:58 +02:00
resource_cloudstack_network_acl.go Fix refresing ACL rules when the ACL is deleted 2016-07-12 21:11:22 +02:00
resource_cloudstack_network_acl_rule.go provider/cloudstack: enhance security groups and rules (#9645) 2016-10-27 11:10:15 +02:00
resource_cloudstack_network_acl_rule_test.go Delete all deprecated parameters before the 0.7 release 2016-06-27 11:13:48 +02:00
resource_cloudstack_network_acl_test.go Refactor the use of names vs IDs for parameters referencing other TF resources 2016-04-11 17:14:28 +02:00
resource_cloudstack_network_test.go Make replacing the ACL of a network update the network in place 2016-05-18 12:22:32 +02:00
resource_cloudstack_nic.go Fix several bugs in different resources 2016-07-12 21:11:22 +02:00
resource_cloudstack_nic_test.go Refactor the use of names vs IDs for parameters referencing other TF resources 2016-04-11 17:14:28 +02:00
resource_cloudstack_port_forward.go Fix refresing an IP when it’s no longer associated 2016-07-12 21:32:56 +02:00
resource_cloudstack_port_forward_test.go Delete all deprecated parameters before the 0.7 release 2016-06-27 11:13:48 +02:00
resource_cloudstack_secondary_ipaddress.go Delete all deprecated parameters before the 0.7 release 2016-06-27 11:13:48 +02:00
resource_cloudstack_secondary_ipaddress_test.go Refactor the use of names vs IDs for parameters referencing other TF resources 2016-04-11 17:14:28 +02:00
resource_cloudstack_security_group.go provider/cloudstack: enhance security groups and rules (#9645) 2016-10-27 11:10:15 +02:00
resource_cloudstack_security_group_rule.go provider/cloudstack: enhance security groups and rules (#9645) 2016-10-27 11:10:15 +02:00
resource_cloudstack_security_group_rule_test.go provider/cloudstack: enhance security groups and rules (#9645) 2016-10-27 11:10:15 +02:00
resource_cloudstack_security_group_test.go provider/cloudstack: enhance security groups and rules (#9645) 2016-10-27 11:10:15 +02:00
resource_cloudstack_ssh_keypair.go Support recreating clients and configuring Chef Vaults (#8577) 2016-09-15 14:20:18 +02:00
resource_cloudstack_ssh_keypair_test.go Refactor the use of names vs IDs for parameters referencing other TF resources 2016-04-11 17:14:28 +02:00
resource_cloudstack_static_nat.go Add project parameter to additional resources (#7828) 2016-07-27 17:30:18 +02:00
resource_cloudstack_static_nat_test.go Refactor the use of names vs IDs for parameters referencing other TF resources 2016-04-11 17:14:28 +02:00
resource_cloudstack_template.go Fix refresing ACL rules when the ACL is deleted 2016-07-12 21:11:22 +02:00
resource_cloudstack_template_test.go Modified executable bit 2015-11-27 14:49:28 +01:00
resource_cloudstack_vpc.go provider/cloudstack: fix vpc renaming (#8784) 2016-09-12 10:30:45 +02:00
resource_cloudstack_vpc_test.go Fix styling... 2015-09-27 19:56:44 -07:00
resource_cloudstack_vpn_connection.go Delete all deprecated parameters before the 0.7 release 2016-06-27 11:13:48 +02:00
resource_cloudstack_vpn_connection_test.go Refactor the use of names vs IDs for parameters referencing other TF resources 2016-04-11 17:14:28 +02:00
resource_cloudstack_vpn_customer_gateway.go Small refactor of the UUID/UnlimitedResourceID logic 2015-10-05 14:05:21 +02:00
resource_cloudstack_vpn_customer_gateway_test.go Refactor the use of names vs IDs for parameters referencing other TF resources 2016-04-11 17:14:28 +02:00
resource_cloudstack_vpn_gateway.go Delete all deprecated parameters before the 0.7 release 2016-06-27 11:13:48 +02:00
resource_cloudstack_vpn_gateway_test.go Refactor the use of names vs IDs for parameters referencing other TF resources 2016-04-11 17:14:28 +02:00
resources.go Add ability to manage cloudstack affinity groups (#8360) 2016-09-01 10:48:49 +02:00
tags.go Policing up the new `tags` code from @Carles-Figuerola 2016-01-22 12:13:26 +01:00
tags_test.go Policing up the new `tags` code from @Carles-Figuerola 2016-01-22 12:13:26 +01:00