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

crash: Error: rpc error: code = Unavailable desc = transport is closing #8110

Open
ghost opened this issue Jan 4, 2021 · 1 comment
Open

Comments

@ghost
Copy link

ghost commented Jan 4, 2021

Affected Resource(s)

  • google_*

This issue was originally opened by @vsekhar as hashicorp/terraform#27393. It was migrated here as a result of the provider split. The original body of the issue is below.


Terraform Version

Terraform v0.14.3
+ provider registry.terraform.io/hashicorp/google v3.51.0
+ provider registry.terraform.io/hashicorp/google-beta v3.51.0
+ provider registry.terraform.io/hashicorp/random v3.0.0
...

Terraform Configuration Files

https://github.com/vsekhar/terraform-crash

Debug Output

https://gist.github.com/vsekhar/734902e9332b3ab4835b19c2012143c0#file-trace-log

Crash Output

https://gist.github.com/vsekhar/734902e9332b3ab4835b19c2012143c0#file-crash-log

Expected Behavior

Terraform applied the configuration

Actual Behavior

Terraform crash.

Steps to Reproduce

Terraform init and then apply causes the crash 100% of the time.

Additional Context

References

@venkykuberan
Copy link
Contributor

@vsekhar can you please share the plan output of just google_compute_region_instance_group_manager, I suspect dynamic block is passing nil value for target_size, however tf/provider shoudn't crash in any situation. I want to look at your plan out to better understand the issue.

modular-magician added a commit to modular-magician/terraform-provider-google that referenced this issue Jul 14, 2023
Co-authored-by: Riley Karson <rileykarson@google.com>
Co-authored-by: Efe Elaiho <efeelaiho@google.com>
Co-authored-by: efeelaiho <efeelaiho15@utexas.edu>
Signed-off-by: Modular Magician <magic-modules@google.com>
modular-magician added a commit that referenced this issue Jul 14, 2023
Signed-off-by: Modular Magician <magic-modules@google.com>
Co-authored-by: Riley Karson <rileykarson@google.com>
Co-authored-by: Efe Elaiho <efeelaiho@google.com>
Co-authored-by: efeelaiho <efeelaiho15@utexas.edu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant