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 report #18917

Closed
bennettp123 opened this issue Sep 21, 2018 · 3 comments
Closed

Crash report #18917

bennettp123 opened this issue Sep 21, 2018 · 3 comments

Comments

@bennettp123
Copy link

bennettp123 commented Sep 21, 2018

Terraform Version

Terraform v0.11.8
+ provider.aws v1.36.0

(Also reproduced in v0.11.7, but the crash and trace logs provided below are from v0.11.8).

Terraform Configuration Files

data "aws_ami" "soe" {
  owners      = ["self"]
  most_recent = true

  filter {
    name   = "name"
    values = ["centos-7-x86_64-*"]
  }

  filter {
    name   = "virtualization-type"
    values = ["hvm"]
  }
}

Debug Output

https://gist.github.com/bennettp123/c2760fc5e0ff230431fcc08b96e97900#file-trace-log-enc

Crash Output

https://gist.github.com/bennettp123/7645f4c4a9f2b7c84b777e969f454297#file-crash-log-enc

Expected Behavior

Does not crash.

Actual Behavior

Crashes with crash.log and trace output attached

Steps to Reproduce

  1. terraform init
  2. terraform apply -out=.tfplan

Additional Context

References

@bennettp123
Copy link
Author

bennettp123 commented Sep 21, 2018

I think I've narrowed it down a bit.

We have an AMI that failed to build (status: failed in AWS console). After deregistering the failed AMI, terraform stops crashing.

Here's the relevant hcl:

data "aws_ami" "soe" {
  owners      = ["self"]
  most_recent = true

  filter {
    name   = "name"
    values = ["centos-7-x86_64-*"]
  }

  filter {
    name   = "virtualization-type"
    values = ["hvm"]
  }
}

@ghost
Copy link

ghost commented Sep 24, 2018

This issue has been automatically migrated to hashicorp/terraform-provider-aws#5963 because it looks like an issue with that provider. If you believe this is not an issue with the provider, please reply to hashicorp/terraform-provider-aws#5963.

@ghost
Copy link

ghost commented Apr 2, 2020

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.

@ghost ghost locked and limited conversation to collaborators Apr 2, 2020
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants