From 772434f5f92c6fdf9c747eae5626ea023c0f2930 Mon Sep 17 00:00:00 2001 From: Sai_prasanna Date: Fri, 16 Sep 2022 13:43:59 -0400 Subject: [PATCH] Code Cleanup --- iam.tf | 1 - main.tf | 3 +-- outputs.tf | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/iam.tf b/iam.tf index 24ae710..7e195ce 100644 --- a/iam.tf +++ b/iam.tf @@ -42,4 +42,3 @@ resource "aws_iam_role_policy_attachment" "attach-ecsServiceRole" { role = aws_iam_role.ecsServiceRole.name policy_arn = "arn:aws:iam::aws:policy/service-role/AmazonEC2ContainerServiceRole" } - diff --git a/main.tf b/main.tf index ae23824..5df14ec 100644 --- a/main.tf +++ b/main.tf @@ -13,7 +13,7 @@ data "aws_route53_zone" "zone" { data "aws_acm_certificate" "cert" { count = local.enable_custom_domain ? 1 : 0 - domain = trimsuffix(var.dns_zone, ".") + domain = trimsuffix(var.dns_zone, ".") statuses = ["ISSUED"] most_recent = true @@ -227,4 +227,3 @@ resource "aws_security_group" "lb-vault-sg" { cidr_blocks = ["0.0.0.0/0"] } } - diff --git a/outputs.tf b/outputs.tf index 0264ef4..ebf6813 100644 --- a/outputs.tf +++ b/outputs.tf @@ -9,4 +9,3 @@ output "custom_public_endpoint" { output "public_url" { value = local.vault_url } -