JetBrains / kotless

Kotlin Serverless Framework
Apache License 2.0
1.15k stars 57 forks source link

Issue in the certificates definition with Route53 #92

Open Lumene98 opened 3 years ago

Lumene98 commented 3 years ago

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