Describe the bug
I want to create a server and use the iPXE Custom Script option, as available in the UI (via Upload ISO -> iPXE Custom Script) which contains a iPXE script.
resource "vultr_startup_script" "pxe" {
name = "pxe"
type = "pxe"
script = "pxe script"
}
2. Run `terraform apply`
**Expected behavior**
Create the server using the iPXE custom script just as in the UI.
**Desktop (please complete the following information where applicable:**
- Version : v1.0.0
**Additional context**
If you leaved out any of the required reference IDs, you get the error:
Error: Please select at least one of the following os_id, app_id, iso_id or snapshot_id
If you set the `os_id` to the `Custom` one (`159`), you end up with:
Error: Please set a corrosponding attribute
If I comment out this error (https://github.com/vultr/terraform-provider-vultr/blob/master/vultr/resource_vultr_server.go#L274), it seems to work fine (I get the result I want)
Describe the bug I want to create a server and use the
iPXE Custom Script
option, as available in the UI (viaUpload ISO
->iPXE Custom Script
) which contains a iPXE script.To Reproduce Steps to reproduce the behavior:
resource "vultr_startup_script" "pxe" { name = "pxe" type = "pxe" script = "pxe script" }
Error: Please select at least one of the following os_id, app_id, iso_id or snapshot_id
Error: Please set a corrosponding attribute