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

Template Fixes for ECR and Cloudfront #954

Merged
merged 2 commits into from
Mar 6, 2024
Merged

Conversation

DavidSeptimus-Klotho
Copy link
Contributor

  • Added Platform property to aws:ecr_image
  • Removed requirement that path and method are set on the same alb listener rule condition for detecting methods on aws:cloudfront_distribution -> aws:load_balancer edges. A given rule's paths and methods are always on different conditions. Each condition only handles one condition type.

@jhsinger-klotho
Copy link
Contributor

why did all the tests change? Also good catch on the cdn, i assume that fixes the not picking up POST and what not. Also i have a task assigned to me for the ecr image which you should take

@DavidSeptimus-Klotho
Copy link
Contributor Author

The expectations all needed that platform property. The other test file just have changes to resource ordering, which doesn't seem likely to be associated with this specific set of changes.

…ister rule condition as the path

the correct behavior is to pull from the same rule since you can only have one condition type per condition.
@DavidSeptimus-Klotho DavidSeptimus-Klotho merged commit f11da88 into main Mar 6, 2024
6 checks passed
@DavidSeptimus-Klotho DavidSeptimus-Klotho deleted the image-platform branch March 6, 2024 22:56
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