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

View file

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

File diff suppressed because one or more lines are too long