-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Terraform Plugin SDK V2 Changes Affecting Provider Code Development #14551
Labels
provider
Pertains to the provider itself, rather than any interaction with AWS.
technical-debt
Addresses areas of the codebase that need refactoring or redesign.
Comments
bflad
added
the
technical-debt
Addresses areas of the codebase that need refactoring or redesign.
label
Aug 11, 2020
ghost
added
bug
Addresses a defect in current functionality.
crash
Results from or addresses a Terraform crash or kernel panic.
labels
Aug 11, 2020
bflad
removed
bug
Addresses a defect in current functionality.
crash
Results from or addresses a Terraform crash or kernel panic.
labels
Aug 11, 2020
ghost
added
bug
Addresses a defect in current functionality.
crash
Results from or addresses a Terraform crash or kernel panic.
labels
Aug 18, 2020
bflad
added
provider
Pertains to the provider itself, rather than any interaction with AWS.
hashibot/ignore
and removed
bug
Addresses a defect in current functionality.
crash
Results from or addresses a Terraform crash or kernel panic.
labels
Aug 18, 2020
This was referenced Aug 18, 2020
This was referenced Aug 18, 2020
Closed
Merged
Closing as this does not need to remain open. |
brittandeyoung
pushed a commit
to brittandeyoung/terraform-provider-aws
that referenced
this issue
Feb 24, 2021
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
provider
Pertains to the provider itself, rather than any interaction with AWS.
technical-debt
Addresses areas of the codebase that need refactoring or redesign.
Description
Version 2 of the Terraform Plugin SDK has been released and this codebase has been migrated to this newer version in order to support future enhancements such as:
This type of change mostly affects open pull requests adjusting Go code
import
statements and new data sources/resources. The fix is generally just to update the SDK imports.For example, given the previous code imports in a pull request:
Can be replaced with their version 2 counterpart:
Additionally, some version 1 code imports are now internalized. Given these previous imports:
They can be replaced with their internal counterpart:
Some example errors when a pull request contains an older version of the SDK while the current code contains the newer version of the SDK includes:
An automated bot response will occur for pull requests containing the old imports that are updated after today, however existing pull requests may require the import updates above.
References
The text was updated successfully, but these errors were encountered: