From c2f514fd1ff44f50bdda7faf38212726c5a8266c Mon Sep 17 00:00:00 2001 From: Jack Date: Sat, 14 Oct 2023 15:29:38 +0800 Subject: [PATCH] self-review --- hashicorp/instances/aws-nexusgraph.tf | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/hashicorp/instances/aws-nexusgraph.tf b/hashicorp/instances/aws-nexusgraph.tf index 8568391..ae1b66d 100644 --- a/hashicorp/instances/aws-nexusgraph.tf +++ b/hashicorp/instances/aws-nexusgraph.tf @@ -33,11 +33,11 @@ resource "aws_instance" "paion-data-nexusgraph-theresa" { user_data = "${data.template_file.base-init.rendered}" } -#resource "aws_route53_record" "theresa-nexusgraph-com" { -# zone_id = var.nexusgraph_zone_id -# name = "theresa.nexusgraph.com" -# type = "A" -# ttl = 300 -# records = [aws_instance.paion-data-nexusgraph-theresa.public_ip] -# allow_overwrite = true -#} +resource "aws_route53_record" "theresa-nexusgraph-com" { + zone_id = var.nexusgraph_zone_id + name = "theresa.nexusgraph.com" + type = "A" + ttl = 300 + records = [aws_instance.paion-data-nexusgraph-theresa.public_ip] + allow_overwrite = true +}