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

test: add unique discriminator to testing-tier props #1166

Merged
merged 1 commit into from
Dec 20, 2023

Conversation

marofke
Copy link
Contributor

@marofke marofke commented Dec 20, 2023

Problem

Integration tests were failing to deploy the Bastion instance in the testing tier, since the name is not unique. Changes in #1165 enabled a feature flag that append a unique hash to the construct name, but base the hash on the CFN node a step down from the full stack name, resulting in the same hash for every test stack.

Solution

Append a 'discriminator' tag to the Bastion name, which helps keep the name unique between instances of the testing-tier. I also appended the "integStackTag" so multiple deployments won't cause resource conflicts.

Testing

Built locally, confirming no linting errors.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

Signed-off-by: Caden Marofke <marofke@amazon.com>
@marofke marofke merged commit 4fa745b into mainline Dec 20, 2023
3 checks passed
@marofke marofke deleted the marofke/testing-tier-discriminator branch December 20, 2023 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants