Switching to a Mac with Apple Silicon may cause an 'Incompatible provider version' error in Terraform. The deprecated 'template' provider is not available for the ARM platform. The article provides a solution to fix the error by replacing the deprecated 'template_file' data source with the 'templatefile' function in Terraform configuration.
Table of contents
Terraform Error: Incompatible provider versionTerraform: Replace deprecated template_file with templatefile()Terraform Error: Incompatible provider version persistsSort: