Skip to content

generateResourceIdentifier should take stack name #239

Closed

Description

@benkehoe

Existing CloudFormation resources, when not given an explicit name, use the pattern {StackName}-{LogicalId}-{RandomSuffix}. This is useful as it helps users easily find resources corresponding to a given stack among many resources created by identical templates (e.g., they all have the same logical id but are in different stacks). The utility function provided in the Java plugin, generateResourceIdentifier, takes logical id. There should be a version that takes stack name as well. Users could just pass in the logical id as {StackName}-{LogicalId}, but a) they may not think to do so, and b) this prevents the method from smartly trimming down these values in the face of length constraints, which CloudFormation usually does.

Activity

  1. ammokhov commented on Sep 22, 2020

    @ammokhov
    Contributor

    closing this issue as being tracked in #299

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions