Skip to content

Conversation

@jamesiarmes
Copy link
Member

No description provided.

@jamesiarmes jamesiarmes requested a review from Copilot October 30, 2025 22:15
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds lifecycle management to the aws_cloudfront_vpc_origin resource to handle name changes by forcing resource replacement when the prefix changes. This prevents failures when the origin name is updated while the origin is in use.

  • Added a terraform_data resource to track the local.prefix value
  • Configured lifecycle rules on aws_cloudfront_vpc_origin to trigger replacement on prefix changes

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@jamesiarmes jamesiarmes merged commit 3345ddb into main Oct 30, 2025
10 checks passed
@jamesiarmes jamesiarmes deleted the alb-origin branch October 30, 2025 22:19
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.

2 participants