aws-ia / terraform-aws-control_tower_account_factory

AWS Control Tower Account Factory
Apache License 2.0
605 stars 384 forks source link

Using archived deprecated terraform provider should be replaced #457

Open marcofranssen opened 1 month ago

marcofranssen commented 1 month ago

Terraform Version & Prov:

AFT Version: Latest

Terraform Version & Provider Versions Please provide the outputs of terraform version and terraform providers from within your AFT environment

terraform version

1.5.7

terraform providers

hashicorp/template v2.2.0

Bug Description This module is depending on a archived/deprecated terraform provider. See https://github.com/hashicorp/terraform-provider-template/issues/85

This archived provider doesn't work with Macbook M series (arm64). Besides that an archived/deprecated provider isn't maintained and also doesn't get updates, meaning this provider is build using old versions of Go that have been patched many times, so potentially even is vulnerable.

Expected behavior

Replace the terraform template provider with the suggested replacements from https://github.com/hashicorp/terraform-provider-template/issues/85

Related Logs

╷
│ 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.
╵

Additional context Add any other context about the problem here.

snebhu3 commented 1 week ago

@marcofranssen thank you for reaching out. Please may you provide more context on which deprecated terraform resource are you referring to and where you see the usage within AFT?