Skip to content
This repository was archived by the owner on Nov 27, 2024. It is now read-only.
This repository was archived by the owner on Nov 27, 2024. It is now read-only.

converting tfplan to CAI assets: adding resource changes to converter: adding resource create/update/no-op converting asset: The zonal field for resource disks cannot be empty.", #573

@devopsvj

Description

@devopsvj

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave +1 or me too comments; they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.
  • If the issue is assigned to a user, that user is claiming responsibility for the issue.

Terraform Validator version

terraform-validator: v0.12.5
terraform cli 1.0.5

[validate] 2022-03-09T00:37:39.785693036Z error {"version": "v1.0.0", "error_details": {"error": "converting tfplan to CAI assets: adding resource changes to converter: adding resource create/update/no-op converting asset: The zonal field for resource disks cannot be empty.", "context": "github.com/GoogleCloudPlatform/terraform-validator/cmd.Execute\n\t/Users/stephenrlewis/projects/terraform-validator/cmd/root.go:111\nmain.main\n\t/Users/stephenrlewis/projects/terraform-validator/main.go:30\nruntime.main\n\t/usr/local/Cellar/go/1.16.6/libexec/src/runtime/proc.go:225"}}

Affected Resource(s)

Trying to create VM with adding extra disk, reports below error

[validate] 2022-03-09T00:37:39.785693036Z error {"version": "v1.0.0", "error_details": {"error": "converting tfplan to CAI assets: adding resource changes to converter: adding resource create/update/no-op converting asset: The zonal field for resource disks cannot be empty.", "context": "github.com/GoogleCloudPlatform/terraform-validator/cmd.Execute\n\t/Users/stephenrlewis/projects/terraform-validator/cmd/root.go:111\nmain.main\n\t/Users/stephenrlewis/projects/terraform-validator/main.go:30\nruntime.main\n\t/usr/local/Cellar/go/1.16.6/libexec/src/runtime/proc.go:225"}}

  • google_XXXXX

Terraform Plan JSON

# Copy-paste your Terraform plan JSON here
#
# Ideally this would be a minimal plan that reproduces your issue.
# For large plan files, please use a service like Dropbox and share a link to the ZIP file.

Debug Output

Expected Behavior

Actual Behavior

Steps to Reproduce

  1. terraform-validator convert tfplan.json

Important Factoids

References

  • #0000

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions