-
-
Notifications
You must be signed in to change notification settings - Fork 732
Closed
Description
$ terraform -v
Terraform v0.14.3
+ provider registry.terraform.io/hashicorp/aws v3.20.0
+ provider registry.terraform.io/hashicorp/external v2.0.0
+ provider registry.terraform.io/hashicorp/local v2.0.0
+ provider registry.terraform.io/hashicorp/null v3.0.0
+ provider registry.terraform.io/hashicorp/random v3.0.0
Module code:
module "lambda" {
source = "terraform-aws-modules/lambda/aws"
version = "1.31.0"
function_name = "${var.application}-${var.environment}-docker-lambda"
create_package = false
publish = true
image_uri = "${var.ecr}/${var.image_name}:${var.image_tag}"
package_type = "Image"
attach_cloudwatch_logs_policy = true
cloudwatch_logs_retention_in_days = var.cloudwatch_logs_retention_in_days
memory_size = var.memory_size
reserved_concurrent_executions = var.reserved_concurrent_executions
timeout = var.timeout
vpc_subnet_ids = var.vpc_subnet_ids
vpc_security_group_ids = var.vpc_security_group_ids
attach_network_policy = true
tags = var.tags
}
Error log:
module.docker_lambda.module.lambda.aws_lambda_function.this[0]: Modifying... [id=lambdas-test-docker-lambda]
Error: Error publishing Lambda Function (lambdas-test-docker-lambda) version: ResourceConflictException: The operation cannot be performed at this time. An update is in progress for resource: arn:aws:lambda:us-east-1:0000000000:function:lambdas-test-docker-lambda
{
RespMetadata: {
StatusCode: 409,
RequestID: "7f03a622-e059-46f1-804b-a1975f753eb5"
},
Message_: "The operation cannot be performed at this time. An update is in progress for resource: arn:aws:lambda:us-east-1:0000000000:function:lambdas-test-docker-lambda",
Type: "User"
}
Workaround - run terragrunt apply
again after update will be done.
samkirton, mauriciocm9, ericbisme and dougludlow
Metadata
Metadata
Assignees
Labels
No labels