Saturday, August 31, 2024

Terraform - How to upgrade to version 0.13

 If you are trying to upgrade your terraform version from 0.12 using the command


terraform 0.13upgrade

You might encounter an error similar to this


Error: Invalid legacy provider address
This configuration or its associated state refers to the unqualified provider "aws".
You must complete the Terraform 0.13 upgrade process before upgrading to later versions.


Run these commands first before trying to re-run "terraform 0.13upgrade"


terraform state replace-provider -- -/aws hashicorp/aws
terraform state replace-provider -- -/template hashicorp/template

F# as a scripting language

  If you read on  F# Interactive (dotnet) Reference - .NET | Microsoft Learn , F# language has an official interactive/interpreter support f...