hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.7k stars 9.07k forks source link

Add wait_for_deployment attribute in aws_cognito_user_pool_domain #11665

Open npellegrin opened 4 years ago

npellegrin commented 4 years ago

Community Note

Description

Creating aws_cognito_user_pool_domain with your own custom domain currently took a lot of time (one or two hours). I would like to have an option similar to the wait_for_deployment of the cloudfront_distribution resource, allowing to continue without waiting for the domain.

New or Affected Resource(s)

Potential Terraform Configuration

resource "aws_cognito_user_pool_domain" "main" {
  domain          = "example-domain.example.com"
  certificate_arn = "${aws_acm_certificate.cert.arn}"
  user_pool_id    = "${aws_cognito_user_pool.example.id}"

 wait_for_deployment = false
}
npellegrin commented 1 year ago

Creating a Cognito custom domain is now faster and only took a few minutes to be created. Consequently this feature request is now less useful than it have been at the creation of this issue.