Open r-heimann opened 1 year ago
Confirmed. (In eu-west-1 & us-east-1)
template
Type: AWS::EFS::FileSystem
Properties:
Encrypted: true
FileSystemTags:
- Key: Name
Value: EfsStack/EfsNestedStack/Efs
UpdateReplacePolicy: Delete
DeletionPolicy: Delete
IN_SYNC
{
"Encrypted": true,
"FileSystemTags": [
{
"Value": "EfsStack/EfsNestedStack/Efs",
"Key": "Name"
}
]
}
{
"Encrypted": true,
"FileSystemTags": [
{
"Key": "Name",
"Value": "EfsStack/EfsNestedStack/Efs"
}
]
}
Seems like the read handler is returning "ThroughputMode" property...
aws efs describe-file-systems --file-system-id fs-xxxxxxxxxxxxxxxxxxxx --output json > describe_file_system_dub.json
{
"FileSystems": [
{
"OwnerId": "000000000000",
"CreationToken": "Efs9E8BF36B-xxxxxxxxxx",
"FileSystemId": "fs-xxxxxxxxxxxxxxxxxxxx",
"FileSystemArn": "arn:aws:elasticfilesystem:eu-west-1:000000000000:file-system/fs-xxxxxxxxxxxxxxxxxxxx",
"CreationTime": "2023-10-03T12:31:02+02:00",
"LifeCycleState": "available",
"Name": "EfsStack/EfsNestedStack/Efs",
"NumberOfMountTargets": 3,
"SizeInBytes": {
"Value": 6144,
"Timestamp": "2023-10-03T14:24:41+02:00",
"ValueInIA": 0,
"ValueInStandard": 6144
},
"PerformanceMode": "generalPurpose",
"Encrypted": true,
"KmsKeyId": "arn:aws:kms:eu-west-1:000000000000:key/50aa0ccc-df61-49e7-9e55-xxxxxxxxxxxxxxx",
"ThroughputMode": "elastic",
"Tags": [
{
"Key": "BelongsTo",
"Value": "SeedyKay"
},
{
"Key": "Name",
"Value": "EfsStack/EfsNestedStack/Efs"
}
]
}
]
}
Name of the resource
AWS::EFS::FileSystem
Issue Description
When you create a
AWS::EFS::FileSystem
using CloudFormationThe default
ThroughputMode
will bebursting
. Changingbursting
toelastic
in the AWS GUI will result in the CloudFormation Stack to be drifted, but this is not recognized by Drift Detection and the Resource is showing up asResource drift status: IN_SYNC
Expected Behavior
Drift Detection of
AWS::EFS::FileSystem
is working for theThroughputMode
.Observed Behavior
It's not working.
Test Cases
ThroughputMode
to a different value in the AWS GUI