Skip to content

fix: Remove hashicorp/local provider dependency#3

Open
alexbell708 wants to merge 1 commit into
masterfrom
f/remove_local_provider
Open

fix: Remove hashicorp/local provider dependency#3
alexbell708 wants to merge 1 commit into
masterfrom
f/remove_local_provider

Conversation

@alexbell708

Copy link
Copy Markdown

Remove hashicorp/local provider dependency

Why

The local Terraform provider isn't supported on macOS (Darwin), which blocks running Terraform locally for any project that depends on it. The provider is also old and effectively deprecated/legacy at this point, so it's better to drop it than work around it.

What changed

Replaced the local_file resource with archive_file (from the hashicorp/archive provider), which covers the same use case without requiring the unsupported local provider.
Removed the local provider dependency from this project.

Testing

Verified terraform plan/init run successfully on macOS (Darwin) now that the local provider is no longer required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants