Open
Description
Updating Target Group properties that cause replacements (e.g. port) fails if the Target Group has a fixed name and dependent resources (e.g. Listener).
Pulumi cannot perform "Create before Delete" if the Target Group is configured with a fixed name because Target Groups are required to have unique names. Instead Pulumi tries to delete the resource before replacing it.
This fails with a ResourceInUse error if the Target Group is referenced by other resources like a Listener.
As a workaround users can use namePrefix
instead.
This needs to be documented in the docs.
Relates to #4220
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment