-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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 when refreshing state for AWS SES #7862
Comments
…ain Identity Reference: #7862 Output from acceptance testing before code update: ``` === CONT TestAccAWSSESDomainMailFrom_disappears_Identity panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x3e051ac] goroutine 415 [running]: github.com/terraform-providers/terraform-provider-aws/aws.resourceAwsSesDomainMailFromRead(0xc0009825b0, 0x4a444a0, 0xc0004cec00, 0xc0009825b0, 0x0) /Users/bflad/src/github.com/terraform-providers/terraform-provider-aws/aws/resource_aws_ses_domain_mail_from.go:87 +0x37c ``` Output from acceptance testing: ``` --- PASS: TestAccAWSSESDomainIdentity_disappears (9.03s) --- PASS: TestAccAWSSESDomainMailFrom_disappears_Identity (10.38s) --- PASS: TestAccAWSSESDomainMailFrom_disappears (13.55s) --- PASS: TestAccAWSSESDomainMailFrom_behaviorOnMxFailure (21.04s) --- PASS: TestAccAWSSESDomainMailFrom_basic (21.11s) ```
Relevant portion of crash log:
Fix submitted: #7883 |
…ain Identity (#7883) Reference: #7862 Output from acceptance testing before code update: ``` === CONT TestAccAWSSESDomainMailFrom_disappears_Identity panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x3e051ac] goroutine 415 [running]: github.com/terraform-providers/terraform-provider-aws/aws.resourceAwsSesDomainMailFromRead(0xc0009825b0, 0x4a444a0, 0xc0004cec00, 0xc0009825b0, 0x0) /Users/bflad/src/github.com/terraform-providers/terraform-provider-aws/aws/resource_aws_ses_domain_mail_from.go:87 +0x37c ``` Output from acceptance testing: ``` --- PASS: TestAccAWSSESDomainIdentity_disappears (9.03s) --- PASS: TestAccAWSSESDomainMailFrom_disappears_Identity (10.38s) --- PASS: TestAccAWSSESDomainMailFrom_disappears (13.55s) --- PASS: TestAccAWSSESDomainMailFrom_behaviorOnMxFailure (21.04s) --- PASS: TestAccAWSSESDomainMailFrom_basic (21.11s) ```
Fix merged in #7883 |
This has been released in version 2.2.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. |
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! |
This issue was originally opened by @victor-pedro-massive as hashicorp/terraform#20610. It was migrated here as a result of the provider split. The original body of the issue is below.
Terraform Version
Terraform Configuration Files
Debug Output
https://gist.github.com/victor-pedro-massive/a1365122eb4148d458617ee3a78bc100
Crash Output
https://gist.github.com/victor-pedro-massive/aa706f311682ebd5bddcb29317c7a92a
Expected Behavior
It should refresh state or throw an defined error.
Actual Behavior
!!!!!!!!!!!!!!!!!!!!!!!!!!! TERRAFORM CRASH !!!!!!!!!!!!!!!!!!!!!!!!!!!!
Steps to Reproduce
terraform init
terraform refresh -var "stage=$ENV" -var "version=$PACKAGE_VERSION" --var-file default.tfvars --var-file $ENV.tfvars
Additional Context
None.
References
The text was updated successfully, but these errors were encountered: