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

**URL:** <https://discuss.hashicorp.com/t/aws-route53-resolver-query-log-config-terraform-error-rslvr-00200/36732>\
**Category:** Terraform Providers\
**Tags:** tf-aws-provider-release\
**Created:** [March 8, 2022, 9:24am UTC](https://discuss.hashicorp.com/t/aws-route53-resolver-query-log-config-terraform-error-rslvr-00200/36732 "2022-03-08T09:24:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![petereskandar](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/petereskandar/32/26524_2.png) [@petereskandar](https://discuss.hashicorp.com/u/petereskandar)\
**Post date:** [March 8, 2022, 9:24am UTC](https://discuss.hashicorp.com/t/aws-route53-resolver-query-log-config-terraform-error-rslvr-00200/36732/1 "2022-03-08T09:24:18Z")

</div>

Hi all,

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

```auto
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](https://repost.aws/questions/QUe5dYTlHZQ9OmWWjshCdcaw/aws-route-53-resolver-query-log-config-terraform-error-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](https://repost.aws/questions/QUe5dYTlHZQ9OmWWjshCdcaw/aws-route-53-resolver-query-log-config-terraform-error-rslvr-00200)-------------------------------------- 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 ?

---

<div class="post-metadata">

**Author:** ![tbugfinder](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/tbugfinder/32/12689_2.png) [@tbugfinder](https://discuss.hashicorp.com/u/tbugfinder)\
**Post date:** [March 11, 2022, 10:31pm UTC](https://discuss.hashicorp.com/t/aws-route53-resolver-query-log-config-terraform-error-rslvr-00200/36732/2 "2022-03-11T22:31:07Z")

</div>

> [@petereskandar](#):
>
> `name = "/aws/route53/dns-logging"`

I’d try a simple name like `test1234`.
