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

Updating cloud front role pr devel 2.x#2593

Closed
matej5 wants to merge 28 commits into
devel-2.xfrom
Updating-CloudFront-role-PR-devel-2.x
Closed

Updating cloud front role pr devel 2.x#2593
matej5 wants to merge 28 commits into
devel-2.xfrom
Updating-CloudFront-role-PR-devel-2.x

Conversation

@matej5

@matej5 matej5 commented Jul 3, 2025

Copy link
Copy Markdown
Contributor

No description provided.

nfawbert and others added 28 commits June 26, 2025 12:03
…lab-PR-2.x

sync-disabled-ldap-users-gitlab systemd timer
…upgrade-PR-2.x

r71691-init-linotp-db-after-upgrade
@sonarqubecloud

sonarqubecloud Bot commented Jul 8, 2025

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
2 Security Hotspots

See analysis details on SonarQube Cloud

cache_behaviors: [] # A list of cache behaviors same as default_cache_behavior with additional path_pattern var required.
enabled: true
purge_existing: true # Set to false to append entries instead of replacing them.
web_acl: false # Set to true to create Web ACL for WAF.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please put this line back:)

@tymofiisobchenko tymofiisobchenko left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we don't want web_acl created when it's not needed

cache_behaviors: [] # A list of cache behaviors same as default_cache_behavior with additional path_pattern var required.
enabled: true
purge_existing: true # Set to false to append entries instead of replacing them.
web_acl: false # Set to true to create Web ACL for WAF.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please put this line back:)

name: aws/aws_acl
when:
- aws_cloudfront_distribution.web_acl
# - aws_cloudfront_distribution.web_acl

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please put this condition back:)
Other conditions are always true, since the aws_acl role has that defined in defaults/main.yml
So we will always create web_acl if that condition removed, which we DON'T want, some don't need web_acls at all!

@matej5 matej5 closed this Aug 11, 2025
@gregharvey
gregharvey deleted the Updating-CloudFront-role-PR-devel-2.x branch October 1, 2025 10:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants