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 on apply and plan #22196

Closed
jalseth opened this issue Jul 24, 2019 · 7 comments
Closed

Crash on apply and plan #22196

jalseth opened this issue Jul 24, 2019 · 7 comments
Assignees
Labels

Comments

@jalseth
Copy link

jalseth commented Jul 24, 2019

Terraform Version

Terraform v0.12.5
+ provider.google v2.11.0
+ provider.google-beta v2.11.0
+ provider.random v2.1.2

Crash Output

https://gist.github.com/jalseth/2caf70cb4c0c274bedbf52ec9f29f3a2

Expected Behavior

No crash

Actual Behavior

Crash

Steps to Reproduce

terraform apply or terraform plan

Additional Context

This infrastructure was initially set up using Terraform 0.11 and the configs were updated with terraform 0.12upgrade. Running this on a fresh project in GCP does not crash does not crash on the first apply, but crashes on the second apply/plan.

I removed the local terraform cache with rm -r .terraform, ran terraform init, then terraform plan again and the issue persists.

Update: On the fresh GCP project the first apply was successful, but subsequent apply/plan crashes in the same manner.

@teamterraform
Copy link
Contributor

Hello, to better understand this issue & make it easier to reproduce for anyone else would you mind sharing more details? e.g.

  • configuration information (minus any secrets)

Thanks.

@jalseth
Copy link
Author

jalseth commented Jul 24, 2019

Sanitized and uploaded the configs to https://github.com/jalseth/tf_issue20190724

@jalseth
Copy link
Author

jalseth commented Sep 3, 2019

Any updates on this?

@jbardin
Copy link
Member

jbardin commented Sep 5, 2019

Closed by #22690

@jbardin jbardin closed this as completed Sep 5, 2019
@jalseth
Copy link
Author

jalseth commented Sep 5, 2019

Hi, #22690 did not fix my issue. I built Terraform with your changes and the issue persists. New crash log: https://gist.github.com/jalseth/486c62440408227d118d8e4b18f50c2c

@jbardin
Copy link
Member

jbardin commented Sep 5, 2019

Hi @jalseth,

This change is only relevant to the plugin SDK. You would need to rebuild the google provider with the master branch of terraform.

@ghost
Copy link

ghost commented Oct 6, 2019

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@hashicorp hashicorp locked and limited conversation to collaborators Oct 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants