Skip to content

Change gridscale_server resource hardware_profile default for new instances #141

@bkircher

Description

@bkircher

gridscale_server resource still produces a "default" hardware profile instance. I believe we should switch here to "q35".

Expected Behavior

resource "gridscale_server" "foo" {
  name   = "foo"
  cores  = 1
  memory = 2
  power  = true
}

This should produce an instance with Q35 profile.

Basically this should behave as I would have given q35 explicitly

  #
  hardware_profile = "q35"
  #

Actual Behavior

It produces an instance with "Default" profile.

Compatibility

Note, we only want to change the default for new resources here. A TF provider update should not change existing instances.

I don't really know if we should categorize this as a breaking change. If users still rely on having pc-i440fx-2.4 if they don't specify a profile this would break their flow. Maybe we can get away with a major version bump and a notice in the release notes?

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions