# V0.12 upgrade Issues - Error refreshing state: State format upgrade failed

**URL:** <https://discuss.hashicorp.com/t/v0-12-upgrade-issues-error-refreshing-state-state-format-upgrade-failed/2449>\
**Category:** AWS\
**Created:** [August 19, 2019, 8:59pm UTC](https://discuss.hashicorp.com/t/v0-12-upgrade-issues-error-refreshing-state-state-format-upgrade-failed/2449 "2019-08-19T20:59:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![zatknight](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/zatknight/32/1876_2.png) [@zatknight](https://discuss.hashicorp.com/u/zatknight)\
**Post date:** [August 19, 2019, 8:59pm UTC](https://discuss.hashicorp.com/t/v0-12-upgrade-issues-error-refreshing-state-state-format-upgrade-failed/2449/1 "2019-08-19T20:59:35Z")

</div>

Error refreshing state: State format upgrade failed: Error upgrading state file format from version 3 to version 4: listener\_certificate.1\_bbrx\_me\_cert\_prod: invalid dependency reference “aws\_iam\_server\_certificate.1\_bbrx\_me\_prod”: Attribute name required: Dot must be followed by attribute name…

I keep getting this errors despite following the guide and resolving errors. When I run terraform init or plan.

I get this as well :-

[gerardo@shopworks terraform-aws]$ terraform validate or terraform state list  
Error: Unsupported argument

on eks.tf line 222, in module “eks”:  
222: worker\_group\_count = 3

An argument named “worker\_group\_count” is not expected here.

Error: Unsupported argument

on eks.tf line 259, in module “eks”:  
259: worker\_group\_tags = {

An argument named “worker\_group\_tags” is not expected here.

Error: Unsupported argument

on eks.tf line 283, in module “eks”:  
283: workers\_additional\_policies\_count = 1

An argument named “workers\_additional\_policies\_count” is not expected here.

Error: Unsupported argument

on eks.tf line 290, in module “eks”:  
290: map\_users\_count = length(

An argument named “map\_users\_count” is not expected here.
