terraform-provider-scaleway icon indicating copy to clipboard operation
terraform-provider-scaleway copied to clipboard

Instance: remove cloud-init

Open Monitob opened this issue 3 years ago • 0 comments
trafficstars

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

Description

Today we can set a cloud-init configuration with the attribute cloud-init and user-data. Please use only use_data

New or Affected Resource(s)

  • scaleway_XXXXX

Potential Terraform Configuration

resource "scaleway_instance_server" "base" {
  image = "ubuntu_focal"
  type  = "DEV1-S"
  tags  = [ "terraform-test", "scaleway_instance_server", "user_data" ]
  root_volume {
	size_in_gb = 20
 }
 user_data = {
	cloud-init = <<EOF
 apt_update: true
 apt_upgrade: true
 EOF
 }
}

References

  • #0000

Monitob avatar Sep 06 '22 12:09 Monitob