Expanding aws_lambda_event_source_mapping cannot apply new event_source_arn string #20092
Labels
bug
Addresses a defect in current functionality.
service/dynamodb
Issues and PRs that pertain to the dynamodb service.
service/lambda
Issues and PRs that pertain to the lambda service.
Milestone
Community Note
Terraform CLI and Terraform AWS Provider Version
Terraform v0.14.11
hashicorp/aws v3.48.0
Affected Resource(s)
Terraform Configuration Files
Debug Output
Expected Behavior
Should create a DynamoDB table with streams enabled and a Lambda function which source data is the DynamoDB stream
Actual Behavior
I get the following message:
Steps to Reproduce
terraform apply
Important Factoids
I was able to apply this code during the next (second) run w/o any issues. Seems Lambda is published during the first run and event_source_arn is not, on the second run event_source_arn is able to be set and everything is fine.
Plan operation is ok during both runs.
The text was updated successfully, but these errors were encountered: