-
Notifications
You must be signed in to change notification settings - Fork 133
Closed
Copy link
Description
Community Note
- Please vote on this issue by adding a π reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
Terraform Version
Terraform v1.12.2
on darwin_arm64
- provider registry.terraform.io/hashicorp/random v3.7.2
- provider registry.terraform.io/scaleway/scaleway v2.56.0
Affected Resource(s)
- scaleway_baremetal_server
Terraform Configuration Files
data "scaleway_baremetal_os" "by_id" {
zone = "fr-par-2"
name = "Proxmox"
version = "VE 8 | Debian 12 (Bookworm)"
}
data "scaleway_baremetal_offer" "server_model" {
zone = "fr-par-2"
name = "EM-A610R-NVME"
subscription_period = "hourly"
}
resource "scaleway_baremetal_server" "TP" {
count = length(random_string.server_passwords)
zone = "fr-par-2"
ssh_key_ids = [scaleway_account_ssh_key.main.id]
offer = data.scaleway_baremetal_offer.server_model.offer_id
os = data.scaleway_baremetal_os.by_id.os_id
service_password = "EM-A610R-NVME"
project_id = var.project_id
}Debug
2025-06-24T14:08:10.836+0900 [DEBUG] provider.terraform-provider-scaleway_v2.56.0: {"offer_id":"e1680dec-52aa-4cbc-b70c-ef32d863fdb0","project_id":"REDACTED","name":"tf-bm-compassionate-noyce","description":"","tags":[],"install":{"os_id":"a5c00c1b-95b1-4c08-8a33-79cc079f9dac","hostname":"","ssh_key_ids":["REDACTED"],"user":null,"password":null,"service_user":null,"service_password":null,"partitioning_schema":{"disks":null,"raids":null,"filesystems":null,"zfs":null}},"option_ids":null}
Expected Behavior
Server created
Actual Behavior
β Error: scaleway-sdk-go: http error 400 Bad Request: Missing service password
β
β with scaleway_baremetal_server.TP,
β on main.tf line 43, in resource "scaleway_baremetal_server" "TP":
β 43: resource "scaleway_baremetal_server" "TP" {
β
Steps to Reproduce
terraform apply
Important Factoids
References
- #0000