From 7a99602965797afdda662dcfea8dbec56fd2342f Mon Sep 17 00:00:00 2001 From: scootz Date: Tue, 15 Feb 2022 15:25:48 +0000 Subject: [PATCH] dns ttl --- dns.tf | 1 + main.tf | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/dns.tf b/dns.tf index 00d768e..ed73e1a 100644 --- a/dns.tf +++ b/dns.tf @@ -15,5 +15,6 @@ resource "digitalocean_record" "jam" { domain = "vereto.net" type = "A" name = "ejam" + ttl = 30 value = "${aws_instance.jamulus.public_ip}" } \ No newline at end of file diff --git a/main.tf b/main.tf index 9d87490..6cdfa8a 100644 --- a/main.tf +++ b/main.tf @@ -13,7 +13,7 @@ terraform { resource "aws_instance" "jamulus" { ami = "${data.aws_ami.image.id}" - instance_type = "c5.large" + instance_type = "t3.medium" key_name = "jamulus" security_groups = [ aws_security_group.ssh.name, aws_security_group.jamulus.name, aws_security_group.node-exporter.name ] # Add your own IP to this group