terraform docs recommend to specify provider version to avoid breaking changes. what does the breaking changes mean here?
does breaking changes mean the terraform plan shows delete and recreate of resources due to auto provider version upgrade on terraform init
lets say i have my provider terraform block as below where i did not set the version constraint
provider "aws" {
region = "us-west1"
shared_credentials_file = "/home/ubuntu/.aws/credentials"
profile = "default"
}
now lets say i have run terraform apply and created the infra lets consider the aws plugin version is 2.0.0 at this time.
lets say after a month i have cloned the repo and did terraform init now lets say the aws plugin version is 4.0.0 since latest version is fetched as there is no version constraint
now is there a chance that terraform plan might cause a modify resource config OR delete and recreate OR destroy of existing resources due to this auto plugin version upgrade to version 4.0.0 but previously i have used 2.0.0.