On an Apple Silicon Mac: `Provider registry.terraform.io/hashicorp/template v2.2.0 does not have a package available for your current platform, darwin_arm64`.
BeginnerTroubleshootingDependencies, Cycles and Providers
Answer
Likely causes → The template provider is archived and was never built for darwin_arm64. An old module still uses data "template_file".
Diagnose → terraform providers shows which module requires hashicorp/template.
Fix → Replace template_file with the built-in templatefile() function, and upgrade/fork the module that uses it.
Prevent → Remove archived providers (template, old community ones) during regular dependency hygiene.
More on Dependencies, Cycles and Providers
`Error: Cycle: aws_security_group.app, aws_security_group.db`.Beginner`Error: Cycle: local.name_prefix, local.tags`.BeginnerA cycle appears only after adding `depends_on = [module.app]` to a module. The error lists dozens of nodes.IntermediateAdding `create_before_destroy = true` to a launch template causes `Error: Cycle: ... (destroy deposed ...)`.Advanced`terraform init` fails: `Could not retrieve the list of available versions for provider hashicorp/aws: no available releases match the given constraints ~> 4.0, >= 5.30.0`.Intermediate`Error: Inconsistent dependency lock file` with `locked version selection 5.31.0 doesn't match the updated version constraints ">= 5.40.0"`.Beginner