-
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
r/aws_lb: mark subnets as ForceNew for network load balancers #2310
Conversation
- subnets can't be updated for lbs of type `network` - the `UPDATE` method tries to update the `subnets`, which fails, even on first apply
cc @DaveBlooman , this should address #1925 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
return nil | ||
} | ||
|
||
if "" == diff.Id() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nitpick, but diff.Id() == ""
would make more sense. 😉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Old defensive habit from my Ruby days, trying to save myself from typos like
if variable = "something" {
//stuff
}
when I meant
if variable == "something" {
//stuff
}
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! |
Replaces #2293
Subnets cannot be updated on Load Balancers of type
network
at this time:subnets
asForceNew
if theload_balancer_type
is set tonetwork
Fixes #1925