-
Notifications
You must be signed in to change notification settings - Fork 31
Description
I'm getting always the following error, when applying the code (bear in mind that the "plan" works as expected):
oneview_server_profile_template.ServerProfileTemplate["spttest"]: Creating... ╷ │ Error: invalid boot_vlan_id: strconv.Atoi: parsing "": invalid syntax │ │ with oneview_server_profile_template.ServerProfileTemplate["spttest"], │ on main.tf line 18, in resource "oneview_server_profile_template" "ServerProfileTemplate": │ 18: resource "oneview_server_profile_template" "ServerProfileTemplate" { │ ╵ ERRO[0013] 1 error occurred: * exit status 1
The inputs:
connection_settings = {
manage_connections = true
compliance_ctl = "Checked"
}
connections = [
{
connection_id = 1
allocated_mbps = 1
allocated_vfs = 1
isolated_trunk = false
max_mbps = 25
connection_name = "cn1tun1lab"
function_type = "Ethernet"
network_type = "network"
network_name = "tun1lab"
port_id = "Mezz 3:1-a"
requested_mbps = "2500"
requested_vfs = "Auto"
lag_name = "LAG1"
boot = {
priority = "NotBootable"
}
}
The execution plan:
+ connection_settings {
+ compliance_control = "Checked"
+ manage_connections = true
+ connections {
+ function_type = "Ethernet"
+ id = 1
+ isolated_trunk = false
+ lag_name = "LAG1"
+ name = "cn1tun1lab"
+ network_uri = "/rest/ethernet-networks/df78c53b-ca33-4516-8a38-2d913110b754"
+ port_id = "Mezz 3:1-a"
+ requested_mbps = "2500"
+ requested_vfs = "Auto"
# (2 unchanged attributes hidden)
+ boot {
+ priority = "NotBootable"
# (3 unchanged attributes hidden)
+ iscsi (known after apply)
}
}
We tried to execute this with providers version 8.5, 8.7 and 9.0
But it didn't worked in anyone.