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
1.6.5
Provider Version
2.47.0
Affected Resource(s)
scaleway_baremetal_server
Terraform Configuration Files
resource "scaleway_baremetal_server" "alpha" {
name = var.node_name
zone = var.default_zone
project_id = var.project_id
offer = data.scaleway_baremetal_offer.node_sku.offer_id
os = data.scaleway_baremetal_os.ubuntu_24.os_id
ssh_key_ids = [for name, ssh_key in data.scaleway_account_ssh_key.users : ssh_key.id]
options {
id = data.scaleway_baremetal_option.private_net.option_id
}
private_network {
id = data.scaleway_vpc_private_network.private_net.id
}
tags = var.node_tags
}
Expected Behavior
Terraform apply command should wait until the server is created
Actual Behavior
Terraform apply command fails and outputs the following timeout error after 1h2m0s
β·
β Error: scaleway-sdk-go: waiting for server installation failed: timeout after 1h2m0s
β
β with scaleway_baremetal_server.alpha,
β on main.tf line 1, in resource "scaleway_baremetal_server" "alpha":
β 1: resource "scaleway_baremetal_server" "alpha" {
β
β΅
The server resource becomes tainted in the tfstate so we have to remove it from the state with terraform state rm scaleway_baremetal_server.alpha and then re-import it terraform import scaleway_baremetal_server.alpha ***/***
The actual server is successfully created after several minutes when checking in the Scaleway Console
Community Note
Terraform Version
1.6.5
Provider Version
2.47.0
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
Terraform apply command should wait until the server is created
Actual Behavior
terraform state rm scaleway_baremetal_server.alpha
and then re-import itterraform import scaleway_baremetal_server.alpha ***/***
Steps to Reproduce
terraform apply