Skip to content

Upgrading terraform-aws-lambda past version v0.21.0 #685

Answered by Etiene
erictompkins asked this question in Help
Discussion options

You must be logged in to vote

Hi @erictompkins, could you try this and let me know if it will apply without errors?

Replace YOUR_FUNCTION_NAME below. You might also have to replace module.lambda_edge according to how your module is named. If you have more "log group already exists" errors, you can follow this pattern to import the remaining log groups according to the error message you get.

terraform import 'module.lambda_edge.module.log_groups.module.lambda_edge_log_group_us_east_1_direct.aws_cloudwatch_log_group.log_aggregation[0]' /aws/lambda/YOUR_FUNCTION_NAME

Replies: 5 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@Etiene
Comment options

Comment options

You must be logged in to vote
1 reply
@Etiene
Comment options

Comment options

You must be logged in to vote
1 reply
@Etiene
Comment options

Comment options

You must be logged in to vote
2 replies
@Etiene
Comment options

@erictompkins
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by Etiene
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment