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

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

Open
fauzan-n opened this issue Aug 25, 2023 · 0 comments
Labels
kind/bug Something isn't working

Comments

@fauzan-n
Copy link

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: [email protected]

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

@fauzan-n fauzan-n added the kind/bug Something isn't working label Aug 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant