fixup! infra: import aws into opentofu

This commit is contained in:
Guanran Wang 2024-09-28 00:30:20 +08:00
parent a5ab7d3093
commit cb5016aa15
Signed by: nyancat
GPG key ID: 91F97D9ED12639CF
3 changed files with 4 additions and 9 deletions

View file

@ -29,10 +29,7 @@
{ {
"fqdn": "string", "fqdn": "string",
"ipv4": "string", "ipv4": "string",
"ipv6": [ "ipv6": "string",
"list",
"string"
],
"tags": [ "tags": [
"list", "list",
"string" "string"
@ -59,9 +56,7 @@
"tyo0": { "tyo0": {
"fqdn": "tyo0.ny4.dev", "fqdn": "tyo0.ny4.dev",
"ipv4": "18.177.132.61", "ipv4": "18.177.132.61",
"ipv6": [ "ipv6": "2406:da14:f1f:2f00:e63f:64a0:7505:7534",
"2406:da14:f1f:2f00:e63f:64a0:7505:7534"
],
"tags": [ "tags": [
"aws", "aws",
"proxy" "proxy"

View file

@ -46,7 +46,7 @@ output "ipv4" {
} }
output "ipv6" { output "ipv6" {
value = aws_lightsail_instance.server.ipv6_addresses value = aws_lightsail_instance.server.ipv6_addresses[0]
} }
output "fqdn" { output "fqdn" {

File diff suppressed because one or more lines are too long