PJ Walstrom
10/15/2020, 8:01 PMroute53 = Route53(alias="", zone="<http://mydoama.org|mydoama.org>", certificate="_<http://e491cf4eb0d63b4d22903af02782d761.mydoama.org|e491cf4eb0d63b4d22903af02782d761.mydoama.org>")
but get the following error:
Error: No certificate for domain "<http://_e491cf4eb0d63b4d22903af02782d761.mydoama.org|_e491cf4eb0d63b4d22903af02782d761.mydoama.org>" found in this region
on <http://kotless-test.tf|kotless-test.tf> line 141, in data "aws_acm_certificate" "e491cf4eb0d63b4d22903af02782d761_mydoama_org":
141: data "aws_acm_certificate" "e491cf4eb0d63b4d22903af02782d761_mydoama_org" {
I have set up a certificate for us-east-1 (N. Virginia), so I just don't know what is wrong. I am a bit confused what the parameters to Route53 should be. I do not have an alias, and should zone be my domain? Does not sound like a "zone"? Using kotless 0.1.6TanVD
10/15/2020, 8:03 PMTanVD
10/16/2020, 3:43 PMPJ Walstrom
10/17/2020, 8:20 AMdata "aws_acm_certificate" "e491cf4eb0d63b4d22903af02782d761_mydoama_org" {
provider = aws.us_east_1
domain = "<http://_e491cf4eb0d63b4d22903af02782d761.mydoama.org|_e491cf4eb0d63b4d22903af02782d761.mydoama.org>"
statuses = ["ISSUED"]
}
TanVD
10/17/2020, 2:40 PMTanVD
10/17/2020, 2:41 PMTanVD
10/17/2020, 2:41 PM*.<http://waperon.org|waperon.org>
PJ Walstrom
10/17/2020, 3:45 PMError: Missing newline after argument
on <http://kotless-test.tf|kotless-test.tf> line 34, in resource "aws_api_gateway_domain_name" "kotless_test":
34: certificate_arn = data.aws_acm_certificate.*_mydoama_org.arn
TanVD
10/17/2020, 6:03 PMPJ Walstrom
10/17/2020, 8:41 PMError: Error creating API Gateway Domain Name: BadRequestException: The domain name you provided already exists.
on <http://kotless-test.tf|kotless-test.tf> line 32, in resource "aws_api_gateway_domain_name" "kotless_test":
32: resource "aws_api_gateway_domain_name" "kotless_test" {
Error: Error creating IAM Role kotless-static-role: EntityAlreadyExists: Role with name kotless-static-role already exists.
status code: 409, request id: 335cbb65-bc08-4750-8e6b-4b4a6bf7a84f
on <http://kotless-test.tf|kotless-test.tf> line 95, in resource "aws_iam_role" "kotless_static_role":
95: resource "aws_iam_role" "kotless_static_role" {
Error: Error creating IAM Role merged-0: EntityAlreadyExists: Role with name merged-0 already exists.
status code: 409, request id: e46f90af-1671-4472-8bcd-7c744980a0f9
on <http://kotless-test.tf|kotless-test.tf> line 100, in resource "aws_iam_role" "merged_0":
100: resource "aws_iam_role" "merged_0" {
PJ Walstrom
10/17/2020, 9:09 PMTanVD
10/18/2020, 9:22 AM