cloudposse / cloudposse/terraform-aws-sns-lambda-notify-slack

hashicorp/template does not have a darwin_arm64 release and is archived

Open
#35 0 comments 1 reaction 0 assignees View on GitHub
bug
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.

[![Slack Community](https://slack.cloudposse.com/badge.svg)](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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.