V
V
Vadim2020-07-23 14:02:48
Amazon Web Services
Vadim, 2020-07-23 14:02:48

Does the terraform 'state' file format depend on the aws provider version?

Hello everyone,

we are moving from aws provider

version = "~> 2.57.0" to version = "~> 2.59.0" the question is whether the terraform state files from the new version will be read by other resources and modules that are still work with version "~> 2.57.0" ? For example variables from the new state !

all the best,
Vadim

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Eugene, 2020-07-25
@Viji

the tfstate format is generated by the terraform, not by the provider.
The provider provides quite certain records, which the terraform then stores in the state.
Besides,. an upgrade within one major version 2.57 -> 2.59 generally does not contain breaking changes, so if you upgraded from 1.3 to 2.59, you really should be worried.
If in doubt - study
https://registry.terraform.io/providers/hashicorp/...
https://registry.terraform.io/providers/hashicorp/...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question