-
-
Notifications
You must be signed in to change notification settings - Fork 250
feat: Backport cloudposse/cloudfront-cdn/aws improvements #340
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
base: main
Are you sure you want to change the base?
feat: Backport cloudposse/cloudfront-cdn/aws improvements #340
Conversation
fix: Remove redundant lookup() call
The `for_each` inside the `dynamic "s3_origin_config"` block already checks for `local.origin_access_identity_enabled`, so there's no need to check it again here.
The `local.origin_access_control_enabled` value used to be checked twice; now it's evaluated only once (the logic remains the same).
All variables references by `local.website_config` come with default values (see `variables.tf`) which make the func call redundant
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
💥 This pull request now has conflicts. Could you fix it @jwadolowski? 🙏 |
💥 This pull request now has conflicts. Could you fix it @jwadolowski? 🙏 |
what
TBD
why
references