Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VPC and subnet CIDR block parameters should not be required if vpc-id and subnet-id parameters are specified #187

Open
julian-price opened this issue May 1, 2024 · 1 comment
Assignees
Labels
bug Something isn't working triaged The issue has been triaged and is valid

Comments

@julian-price
Copy link

We have a requirement to install the DLT in a separate separate VPC with an elastic IP, because all IP traffic needs to be whitelisted on the target application that is being tested.

When deploying the DLT in an existing VPC and subnets, which is achieved by supplying the vpc-id and subnet-ids as parameters, all the other VPC and subnet CIDR parameters must be entered, even though they are subsequently ignored in the CloudFormation template.

This behaviour is confusing as the CloudFormation template makes it sound like the parameters will be used and must be valid values, but in reality they are not.

A better behaviour would be to only require the CIDR parameters if the vpc-id and subnet-ids are not supplied, or at least to note in the parameter descriptions that the CIDR blocks are only used if no vpc-id and subnet-id parameters are supplied.

Note also that there is a typo in the parameter defaults - both subnet A and B parameters have the same description, but the second should say "Subnet B CIDR Block":

      SubnetACidrBlock:
        default: AWS Fargate Subnet A CIDR Block
      SubnetBCidrBlock:
        default: AWS Fargate Subnet A CIDR Block
@julian-price julian-price added the bug Something isn't working label May 1, 2024
@kamyarz-aws kamyarz-aws self-assigned this May 1, 2024
@kamyarz-aws
Copy link
Member

kamyarz-aws commented May 2, 2024

I added this to our backlog and will resolve it in the next release.

@kamyarz-aws kamyarz-aws added the triaged The issue has been triaged and is valid label Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triaged The issue has been triaged and is valid
Projects
None yet
Development

No branches or pull requests

2 participants