sparse-intern-71089
10/05/2023, 7:58 PMlittle-cartoon-10569
10/05/2023, 8:04 PMlittle-cartoon-10569
10/05/2023, 8:25 PMlittle-cartoon-10569
10/05/2023, 8:30 PMlittle-cartoon-10569
10/05/2023, 8:31 PMlittle-cartoon-10569
10/05/2023, 9:26 PMpulumi preview
, presumably because the TG is changing: maybe this is confusing Pulumi, and the necessary update is somehow overwriting the necessary delete-replace?little-cartoon-10569
10/05/2023, 11:37 PMpulumi up
, change the name on line 12, then run pulumi up
again.
You'll get this sort of error:
error deleting Target Group: ResourceInUse: Target group 'arn:aws:elasticloadbalancing:region:account:targetgroup/default/id' is currently in use by a listener or a rule
little-cartoon-10569
10/05/2023, 11:38 PM+- ├─ aws:alb:TargetGroup default replace [diff: ~name]
~ ├─ aws:alb:Listener listener update [diff: ~defaultActions]
~ └─ aws:alb:ListenerRule rule update [diff: ~actions]
But it needs to delete-replace the ListenerRule.billowy-army-68599
little-cartoon-10569
10/05/2023, 11:43 PMbillowy-army-68599
billowy-army-68599
little-cartoon-10569
10/05/2023, 11:51 PMlittle-cartoon-10569
10/05/2023, 11:52 PMlittle-cartoon-10569
10/05/2023, 11:53 PMlittle-cartoon-10569
10/05/2023, 11:53 PMbillowy-army-68599
little-cartoon-10569
10/05/2023, 11:56 PMbillowy-army-68599
little-cartoon-10569
10/05/2023, 11:58 PMbillowy-army-68599
billowy-army-68599
little-cartoon-10569
10/05/2023, 11:58 PMlittle-cartoon-10569
10/05/2023, 11:59 PMbillowy-army-68599
little-cartoon-10569
10/06/2023, 12:00 AMlittle-cartoon-10569
10/06/2023, 12:02 AMdeleteBeforeReplace: false
worked!little-cartoon-10569
10/06/2023, 12:02 AMlittle-cartoon-10569
10/06/2023, 12:03 AMbillowy-army-68599
little-cartoon-10569
10/06/2023, 12:05 AMbillowy-army-68599
deleteBeforeReplace
behaviour is you explicitly set the name, which is new to mebillowy-army-68599