cloudposse / cloudposse/terraform-aws-sns-lambda-notify-slack
hashicorp/template does not have a darwin_arm64 release and is archived
- Dominant language
- HCL
- Stars
- 49
- Forks
- 43
- PR merge metrics
- No merged PRs in 30d
Description
Found a bug? Maybe our [Slack Community](https://slack.cloudposse.com) can help.
[](https://slack.cloudposse.com)
## Describe the Bug
Attempting to leverage cloudposse/terraform-aws-budgets which pulls in this module. This module attempts to fetch hashicorp/template. The version 2.2.0 has been archived and recommends switching to templatefile. https://registry.terraform.io/providers/hashicorp/template/2.2.0 The problem is that template does not have an OSX m1/m2 release so it fails with:
```
│ Error: Incompatible provider version
│
│ Provider registry.terraform.io/hashicorp/template v2.2.0 does not have a package available for your current platform,
│ darwin_arm64.
│
│ Provider releases are separate from Terraform CLI releases, so not all providers are available for all platforms. Other
│ versions of this provider may have different platforms supported.
╵
```
## Expected Behavior
The module works on OSX m1/m2
## Steps to Reproduce
Steps to reproduce the behavior:
1. Attempt to use cloudposses/terraform-aws-budgets on OSX m1
2. Run terrform init
3. See error
## Screenshots
N/A
## Environment (please complete the following information):
Anything that will help us triage the bug will help. Here are some ideas:
- OS: OSX
- Version 12.6
- Architecture arm
## Additional Context
N/A
Contributor guide
Research direction
Inspect the module's Terraform provider and dependency declarations, then run terraform init on a darwin_arm64 system to reproduce the incompatible hashicorp/template error. Done means the module no longer requires the archived provider and terraform init succeeds on OSX M1/M2.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- terraform
- Domain
- infrastructure
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100