Open pnodet opened 3 months ago
Hello, What version of the provider are you using? Could you share the snippet of code that produce this error?
I'm running version 2.42.1
.
terraform {
required_version = ">= 1.9.3"
required_providers {
scaleway = {
source = "scaleway/scaleway"
version = "2.42.1"
}
}
}
The output above was with the following command.
SCW_DEBUG=1 TF_LOG=WARN TF_LOG_PROVIDER=DEBUG terraform plan
Issues are from a file containing multiples scaleway commands.
resource "tls_private_key" "private_key" {
algorithm = "RSA"
rsa_bits = 4096
}
resource "scaleway_iam_ssh_key" "public_key" {
name = "publicKey"
public_key = tls_private_key.private_key.public_key_openssh
}
resource "scaleway_instance_ip" "public_ip" {}
resource "scaleway_instance_server" "server" {
name = var.instance_name
ip_id = scaleway_instance_ip.public_ip.id
zone = var.instance_zone
type = var.instance_node_type
image = "ubuntu_focal"
root_volume {
size_in_gb = var.instance_root_volume_size
}
}
Hello,
You might want to try upgrading to the latest version of the Scaleway provider. I haven't encountered this issue on my side with the latest version. Let me know if you still face any problems after the upgrade!
Community Note