Repository navigation
feat: complete VPC route tables (#293), advance CFN drift detection (#290) - #301
Merged
Merged
Conversation
This was referenced Jun 2, 2026
…290) #290 — CloudFormation drift detection (PARTIAL, stays open): - Add MODIFIED status via cfnDriftComparators map; S3 VersioningConfiguration comparator implemented end-to-end (re-parses template + resolves intrinsics). Other drift-checkable types remain existence-only (bounded by what plugins persist). New CFNPropertyDiff + PropertyDifferences on CFNResourceDriftEntry. - Add DescribeStackResourceDrifts (with status filter), StartStackDriftDetection + DescribeStackDriftDetectionStatus (IN_PROGRESS -> COMPLETE), CFNDriftDetectionStatus. - Broader property-level MODIFIED (DynamoDB/SQS/SNS/Lambda/IAM) deferred; #290 left open. #293 — VPC route tables (COMPLETE): - Add ReplaceRoute + ReplaceRouteTableAssociation (fresh newAssociationId). - describeRouteTables honours vpc-id / association.subnet-id / association.route-table-id filters via extractEC2Filters. - ensureDefaultVPC creates+attaches a default IGW and adds 0.0.0.0/0 -> igw route to the default VPC main route table. Tests added; make test (race) + lint clean. Closes #293
scttfrdmn
force-pushed
the
feat/issues-290-293
branch
from
June 2, 2026 20:10
6495151 to
6800a5e
Compare
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
# Conflicts: # CHANGELOG.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#293 — VPC route tables (COMPLETE → closes #293)
ReplaceRouteandReplaceRouteTableAssociation(the latter returns a freshnewAssociationId, matching AWS).DescribeRouteTablesnow honoursvpc-id,association.subnet-id, andassociation.route-table-idfilters (reusingextractEC2Filters), not justRouteTableId.ensureDefaultVPCpreviously claimed (in a comment) to add an IGW route but created no internet gateway and only the local route. It now creates+attaches a default IGW and adds0.0.0.0/0 → igw-…to the main route table.#290 — CloudFormation drift detection (PARTIAL → #290 stays open)
cfnDriftComparatorsmap. The comparator re-parses the stored template and resolves intrinsics/params at drift-check time, then compares against live plugin state. The S3VersioningConfigurationcomparator is implemented and tested end-to-end (deploy a versioned bucket, change it outside CloudFormation, drift reportsMODIFIEDwith aPropertyDifferencesentry).DescribeStackResourceDrifts(optional status filter) andStartStackDriftDetection/DescribeStackDriftDetectionStatus(DETECTION_IN_PROGRESS → DETECTION_COMPLETE).CFNPropertyDiff,CFNDriftDetectionStatus;CFNResourceDriftEntrygainedPropertyDifferences; enum gainedMODIFIED.Why #290 stays open
Faithful property-level
MODIFIEDis bounded by what each plugin persists. Of the six drift-checkable types, only S3 versioning qualifies today (deploy path sets the property and it is independently readable). DynamoDB/SQS/SNS/Lambda/IAM remain existence-only (DELETED/IN_SYNC) — broadening requires a larger cross-plugin change to persist comparable properties. ThecfnDriftComparatorsmap makes adding types straightforward later. This PR advances #290 but does not fully satisfy its acceptance criteria, so it is left open (per the project's partial-ship release rule).Notes
make test(race) +make lintclean. AWS wire shapes verified against the official CloudFormation/EC2 API references.main.Closes #293