Skip to content

Commit

Permalink
Update infrastructure versions
Browse files Browse the repository at this point in the history
  • Loading branch information
klejejs committed Sep 27, 2024
1 parent 4485ecf commit 69cf57f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion infrastructure/certificate.tf
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ resource "cloudflare_record" "dns_instance_validation" {

zone_id = data.cloudflare_zone.dns_zone.id
name = each.value.name
value = trimsuffix(each.value.record, ".")
content = trimsuffix(each.value.record, ".")
type = each.value.type
ttl = 1
proxied = false
Expand Down
2 changes: 1 addition & 1 deletion infrastructure/region/network.tf
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ resource "aws_route_table" "public" {
resource "aws_eip" "nat" {
count = 2

vpc = true
domain = "vpc"

tags = {
Region = data.aws_region.current.name
Expand Down
7 changes: 4 additions & 3 deletions infrastructure/versions.tf
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
terraform {
required_version = "= 1.7.5"
required_version = "= 1.9.6"

required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 4.0"
version = "~> 5.0"
}

cloudflare = {
source = "cloudflare/cloudflare"
version = "~> 3.0"
version = "~> 4.0"
}
}
}

0 comments on commit 69cf57f

Please sign in to comment.