Skip to content

refactor: file resource #2437

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

Merged
merged 1 commit into from
Apr 30, 2025
Merged

refactor: file resource #2437

merged 1 commit into from
Apr 30, 2025

Conversation

tenthirtyam
Copy link
Contributor

Description

  • Refactors the deleteFile function, reducing the code duplication in the task execution and waiting logic.
  • Adds comments for file resource functions, including test functions.
  • Moves supporting functions below the CRUD functions.
  • Adds description to the file resource schema.
  • Update the file resource documentation.

Note: Revisit this resource with a transition to terraform-plugin-log and potentionally move supporting functions to a helper.

@tenthirtyam tenthirtyam added technical-debt Technical Debt refactor Refactor labels Apr 27, 2025
@tenthirtyam tenthirtyam added this to the v2.13.0 milestone Apr 27, 2025
@tenthirtyam tenthirtyam self-assigned this Apr 27, 2025
@tenthirtyam tenthirtyam requested a review from spacegospod April 27, 2025 21:40
@tenthirtyam tenthirtyam marked this pull request as ready for review April 27, 2025 21:40
@tenthirtyam tenthirtyam requested a review from a team as a code owner April 27, 2025 21:40
spacegospod
spacegospod previously approved these changes Apr 29, 2025
iBrandyJackson
iBrandyJackson previously approved these changes Apr 29, 2025
- Refactors the `deleteFile` function, reducing the code duplication in the task execution and waiting logic.
- Adds comments for file resource functions, including test functions.
- Moves supporting functions below the CRUD functions.
- Adds description to the file resource schema.
- Update the file resource documentation.

Signed-off-by: Ryan Johnson <[email protected]>
@tenthirtyam tenthirtyam force-pushed the refactor/file-resource branch from 527071f to d103f3c Compare April 29, 2025 23:23
@tenthirtyam tenthirtyam merged commit b9ecbfe into main Apr 30, 2025
8 checks passed
@tenthirtyam tenthirtyam deleted the refactor/file-resource branch April 30, 2025 15:27
Copy link

This functionality has been released in v2.13.0 of the Terraform Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Refactor technical-debt Technical Debt
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants