Skip to content

Support for origin group#52

Merged
vijay-stephen merged 6 commits intomainfrom
feature/origin-group
Jan 22, 2026
Merged

Support for origin group#52
vijay-stephen merged 6 commits intomainfrom
feature/origin-group

Conversation

@vijay-stephen
Copy link
Collaborator

@vijay-stephen vijay-stephen commented Nov 10, 2025

Description

Added Additional Examples

Related Issue

Checklist

Please ensure that the following steps are completed before submitting the pull request:

  • Code follows the Terraform best practices and style guidelines.
  • Changes are appropriately documented, including any necessary updates to README or other documentation files.
  • Unit tests have been added or updated to cover the changes introduced by this pull request.
  • Changes have been tested locally and verified to work as expected.
  • The code has been reviewed to ensure it aligns with the project's goals and standards.
  • Dependencies and backward compatibility have been considered and addressed if applicable.

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Intermediate change (work in progress)

Testing Instructions

NA

Screenshots

NA

Additional Notes

NA

@sonarqubecloud
Copy link

SonarQube reviewer guide

Summary: CloudFront module upgraded to AWS provider v6.5+ with origin groups for DR, refactored logging/S3 bucket configuration, and updated module sources.

Review Focus:

  • AWS provider upgrade from v4 to v6.5+ may introduce breaking changes in CloudFront and S3 resources
  • Origin groups implementation for failover support with configurable status codes
  • Refactored logging configuration from enable_logging boolean to structured logging_config object
  • S3 bucket policy management now controlled per-origin via manage_bucket_policy flag (critical for cross-region scenarios)
  • Module source changes from git URLs to Terraform registry sources (kms, s3)

Start review at: main.tf. This contains the core CloudFront distribution logic including the new origin groups dynamic block and significant changes to S3 bucket policy management that affect how buckets are referenced and policies are applied.

💬 Please send your feedback

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

@vijay-stephen vijay-stephen merged commit 171646c into main Jan 22, 2026
4 checks passed
@vijay-stephen vijay-stephen deleted the feature/origin-group branch January 22, 2026 08:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants