Provider produced inconsistent final plan : Update kreuzwerker/docker to version >3
filol opened this issue · 2 comments
filol commented
Description
While using this module i'm hiting a bug : Provider produced inconsistent final plan (see kreuzwerker/terraform-provider-docker#288) in the provider kreuzwerker/docker that is fixed in the version 3
There is my usage :
resource "null_resource" "copy_layer" {
provisioner "local-exec" {
command = "cp ${abspath(module.lambda_layer_utils.local_filename)} ${path.module}/../lambdas/xxx/utils-layer.zip"
}
}
module "docker_image_lambda" {
source = "terraform-aws-modules/lambda/aws//modules/docker-build"
version = "4.18.0"
create_ecr_repo = true
scan_on_push = true
ecr_repo = "xxx"
source_path = "${path.module}/../lambdas/xxx"
build_args = {
UTILBOX_LAYER = "utils-layer.zip"
}
}
Solution
Seem's to upgrade the provider kreuzwerker/docker
antonbabenko commented
This issue has been resolved in version 5.0.0 🎉
github-actions commented
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.