cloudformation-coverage-roadmap
cloudformation-coverage-roadmap copied to clipboard
AWS::EC2::VPC - False-positive drift on EnableDnsHostnames and EnableDnsSupport when using Git Sync
trafficstars
Name of the resource
AWS::EC2::VPC
Resource Name
No response
Issue Description
EDIT (2024-09-28): The issue only occurs if Git Sync is used.
AWS is detecting a drift on a newly created VPC with EnableDnsHostnames and EnableDnsSupport set to true.
The "Actual" output is missing both values.
Expected Behavior
No drift should be detected.
Observed Behavior
Here is the drift report:
This is inconsistent with what is displayed in the VPC details:
Test Cases
EDIT (2024-09-28): The following template only reproduces the issue if the deployment is done with Git Sync.
Here is an extract of the provided template:
AWSTemplateFormatVersion: '2010-09-09'
Description: stack template
Parameters:
VpcCidrBlock:
Type: String
Resources:
VPC:
Properties:
CidrBlock: !Ref 'VpcCidrBlock'
EnableDnsHostnames: true
EnableDnsSupport: true
Type: AWS::EC2::VPC
Other Details
No response