Hey Pete,
Thankful for this and definitely gave it a shot.
After a while I encountered a problem
Error: Creating CloudWatch Log Group failed: OperationAbortedException: A conflicting operation is currently in progress against this resource. Please try again. '/aws/lambda/us-east-1.inexhaustiblelifestatictryouts_redirect_index_html'
│
│ with module.cloudfront.aws_cloudwatch_log_group.object_redirect_ue1_local,
│ on modules/cloudfront/main.tf line 14, in resource "aws_cloudwatch_log_group" "object_redirect_ue1_local":
│ 14: resource "aws_cloudwatch_log_group" "object_redirect_ue1_local" {
//
Now, this is after a clean assesment combo between terraform destroy and hand checking aws console if everything is clean.
I think this error is connected to version of terraform. Is there a proven version your code will run on?
Currently I have latest
Terraform v1.1.9
on linux_amd64
Hi @droshow - this is a known issue. I think it's a race condition when trying to manage the log group to set a retention policy. If you retry again it should work.
Some comments have been hidden by the post's author - find out more
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hey Pete,
Thankful for this and definitely gave it a shot.
After a while I encountered a problem
Error: Creating CloudWatch Log Group failed: OperationAbortedException: A conflicting operation is currently in progress against this resource. Please try again. '/aws/lambda/us-east-1.inexhaustiblelifestatictryouts_redirect_index_html'
│
│ with module.cloudfront.aws_cloudwatch_log_group.object_redirect_ue1_local,
│ on modules/cloudfront/main.tf line 14, in resource "aws_cloudwatch_log_group" "object_redirect_ue1_local":
│ 14: resource "aws_cloudwatch_log_group" "object_redirect_ue1_local" {
//
Now, this is after a clean assesment combo between terraform destroy and hand checking aws console if everything is clean.
I think this error is connected to version of terraform. Is there a proven version your code will run on?
Currently I have latest
Terraform v1.1.9
on linux_amd64
Hi @droshow - this is a known issue. I think it's a race condition when trying to manage the log group to set a retention policy. If you retry again it should work.