Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.12 > 0.13 state issues with various objects. #25941

Closed
bourbonfgiles opened this issue Aug 20, 2020 · 2 comments
Closed

0.12 > 0.13 state issues with various objects. #25941

bourbonfgiles opened this issue Aug 20, 2020 · 2 comments
Labels
bug explained a Terraform Core team member has described the root cause of this issue in code

Comments

@bourbonfgiles
Copy link

Hello,

Just upgraded Terraform from 0.12.28 to 0.13.30. On a plan-apply, previously working items seem to fail in reading attributes from the state file (remote, Azure blob storage).

I've downgraded again to 0.12.28 and the plan-apply works perfectly.

Thanks. Output from plan-apply below.

Error: Invalid resource instance data in state

on ../../../../../terraform/azr-kv/key_vault.tf line 105:
105: resource "azurerm_key_vault" "object" {

Instance module.kv.azurerm_key_vault.object data could not be decoded from the
state: unsupported attribute "sku".

Error: Invalid resource instance data in state

on ../../../../../terraform/azr-kv/key_vault.tf line 105:
105: resource "azurerm_key_vault" "object" {

Instance module.kv.azurerm_key_vault.object data could not be decoded from the
state: unsupported attribute "sku".

Error: Invalid resource instance data in state

on ../../../../../terraform/azr-kv/key_vault.tf line 105:
105: resource "azurerm_key_vault" "object" {

Instance module.kv.azurerm_key_vault.object data could not be decoded from the
state: unsupported attribute "sku".

Error: Invalid resource instance data in state

on ../../../../../terraform/azr-kv/key_vault.tf line 105:
105: resource "azurerm_key_vault" "object" {

Instance module.kv.azurerm_key_vault.object data could not be decoded from the
state: unsupported attribute "sku".

Error: Invalid resource instance data in state

on ../../../../../terraform/azr-vnet/vnet/subnet.tf line 47:
47: resource "azurerm_subnet" "object" {

Instance module.hub_and_spoke.module.sql_vnet.azurerm_subnet.object data could
not be decoded from the state: unsupported attribute "ip_configurations".

Error: Invalid resource instance data in state

on ../../../../../terraform/azr-vnet/vnet/subnet.tf line 47:
47: resource "azurerm_subnet" "object" {

Instance module.hub_and_spoke.module.vm_vnet.azurerm_subnet.object data could
not be decoded from the state: unsupported attribute "ip_configurations".

Error: Invalid resource instance data in state

on ../../../../../terraform/azr-vnet/vnet/subnet.tf line 47:
47: resource "azurerm_subnet" "object" {

Instance module.hub_and_spoke.module.hub_vnet.azurerm_subnet.object data could
not be decoded from the state: unsupported attribute "ip_configurations".

Error: Invalid resource instance data in state

on ../../../../../terraform/azr-vnet/vnet/subnet.tf line 47:
47: resource "azurerm_subnet" "object" {

Instance module.hub_and_spoke.module.dmz_vnet.azurerm_subnet.object data could
not be decoded from the state: unsupported attribute "ip_configurations".

@bourbonfgiles bourbonfgiles added bug new new issue not yet triaged labels Aug 20, 2020
@alisdair
Copy link
Contributor

This looks like a duplicate of #25752, which will be fixed in the next Terraform release. Thanks!

@alisdair alisdair added explained a Terraform Core team member has described the root cause of this issue in code fixed and removed new new issue not yet triaged labels Aug 20, 2020
@ghost
Copy link

ghost commented Oct 11, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked as resolved and limited conversation to collaborators Oct 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug explained a Terraform Core team member has described the root cause of this issue in code
Projects
None yet
Development

No branches or pull requests

2 participants