bridgecrewio/terraform-aws-session-manager

first initialization of ssm with s3 ends with a conflict

Opened this issue · 0 comments

First initialization of ssm with s3 bucket, you get a conflict operation. after second run it works.

Error: error creating S3 Lifecycle Configuration for bucket (my-session-logs-20221126162031752900000001): OperationAborted: A conflicting conditional operation is currently in progress against this resource. Please try again. │ status code: 409, request id: E2579P1ENNHT888H, host id: io+NlPIsZtlKWaFLzbC80EP7mcH34oPzeFmC+kLvmKuXgxdVqP69Z8ycH5bQbdTnGhkkCfnaHhk= │ │ with module.ssm.aws_s3_bucket_lifecycle_configuration.session_logs_bucket, │ on .terraform/modules/ssm/aws_s3_bucket.session_logs_bucket.tf line 39, in resource "aws_s3_bucket_lifecycle_configuration" "session_logs_bucket": │ 39: resource "aws_s3_bucket_lifecycle_configuration" "session_logs_bucket" {

I will work on a solution for that.