Use this data source to get DNS AAAA records of the host.
# DO NOT EDIT. Code generated by 'cdktf convert' - Please report bugs at https://cdk.tf/bug
from constructs import Construct
from cdktf import TerraformOutput, Fn, Token, TerraformStack
#
# Provider bindings are generated by running `cdktf get`.
# See https://cdk.tf/provider-generation for more details.
#
from imports.dns.data_dns_aaaa_record_set import DataDnsAaaaRecordSet
class MyConvertedCode(TerraformStack):
def __init__(self, scope, name):
super().__init__(scope, name)
google = DataDnsAaaaRecordSet(self, "google",
host="google.com"
)
TerraformOutput(self, "google_addrs",
value=Fn.join(",", Token.as_list(google.addrs))
)
host
(String) Host to look up.addrs
(List of String) A list of IP addresses. IP addresses are always sorted to avoid constant changing plans.id
(String) Always set to the host.