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

This crash happened, version 0.11.8, provider 1.43 #6420

Closed
ghost opened this issue Nov 10, 2018 · 3 comments
Closed

This crash happened, version 0.11.8, provider 1.43 #6420

ghost opened this issue Nov 10, 2018 · 3 comments
Labels
bug Addresses a defect in current functionality. crash Results from or addresses a Terraform crash or kernel panic. service/ec2 Issues and PRs that pertain to the ec2 service.

Comments

@ghost
Copy link

ghost commented Nov 10, 2018

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


Crash happened:
crash.log

@bflad bflad added bug Addresses a defect in current functionality. crash Results from or addresses a Terraform crash or kernel panic. service/ec2 Issues and PRs that pertain to the ec2 service. labels Nov 10, 2018
@bflad
Copy link
Contributor

bflad commented Nov 10, 2018

Hi @gloriajw-devmynd 👋 Sorry for the trouble here. This crash started occurring due to a change made in version 1.43.1 of the AWS provider. We have an open issue (#6416) and pending fix (#6419) that will be released in the next version of the AWS provider (either 1.43.2 or 1.44.0), likely releasing on Monday. To consolidate discussions and efforts, I'm going to close this issue in preference of the previous ones. 👍

If you're in need of an immediate workaround, you can pin your AWS provider version in your configuration via:

provider "aws" {
  # ... potentially other configuration ...
  version = "1.43.0"
}

For reference, matching portion of the crash log:

2018-11-09T17:13:26.622-0500 [DEBUG] plugin.terraform-provider-aws_v1.43.1_x4: panic: runtime error: invalid memory address or nil pointer dereference
2018-11-09T17:13:26.622-0500 [DEBUG] plugin.terraform-provider-aws_v1.43.1_x4: [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x235739c]
2018-11-09T17:13:26.622-0500 [DEBUG] plugin.terraform-provider-aws_v1.43.1_x4: 
2018-11-09T17:13:26.622-0500 [DEBUG] plugin.terraform-provider-aws_v1.43.1_x4: goroutine 947 [running]:
2018-11-09T17:13:26.622-0500 [DEBUG] plugin.terraform-provider-aws_v1.43.1_x4: github.com/terraform-providers/terraform-provider-aws/aws.findRuleMatch(0xc0000d3800, 0xc0001699b0, 0x6, 0x6, 0x1, 0x0)
2018-11-09T17:13:26.622-0500 [DEBUG] plugin.terraform-provider-aws_v1.43.1_x4: 	/opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/terraform-providers/terraform-provider-aws/aws/resource_aws_security_group_rule.go:433 +0x6c
2018-11-09T17:13:26.622-0500 [DEBUG] plugin.terraform-provider-aws_v1.43.1_x4: github.com/terraform-providers/terraform-provider-aws/aws.resourceAwsSecurityGroupRuleRead(0xc000352cb0, 0x2c5ea40, 0xc00026e300, 0xc000352cb0, 0x0)
2018-11-09T17:13:26.622-0500 [DEBUG] plugin.terraform-provider-aws_v1.43.1_x4: 	/opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/terraform-providers/terraform-provider-aws/aws/resource_aws_security_group_rule.go:286 +0x5fd

@bflad bflad closed this as completed Nov 10, 2018
@ghost
Copy link

ghost commented Nov 10, 2018

Thank you

@ghost
Copy link
Author

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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

@ghost ghost locked and limited conversation to collaborators Apr 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Addresses a defect in current functionality. crash Results from or addresses a Terraform crash or kernel panic. service/ec2 Issues and PRs that pertain to the ec2 service.
Projects
None yet
Development

No branches or pull requests

1 participant