Closed janfoe closed 3 years ago
There are some data loaded from the current deployment through the remote stae of the previous run.
The first run will always fail because there was a change between 0.11 and 0.12: https://github.com/hashicorp/terraform/issues/22770
The DATA-resource for AWS Lambda don't support filter and needs a fixed name.
https://www.terraform.io/docs/providers/aws/d/lambda_function.html#example-usage
There is a pending feature request for terraform: https://github.com/terraform-providers/terraform-provider-aws/issues/8302
I think I will have to investigate a problem which only occurs during the first run (The remote state of the application itself cannot be loaded, because it is not stored yet).
Terraform 0.12 creates an error, when the remote state is not existing.