Skip to content

[Bug]: Verified Access Endpoint - Timeout #39739

@angelov-g

Description

@angelov-g

Terraform Core Version

1.3.9

AWS Provider Version

5.72.0

Affected Resource(s)

aws_verifiedaccess_endpoint

Expected Behavior

The resource should be created.

Actual Behavior

A timeout error occurs during the apply phase.

Relevant Error/Panic Output Snippet

Error: waiting for Verified Access Endpoint (vae-XXXXXXXXXXXXXXXXX) create: timeout while waiting for state to become 'active' (last state: 'pending', timeout: 30m0s)

Terraform Configuration Files

locals {
  description = "Managed by Terraform"
}
.
.
.
resource "aws_verifiedaccess_endpoint" "this" {
  application_domain     = var.application_domain
  attachment_type        = "vpc"
  description            = local.description
  domain_certificate_arn = var.domain_certificate_arn
  endpoint_domain_prefix = "va"
  endpoint_type          = "load-balancer"
  load_balancer_options {
    load_balancer_arn = var.lb_arn
    port              = 443
    protocol          = "https"
    subnet_ids        = var.subnet_ids
  }
  security_group_ids       = [var.lb_security_group_id]
  verified_access_group_id = aws_verifiedaccess_group.this.id

  tags = {
    Name = var.endpoint_name_tag
  }

  timeouts {
    create = "30m"
  }
}

These are resources within a module. Every input which is a var.* is defined when calling the module.

Steps to Reproduce

run terraform apply after configuring aws_verifiedaccess_endpoint

Debug Output

No response

Panic Output

No panic output

Important Factoids

Region is us-east-2
I've confirmed that the resource is created with active state using AWS console after 15-20 minutes

References

n/a

Would you like to implement a fix?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugAddresses a defect in current functionality.service/verifiedaccessIssues and PRs that pertain to the verifiedaccess service.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions