sciencehistory / terraform_scihist_digicoll

0 stars 0 forks source link

Update Terraform's aws plugin from 3.76.1 to 5.10.0 #48

Closed eddierubeiz closed 1 year ago

eddierubeiz commented 1 year ago

Having fixed all the deprecated configuration in ref #28, we can now easily upgrade the aws provider from 3.76 to 5.10. So let's!

After checking this out you want to run terraform init -upgrade. Note that the output of terraform plan does not change after this upgrade.

jrochkind commented 1 year ago

Thanks for terraform init -upgrade guidance!

jrochkind commented 1 year ago

@eddierubeiz When running terraform plan post merge, I do get a list of 5 changes, but then the message:

No changes. Your infrastructure matches the configuration.

Your configuration already matches the changes detected above. If you'd like to update the Terraform state to match, create and apply a refresh-only plan: terraform apply -refresh-only

Should we do terraform apply -refresh-only to tidy things up, do you think?

Can you reproduce this?

Btw, this seems to be true on both staging and production workspaces for me.