Error if aws_route53_query_log deleted outside of terraform - NoSuchQueryLoggingConfig #17954
Labels
bug
Addresses a defect in current functionality.
service/route53
Issues and PRs that pertain to the route53 service.
Milestone
Community Note
Terraform CLI and Terraform AWS Provider Version
Affected Resource(s)
Terraform Configuration Files
Debug Output
https://gist.github.com/jantman/6ee4a2973afe3795381bb45a0d29be4e#file-tf-aws-provider-r53-query-bug-txt-L694-L739
Expected Behavior
Terraform will show the query log resource as needing to be created.
Actual Behavior
Terraform exits with an error:
Steps to Reproduce
terraform apply
; note the ID of the query log that was createdterraform plan
orterraform apply
- either fails with an error when refreshing the resourceImportant Factoids
It looks to me like the provider isn't properly handling the
NoSuchQueryLoggingConfig
exception that the SDK is returning.The text was updated successfully, but these errors were encountered: