Skip to content
This repository was archived by the owner on Mar 23, 2026. It is now read-only.
This repository was archived by the owner on Mar 23, 2026. It is now read-only.

bug: terraform aws_acm_certificate data source runs indefinitely #8156

@tiagoposse

Description

@tiagoposse

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When attempting to retrieve an ACM certificate using the terraform data source "aws_acm_certificate", the certificate is never read and the call runs indefinitely until cancelled.

Expected Behavior

The certificate is retrieved and the terraform plan executes.

How are you starting LocalStack?

With a docker run command

Steps To Reproduce

How are you starting localstack (e.g., bin/localstack command, arguments, or docker-compose.yml)

docker run localstack/localstack-pro:2.0.1 ...

Terraform code

The following terraform module is sufficient to reproduce this issue:

resource "aws_route53_zone" "this" {
  name = "example.com"
}

module "acm" {
  source  = "terraform-aws-modules/acm/aws"
  version = "4.3.2"

  domain_name         = "*.example.com"
  wait_for_validation = true
  zone_id             = aws_route53_zone.this.zone_id
}

data "aws_acm_certificate" "this" {
  depends_on = [module.acm]

  domain = "*.example.com"
}

Environment

- Docker
- LocalStack: 2.0.1

Anything else?

terraform_exec.txt
localstack_log.txt

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions