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

Infra Import report wrong value for GCP compute instance disk auto_delete attribute #332

Open
olivier2t opened this issue Jan 30, 2023 · 0 comments
Labels
Type: Bug Something isn't working

Comments

@olivier2t
Copy link

olivier2t commented Jan 30, 2023

General information:
Importing GCP compute instances using infra import Terracognita, the auto_delete attribute of the instance disk is not set to the correct value.

  • Operating System: Not sure. Probably Debian?
  • Terracognita version / tag: Cycloid platform on release v3.2.73
  • Did you build Terracognita from sources or did you use the Docker image: Cycloid platform on release v3.2.73

Describe the bug:
The disk auto_delete attribute of the infra imported GCP instance is set to false instead of true in the case reported.
As a consequence, terraform wants to recreate the disk right after the infra import was executed.

Log message
Here is the trace of the first terraform plan after infra import was executed:

...
disk {
~ auto_delete = false -> true # forces replacement
...
“Plan: 1 to add, 0 to change, 1 to destroy.”
@olivier2t olivier2t added the Type: Bug Something isn't working label Jan 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant