JetBrains / JetBrains/kotless

Issue in the certificates definition with Route53

Open
#92 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
1.2k
Forks
54
PR merge metrics
No merged PRs in 30d

Description

Hi

After running this code in build.gradle.kts:

``` route53 = Route53("test", "test.com", "*.test.com") ```

The result after deploy in the build(.tf file) becomes:

```
data "aws_acm_certificate" "*_test_com" {
provider = aws.us_east_1
domain = "*.test.com"
statuses = ["ISSUED"]
}
```

Since you cannot define it like this ```*_test_com```, it gives back an error when I try to use the certificate arn

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the Route53("test", "test.com", "*.test.com") definition in build.gradle.kts and inspect the generated Terraform certificate data block in the build output. Reproduce a deploy and trace how the wildcard domain becomes the data block name; done means the generated name is valid and the certificate ARN can be used successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, kotlin
Domain
cloud, infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.