Skip to content
This repository was archived by the owner on Oct 4, 2024. It is now read-only.
This repository was archived by the owner on Oct 4, 2024. It is now read-only.

Template for Existing VPC Creates Security Group in the Default VPC #71

@scothren

Description

@scothren

The aerospike-cluster-workload.template.yaml template creates a 'PseudoRandom' Security Group in order to have a unique value to include in the AutoScale Group name. It is done this way to avoid a circular dependency.

This Security Group is created in the default VPC rather than the existing VPC where the rest of the resources will be deployed.

Can this be changed to create the Security Group in the specified VPC instead?

Relevant code is here: https://github.com/aws-quickstart/quickstart-aerospike/blob/main/templates/aerospike-cluster-workload.template.yaml#L423

Alternatively, could this random value be generated differently? Maybe the Stack ID could be used instead?
https://stackoverflow.com/questions/57660653/how-to-create-some-random-or-unique-value-in-a-cloudformation-template

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