Skip to content

Commit

Permalink
Merge branch 'main' into update_readme
Browse files Browse the repository at this point in the history
  • Loading branch information
dwilkie committed Nov 12, 2024
2 parents c397e72 + 1cdd356 commit 1a1c8e6
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 35 deletions.
4 changes: 4 additions & 0 deletions infrastructure/somleng/core/route53.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
resource "aws_route53domains_registered_domain" "somleng_org" {
domain_name = "somleng.org"
}

resource "aws_route53_zone" "somleng_org" {
name = "somleng.org."
}
Expand Down
46 changes: 16 additions & 30 deletions infrastructure/somleng/somleng.com/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion infrastructure/somleng/somleng.com/chime.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ resource "aws_chime_voice_connector" "this" {
}

resource "aws_chime_voice_connector_termination" "this" {
cidr_allow_list = ["13.250.230.15/32"]
cidr_allow_list = ["13.250.230.15/32", "52.4.242.134/32"]
calling_regions = ["KH"]
voice_connector_id = aws_chime_voice_connector.this.id

provider = aws.us-east-1
}

resource "aws_chime_voice_connector_origination" "this" {
Expand All @@ -21,9 +23,12 @@ resource "aws_chime_voice_connector_origination" "this" {
priority = 1
weight = 1
}

provider = aws.us-east-1
}

resource "aws_chime_voice_connector_logging" "this" {
enable_sip_logs = true
voice_connector_id = aws_chime_voice_connector.this.id
provider = aws.us-east-1
}
8 changes: 6 additions & 2 deletions infrastructure/somleng/somleng.com/route53.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
resource "aws_route53domains_registered_domain" "somleng_com" {
domain_name = "somleng.com"
}

resource "aws_route53_zone" "somleng_com" {
name = "somleng.com"
}
Expand All @@ -8,7 +12,7 @@ resource "aws_route53_record" "somleng_com" {
type = "A"

alias {
name = aws_s3_bucket.somleng_com.website_domain
name = aws_s3_bucket_website_configuration.somleng_com.website_domain
zone_id = aws_s3_bucket.somleng_com.hosted_zone_id
evaluate_target_health = true
}
Expand All @@ -20,7 +24,7 @@ resource "aws_route53_record" "www_somleng_com" {
type = "A"

alias {
name = aws_s3_bucket.www_somleng_com.website_domain
name = aws_s3_bucket_website_configuration.www_somleng_com.website_domain
zone_id = aws_s3_bucket.www_somleng_com.hosted_zone_id
evaluate_target_health = true
}
Expand Down
4 changes: 2 additions & 2 deletions infrastructure/somleng/somleng.com/s3.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ resource "aws_s3_bucket_website_configuration" "somleng_com" {

redirect_all_requests_to {
host_name = "www.somleng.org"
protocol = "https"
protocol = "https"
}
}

Expand All @@ -20,6 +20,6 @@ resource "aws_s3_bucket_website_configuration" "www_somleng_com" {

redirect_all_requests_to {
host_name = "www.somleng.org"
protocol = "https"
protocol = "https"
}
}

0 comments on commit 1a1c8e6

Please sign in to comment.