scaleway / terraform-provider-scaleway

Terraform Scaleway provider
https://www.terraform.io/docs/providers/scaleway/
Mozilla Public License 2.0
195 stars 121 forks source link

Providing cloud-init/user_data configuration to Elastic Metal #1302

Open mllnd opened 2 years ago

mllnd commented 2 years ago

Community Note

Description

Scaleway has advertised the support for cloud-init for its Elastic Metal product lineup. However, when trying out the Terraform module, it seems that it is currently not possible to pass any cloud-init configuration for initial setup.

image (source: https://www.scaleway.com/en/elastic-metal/)

New or Affected Resource(s)

Potential Terraform Configuration

resource "scaleway_baremetal_server" "metal" {
  zone        = var.location
  name        = "elastic-metal"
  offer       = "XX-XXX-XX"
  os          = "96e5f0f2-d216-4de2-8a15-68730d877885" # Ubuntu 22.04 LTS
  user_data   = ... # <--- Could be included? 
  ssh_key_ids = [var.keypair_id]
}
remyleone commented 2 years ago

Hello, this is a feature that is not yet available publicly and will be soon.

mllnd commented 2 years ago

Thanks for the prompt reply! Do you have any approximate ETA for this? We're quite reliant on providing user_data for deployed instances unfortunately...

remyleone commented 2 years ago

@ErwanPaillard might be able to tell you more.

stephenmoloney commented 1 year ago

Any progress on this?

Codelax commented 1 year ago

Nothing new publicly, this will be added to terraform once the feature get released.