Skip to content

Unable to decode resource from state name=replicas type=google_sql_database_instance #1686

Open
@fauzan-n

Description

Description

ERRO[0000] Unable to decode resource from state name=replicas type=google_sql_database_instance
There were errors reading your states files :
tfstate+gs://ts-cloudstorage-asiase1-npe-uat/terraform/npe/uat/default.tfstate: attribute "settings": element 0: attributes "authorized_gae_applications", "crash_safe_replication", and "replication_type" are required

Environment

  • OS: Linux
  • driftctl version: v0.38.1
  • terraform version: v1.3.7
  • terraform providers versions: google@4.52.0

How to reproduce

driftctl scan --quiet --to gcp+tf --from tfstate+gs://ts-cloudstorage-asiase1-npe-uat/terraform/npe/uat/default.tfstate

Additional context

(hashicorp/terraform-provider-google#10412)
those attributes were not required anymore

Screenshot
Screenshot 2023-08-25 at 18 18 11

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions