[Bug]: Failure to show drift when ephemeral storage has been manually set on a lambda #40299
Open
Description
Terraform Core Version
1.9.8
AWS Provider Version
5.69.0
Affected Resource(s)
lambda_function
Expected Behavior
When the lambda function is manually assigned additional ephemeral storage and the optional ephemeral_storage setting is not present on the resource, terraform should recognize that the lambda has non-default ephemeral storage
Actual Behavior
When the lambda function is manually assigned additional ephemeral storage and the optional ephemeral_storage setting is not present on the resource, terraform should recognize that the lambda has non-default ephemeral storage.
Terraform Configuration Files
resource "aws_lambda_function" "bug_report" {
filename = "lambda.zip"
function_name = "bug_report"
role = aws_iam_role.process_lambda_role.arn
handler = "bug_report.handle_event"
runtime = "python3.8"
}
Steps to Reproduce
terraform apply
update ephemeral storage value via console
terraform apply
-> no changes
References
May be related to #29253
Would you like to implement a fix?
Maybe