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

emr_cluster/instance: force emr connection argument for refresh func #1287

Merged
merged 1 commit into from
Jul 31, 2017

Conversation

catsby
Copy link
Contributor

@catsby catsby commented Jul 31, 2017

#1264 crashes because of a wrong type assertion. Here I change the method signature instanceGroupStateRefresh to specifically call for an *emr.EMR type. I did this expecting to find a complication error where we're sending an *emr.EMR instead of the expected *AWSClient, but that never happened.

I've included a test that panics on master, but passes now.

Fixes #1264

@catsby catsby added bug Addresses a defect in current functionality. crash Results from or addresses a Terraform crash or kernel panic. labels Jul 31, 2017
@catsby catsby requested a review from radeksimko July 31, 2017 14:09
Copy link
Contributor

@grubernaut grubernaut left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, nice fix!

@catsby catsby removed the request for review from radeksimko July 31, 2017 15:09
@catsby catsby merged commit 6d1b447 into master Jul 31, 2017
@radeksimko radeksimko deleted the emr-crash-update branch July 31, 2017 15:10
@ghost
Copy link

ghost commented Apr 11, 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 11, 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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Terraform crash on aws_emr_instance_group resize
2 participants