Skip to content

Commit

Permalink
Code Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
SaiPrasannaGopularam committed Sep 16, 2022
1 parent d188c4f commit 772434f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion iam.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

3 changes: 1 addition & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -227,4 +227,3 @@ resource "aws_security_group" "lb-vault-sg" {
cidr_blocks = ["0.0.0.0/0"]
}
}

1 change: 0 additions & 1 deletion outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,3 @@ output "custom_public_endpoint" {
output "public_url" {
value = local.vault_url
}

0 comments on commit 772434f

Please sign in to comment.