Skip to content

Commit

Permalink
feat: Add dev environment (#7)
Browse files Browse the repository at this point in the history
* feat: add dev environment

* chore: update required tf version
  • Loading branch information
bcheidemann committed Jun 25, 2023
1 parent 9c86a41 commit 7ad5496
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion terraform/providers.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = "~> 1.4.0"
required_version = "~> 1.5.1"

required_providers {
aws = {
Expand Down
8 changes: 8 additions & 0 deletions terraform/r53.tf
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,11 @@ resource "aws_route53_record" "catlord_server" {
ttl = 300
records = [each.value.ip]
}

resource "aws_route53_record" "catlord_server_dev" {
zone_id = aws_route53_zone.catlord.zone_id
name = "dev.catlord.co.uk"
type = "CNAME"
ttl = 300
records = ["acornpi.duckdns.org"]
}

0 comments on commit 7ad5496

Please sign in to comment.