Closed acormier-maia closed 3 months ago
what is the use case for this?
I need to pass the domain name into Cloudfront. This way we have a single domain name which proxies S3, API Gateway. I am putting up a PR now.
This issue has been resolved in version 5.1.3 :tada:
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Description
When creating a websocket API, the output
stage_domain_name
contains thewss://
protocol and the stage_id prefix. This is due to the regex in the output value not matching thewss
protocol.⚠️ Note
Before you submit an issue, please perform the following first:
.terraform
directory (! ONLY if state is stored remotely, which hopefully you are following that best practice!):rm -rf .terraform/
terraform init
Versions
Module version [Required]: 5.0.0
Terraform version: Terraform v1.7.5
Provider version(s):
provider registry.terraform.io/hashicorp/aws v5.54.1
provider registry.terraform.io/hashicorp/external v2.3.3
provider registry.terraform.io/hashicorp/local v2.5.1
provider registry.terraform.io/hashicorp/null v3.2.2
provider registry.terraform.io/hashicorp/random v3.6.2
provider registry.terraform.io/integrations/github v6.2.3
Reproduction Code [Required]
Steps to reproduce the behavior:
Run Terraform apply,
Expected behavior
Should only be the domain name.
Actual behavior
The stage_domain_name output starts with the
wss://
protocol and ends with the stage_id.