Skip to content

[Bug]: Failure to show drift when ephemeral storage has been manually set on a lambda #40299

Open
@eldondevat

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

Metadata

Assignees

No one assigned

    Labels

    bugAddresses a defect in current functionality.needs-triageWaiting for first response or review from a maintainer.service/lambdaIssues and PRs that pertain to the lambda service.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions