aws-samples / aws-health-aware

AHA is an incident management & communication framework to provide real-time alert customers when there are active AWS event(s). For customers with AWS Organizations, customers can get aggregated active account level events of all the accounts in the Organization. Customers not using AWS Organizations still benefit alerting at the account level.
MIT No Attribution
344 stars 140 forks source link

template v2.2.0 does not have a package available for your current platform, darwin_arm64. #64

Open latelan opened 1 year ago

latelan commented 1 year ago

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.

latelan commented 1 year ago

Related to https://github.com/aws-samples/aws-health-aware/pull/57#issue-1702744432

elementalvoid commented 10 months ago

40, #57, and #65 have all been created to fix this. All three have slightly different solutions.

At a glance, #57 fixes it the cleanest way.

The source_files are not templates and do not need to be rendered in any way. I don't know why it was done that way in the beginning, but #40 continues to treat them as templates though it does switch to the built-in function. #65 removes the templating but is more complex using the local_file data source.