Skip to content

[Docs] Add note to Target Group name property that using it will perform replacements as DeleteBeforeReplace which does not work when referencing the TG in a listener #4226

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

Metadata

Assignees

No one assigned

    Labels

    area/docsImprovements or additions to documentationimpact/usabilitySomething that impacts users' ability to use the product easily and intuitivelykind/documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions