AWS Route53 Resolver Query Log Config - Terraform - error [RSLVR-00200]

0

Hi all,

I'm trying to create a Route53 Resolver Query Log config with a CloudWatch log group using terraform as following :

resource "aws_cloudwatch_log_group" "dns-logging" {
  name = "/aws/route53/dns-logging"
  tags = var.tags
}

// route53 resolver query logging configuration
resource "aws_route53_resolver_query_log_config" "dns-logging" {
  name            = "default_dns_logging"
  destination_arn = aws_cloudwatch_log_group.dns-logging.arn
  tags = var.tags
}

but everytime I try to apply the above script I recieve the following error :

Error: error creating Route53 Resolver Query Log Config: InternalServiceErrorException: [RSLVR-00200] Internal Service Error, trace ID: "1-62271969-0b95ffb5546470185d40bf40"

on factories\dns-query-logging\dns-query-logging.main.tf line 20, in resource "aws_route53_resolver_query_log_config" "dns-logging": 20: resource "aws_route53_resolver_query_log_config" "dns-logging" {

setting the DEBUG mode for terraform, I found out that the AWS SDK is retuning back this :

---[ RESPONSE ]-------------------------------------- HTTP/2.0 400 Bad Request Content-Length: 142 Content-Type: application/x-amz-json-1.1 Date: Tue, 08 Mar 2022 09:05:25 GMT X-Amzn-Requestid: b3328c9d-c455-47a3-94f1-6c2ed18f8b52

but actually everything seems to be fine with the request.

anyone could help ?

답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠