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

Fix ListenerRule panic if no forward parameter is missing in defaultActions #4131

Merged
merged 3 commits into from
Jun 28, 2024

Conversation

flostadler
Copy link
Contributor

In #4083 we removed two patches fixing panics for Listener and ListenerRule resources and instead enrolled the resources in PlanResourceChange.

The ListenerRule (lb.ListenerRule and alb.ListenerRule) resources were missed to be enrolled in PlanResourceChange, which caused the original panic to surface again.

This change enrolls the ListenerRule resources in PlanResourceChange and adds a regression test covering those resources.

fixes #4128

…ctions

In #4083 we removed two patches fixing panics for Listener and
ListenerRule resources and instead enrolled the resources in
PlanResourceChange.

The ListenerRule (lb.ListenerRule and alb.ListenerRule) resources
were missed to be enrolled in PlanResourceChange, which caused
the original panic to surface again.

This change enrolls the ListenerRule resources in PlanResourceChange
and adds a regression test covering those resources.
@flostadler flostadler self-assigned this Jun 28, 2024
@flostadler flostadler requested a review from a team June 28, 2024 09:53
@@ -232628,4 +232628,4 @@
"aws:workspaces/getWorkspace:getWorkspace": 0
}
}
}
}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm not quite sure why this newline started disappearing. I tried adding it back and regenerating the file a couple of times but it kept happening

Copy link

Does the PR have any schema changes?

Looking good! No breaking changes found.
No new resources/functions.

Maintainer note: consult the runbook for dealing with any breaking changes.

@flostadler flostadler requested a review from t0yv0 June 28, 2024 12:51
@flostadler flostadler enabled auto-merge (squash) June 28, 2024 15:05
@flostadler flostadler merged commit 706903b into master Jun 28, 2024
24 checks passed
@flostadler flostadler deleted the flostadler/regress-4128 branch June 28, 2024 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Panic when creating an aws.lb.ListenerRule resource
2 participants