Skip to content
This repository has been archived by the owner on Nov 20, 2020. It is now read-only.

No support for the Scale Out / Scale In resource actions #23

Open
Marcvd316 opened this issue Dec 1, 2017 · 3 comments
Open

No support for the Scale Out / Scale In resource actions #23

Marcvd316 opened this issue Dec 1, 2017 · 3 comments

Comments

@Marcvd316
Copy link

Modifying the "_cluster" custom property of an existing IaaS deployment will destroy and recreate the deployment with the proper number of VMs, it should ideally use the Scale Out/Scale in option to add/remove VMs.

@virajindasrao
Copy link
Contributor

@Marcvd316 are you trying to update configuration after successfully deploying resource from terraform?
Could you please provide terraform configuration and more details about the issue would be good here.

@Marcvd316
Copy link
Author

Marcvd316 commented Dec 4, 2017

Hi Viraj,

That is correct, I provision a vRA deployment using a configuration like this :

resource "vra7_resource" "CentOSVM" {
	catalog_name = "CentOS VM"
	catalog_configuration = {
		_deploymentName = "CentOS Example Deployment"
	}
	resource_configuration{
		vm._cluster = 2
	}

}

And later on, if I change the value of "vm._cluster" from 2 to 3 and use "terraform apply", it deletes my deployment and creates a new one with 3 VMs instead of 2. Ideally, it wouldn't delete my deployment, it would use the Scale out function to modify my existing deployment.

@virajindasrao
Copy link
Contributor

Pull request created for scale in / scale out resource.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants