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
terraform oneview provider: v6.2
OneView api version : 2800
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.
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.