HewlettPackard / terraform-provider-oneview

Automates the provisioning of physical infrastructure from a private cloud using templates from HPE OneView with Terraform
Apache License 2.0
49 stars 30 forks source link

Server Profile Template and Server Profile description are not set #369

Closed ClaireHayard closed 3 years ago

ClaireHayard commented 3 years ago

Scenario/Intent

When doing a terraform apply to create the Server Profile Template resource, the SPT and SP description parameters are not taken into account. Both parameters are declared and set respectively in the variables.tf and variables.tfvars files.

However, the SPT resource that is created doesn't have those fields configured on OneView.

In the OneView REST api, the fields are spt.description and spt.serverProfileDescription.

Environment

Expected Result

After setting the SPT and SP descriptions in the tfvars file and doing a terraform apply -var-file=variables.tfvars, the SPT resource created has those field configured in OneView.

Actual result

SPT and SP descriptions are not set.

nabhajit-ray commented 3 years ago

Thanks for pointing this out. We will fix this with 6.30 release

nabhajit-ray commented 3 years ago

Hi Claire,

The issue is fixed in master branch. It will be available in registry with OV 6.3 release