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

CPU & Memory settings for vm not working #141

Open
MichaelPak opened this issue Mar 20, 2019 · 3 comments
Open

CPU & Memory settings for vm not working #141

MichaelPak opened this issue Mar 20, 2019 · 3 comments

Comments

@MichaelPak
Copy link
Contributor

MichaelPak commented Mar 20, 2019

Versions

Tool Version
vRA 7.3.1
terraform 0.11.13
provider master

Problem

In vRA I have test blueprint:
Снимок экрана 2019-03-20 в 10 49 07

Also, I have terraform resource:

resource "vra7_resource" "test-vm" {
  catalog_name = "TestBlueprint"

  resource_configuration = {
    TestVM.cpu = 8
    TestVM.memory = 4096
  }

But after terraform apply I'm getting vm with default resource configuration:

➜ terraform show
vra7_resource.test-vm:
  id = 379dc056-66ba-49ad-bb23-f5223fcc6b04
  catalog_configuration.% = 1
  catalog_configuration.lease_days = 2
  catalog_id = d1f247a3-73c4-45d3-84d8-af53a38a9f68
  catalog_name = TestBlueprint
  deployment_configuration.% = 2
  deployment_configuration.description = deployment via terraform
  deployment_configuration.reasons = I have some
  request_status = SUCCESSFUL
  resource_configuration.% = 2
  resource_configuration.TestVM.cpu = 1
  resource_configuration.TestVM.memory = 2048
  wait_timeout = 15

Снимок экрана 2019-03-20 в 10 55 10

What I'm doing wrong? Or it's a provider's bug?

@Prativa20
Copy link
Contributor

@MichaelPak I tried it and I am not able to reproduce this issue. Can you try updating and see what happens?

@MichaelPak
Copy link
Contributor Author

You mean update vRA?

@Prativa20
Copy link
Contributor

No, I mean update your deployment by changing something in the config file and do a terraform apply

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