sureshanaparti commented on code in PR #323:
URL:
https://github.com/apache/cloudstack-terraform-provider/pull/323#discussion_r3801006482
##########
cloudstack/resource_cloudstack_instance_test.go:
##########
@@ -695,3 +761,41 @@ resource "cloudstack_instance" "foobar" {
expunge = true
# Note: project is NOT specified here - it should be inherited from the
network
}`
+
+const testAccCloudStackInstance_scale = `
+resource "cloudstack_network" "foo" {
+ name = "terraform-network"
+ display_text = "terraform-network"
+ cidr = "10.1.1.0/24"
+ network_offering = "DefaultIsolatedNetworkOfferingWithSourceNatService"
+ zone = "Sandbox-simulator"
+}
+
+resource "cloudstack_instance" "foobar" {
+ name = "terraform-test"
+ display_name = "terraform-test"
+ service_offering = "Small Instance"
+ network_id = cloudstack_network.foo.id
+ template = "CentOS 5.6 (64-bit) no GUI (Simulator)"
+ zone = "Sandbox-simulator"
+ expunge = true
+}`
+
+const testAccCloudStackInstance_scaleUp = `
+resource "cloudstack_network" "foo" {
+ name = "terraform-network"
+ display_text = "terraform-network"
+ cidr = "10.1.1.0/24"
+ network_offering = "DefaultIsolatedNetworkOfferingWithSourceNatService"
+ zone = "Sandbox-simulator"
+}
+
+resource "cloudstack_instance" "foobar" {
+ name = "terraform-test"
+ display_name = "terraform-test"
+ service_offering = "Medium Instance"
+ network_id = cloudstack_network.foo.id
+ template = "CentOS 5.6 (64-bit) no GUI (Simulator)"
+ zone = "Sandbox-simulator"
+ expunge = true
+}`
Review Comment:
```suggestion
}`
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]