We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I execute the command terraform apply, I always get this error:
│ Error: setting SQS Queue (https://sqs.us-east-1.amazonaws.com/637423392949/internal_message_bus) attribute (Policy): OverLimit: Submitted policy is over max allowed size. │ status code: 403, request id: fb5b99ab-69cd-5ce5-a097-f9d18526b9d9 │ │ with module.challenge_middle[0].aws_sqs_queue_policy.schedule-event-rce-policy, │ on challenges/Middle/middle.tf line 162, in resource "aws_sqs_queue_policy" "schedule-event-rce-policy": │ 162: resource "aws_sqs_queue_policy" "schedule-event-rce-policy" { │
The text was updated successfully, but these errors were encountered:
resource "aws_sqs_queue_policy" "schedule-event-rce-policy" { queue_url = aws_sqs_queue.internal_message_bus.id
policy = jsonencode({ Version = "2012-10-17", Id = "sqspolicy", Statement = [ { Sid = "First", Effect = "Allow", Principal = "*", Action = ["sqs:SendMessage", "sqs:ReceiveMessage"], Resource = aws_sqs_queue.internal_message_bus.arn, Condition = { IpAddress = { "aws:SourceIp" = "${var.user_ip}/32" } } } ] }) }
here is the error source as pointed by terraform
Sorry, something went wrong.
No branches or pull requests
When I execute the command terraform apply, I always get this error:
│ Error: setting SQS Queue (https://sqs.us-east-1.amazonaws.com/637423392949/internal_message_bus) attribute (Policy): OverLimit: Submitted policy is over max allowed size.
│ status code: 403, request id: fb5b99ab-69cd-5ce5-a097-f9d18526b9d9
│
│ with module.challenge_middle[0].aws_sqs_queue_policy.schedule-event-rce-policy,
│ on challenges/Middle/middle.tf line 162, in resource "aws_sqs_queue_policy" "schedule-event-rce-policy":
│ 162: resource "aws_sqs_queue_policy" "schedule-event-rce-policy" {
│
The text was updated successfully, but these errors were encountered: