We regularly run the test suite of the Terraform AWS provider against LocalStack to test the compatibility of LocalStack to Terraform. To achieve that, we have a dedicated GitHub action on LocalStack, which executes the allow listed set of tests of hashicorp/terraform-provider-aws.