Skip to content

Commit

Permalink
infra: move certificate to us-east-1
Browse files Browse the repository at this point in the history
  • Loading branch information
andreiio committed Dec 4, 2023
1 parent 9268ec5 commit 46bfa63
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions terraform/acm.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
resource "aws_acm_certificate" "main" {
provider = aws.acm
validation_method = "DNS"
domain_name = local.frontend_domain
subject_alternative_names = [
Expand Down
12 changes: 12 additions & 0 deletions terraform/providers.tf
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,15 @@ provider "aws" {
}
}
}

provider "aws" {
alias = "acm"
region = "us-east-1"

default_tags {
tags = {
app = "vic"
env = var.env
}
}
}

0 comments on commit 46bfa63

Please sign in to comment.