-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature]: Migrate to TF Plugin Framework #752
Labels
Comments
jooola
added a commit
that referenced
this issue
Sep 26, 2023
Related to #752 Co-authored-by: jo <[email protected]>
This was referenced Sep 29, 2023
apricote
added a commit
that referenced
this issue
Oct 5, 2023
The schemas between the Plugin SDK Provider and the Plugin Framework Provider have different values. This is not allowed, as it causes inconstency, and the terraform-provider stops on startup with an error if this is detected. The "token" is not truly required in the old provider (or the new), because we fallback to the HCLOUD_TOKEN environment variable and have additional validation that verifies it is set. Closes #763 Related to #752
This was referenced Oct 12, 2023
apricote
added a commit
that referenced
this issue
Nov 15, 2023
Related to #752 Co-authored-by: Jonas Lammler <[email protected]>
This was referenced Nov 15, 2023
jooola
added a commit
that referenced
this issue
Dec 12, 2023
Related to #752 --------- Co-authored-by: Julian Tölle <[email protected]>
apricote
added a commit
that referenced
this issue
Mar 11, 2024
Related to #752 Co-authored-by: Julian Tölle <[email protected]>
This issue has been marked as stale because it has not had recent activity. The bot will close the issue if no further action occurs. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What whould you like to see?
Terraform has launched a new "Plugin Framework" that replaces the Plugin SDK v2. This new framework supports some advanced scenarios that currently do not work properly. It can help us solve a number of bugs that we are experiencing:
ForceNew
for schema attributes. Forhcloud_server.server_type
it makes sense toForceNew
when switching between x86 and Arm, but to keep the same server and scale it in case the architecture stays the same. This is supported by the Plugin Framework. See [Bug]: Changing hcloud server from arm64 to x86 results in an error #853hcloud_server.public_net
we have some bugs that are caused by the "Set" type for this argument. These can only be fixed in the Plugin Framework. See [Bug]: After importing hcloud_server terraform plan is showing fields to be updated #944 and fix(server): migration to explicit primary IPs fails #597 (comment)This migration will be a huge refactoring effort. We plan on doing it in many smaller steps, migrating a couple of resources at a time.
hcloud_certificate
hcloud_uploaded_certificate
hcloud_managed_certificate
data.hcloud_certificate
data.hcloud_certificates
data.hcloud_datacenter
refactor: move data.hcloud_datacenter(s) to Plugin Framework #779data.hcloud_datacenters
refactor: move data.hcloud_datacenter(s) to Plugin Framework #779hcloud_firewall
hcloud_firewall_attachment
data.hcloud_firewall
data.hcloud_firewalls
hcloud_floating_ip
hcloud_floating_ip_assignment
data.hcloud_floating_ip
data.hcloud_floating_ips
data.hcloud_image
data.hcloud_images
hcloud_load_balancer
hcloud_load_balancer_network
hcloud_load_balancer_service
hcloud_load_balancer_target
data.hcloud_load_balancer
data.hcloud_load_balancers
data.hcloud_location
refactor: move data.hcloud_location(s) to Plugin Framework #796data.hcloud_locations
refactor: move data.hcloud_location(s) to Plugin Framework #796hcloud_network
hcloud_network_subnet
hcloud_network_route
data.hcloud_network
data.hcloud_networks
hcloud_placement_group
data.hcloud_placement_group
data.hcloud_placement_groups
hcloud_primary_ip
data.hcloud_primary_ip
data.hcloud_primary_ips
hcloud_rdns
hcloud_server
hcloud_server_network
data.hcloud_server
data.hcloud_servers
data.hcloud_server_type
refactor: move data.hcloud_server_type(s) to Plugin Framework #959data.hcloud_server_types
refactor: move data.hcloud_server_type(s) to Plugin Framework #959hcloud_snapshot
hcloud_ssh_key
refactor: move data.hcloud_ssh_key(s) to Plugin Framework #817data.hcloud_ssh_key
refactor: move data.hcloud_ssh_key(s) to Plugin Framework #817data.hcloud_ssh_keys
refactor: move data.hcloud_ssh_key(s) to Plugin Framework #817hcloud_volume
hcloud_volume_attachment
data.hcloud_volume
data.hcloud_volumes
The text was updated successfully, but these errors were encountered: