Skip to content
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

Migrate to the Terraform Plugin Framework #93

Merged
43 commits merged into from
Apr 7, 2023

Conversation

DXTimer
Copy link
Contributor

@DXTimer DXTimer commented Apr 6, 2023

In order to ensure that we can leverage the most up-to-date features that Terraform provider and our users can benefit from the improvements in the provider framework, this PR migrates the provider from the SDKv2 to Terraform Plugin Framework.

In this PR we have touched all resources and data sources:

  • Resource dnsimple_lets_encrypt_certificate:

    • The deprecated contact_id field has been removed from the dnsimple_lets_encrypt_certificate resource.
    • The id field on the dnsimple_lets_encrypt_certificate is now of type int64 instead of string to keep in line with the API.
    • The domain_id field on the dnsimple_lets_encrypt_certificate is now required.
    • The expires_on attribute on the dnsimple_lets_encrypt_certificate has been renamed to expires_at to keep in line with the API.
  • Resource dnsimple_zone_record:

    • The ttl and priority fields on the dnsimple_zone_record are now of type int64 instead of string.
  • Resource dnsimple_record:

    • The resource has been removed from the provider as it was deprecated in v0.9.2.
  • The PREFETCH environment variable has been renamed to DNSIMPLE_PREFETCH to avoid conflicts with other services.

@DXTimer DXTimer requested a review from a user April 6, 2023 11:12
@DXTimer DXTimer self-assigned this Apr 6, 2023
@DXTimer DXTimer requested review from a team and removed request for a team April 6, 2023 11:12
@ghost ghost self-assigned this Apr 7, 2023
@ghost ghost merged commit 46d0ccf into main Apr 7, 2023
@ghost ghost deleted the feature/plugin-framework-migration branch April 7, 2023 05:50
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant