Oh also, anyone have a fix or a workaround for thi...
# general
l
Oh also, anyone have a fix or a workaround for this? https://github.com/pulumi/pulumi/issues/5900 The steps suggested in the second to last comment don't seem to always work
b
I’m happy to update that comment, what situation are you in?
l
Oh hey, well I used your comment and it seemed to work but it started not letting me modify load balancers again. So the Listener, even with the option you suggested and replaceOnChanges, is still the last thing Pulumi wants to remove. So it tries replacing the targetgroups first which fails because they're in use by the listener still. It did work until I changed the Protocol on the listener and taregtgroup at the same time Let me destroy it and start over and try to trigger it again. I had moved on to trying the awsx.lb resources instead, but the plugin is saying internal error loading awsx package (made sure it was installed) so that's also giving me a hard time
Ok so first time it failed by modifying the target group and listeners ports at the same time I'll switch it back then try one at a time But it's just trying to remove the TargetGroup before the Listener which breaks it
Changin just the target group also broke it
b
hmm, can you show me more info about what’s happening?
l
It's on my work computer and the block slack, so I'm bouncing back and forth lol I'll try to get you some screenshots Basically it's trying to remove the TargetGroup before the Listener which throws the exception because the Listener references the target group That's the gist of it