Provides a Service Discovery Public DNS Namespace resource.
resource "aws_service_discovery_public_dns_namespace" "example" {
name = "hoge.example.com"
description = "example"
}
The following arguments are supported:
name - (Required) The name of the namespace. description - (Optional) The description that you specify for the namespace when you create it. In addition to all arguments above, the following attributes are exported:
id - The ID of a namespace. arn - The ARN that Amazon Route 53 assigns to the namespace when you create it. hosted_zone - The ID for the hosted zone that Amazon Route 53 creates when you create a namespace. Service Discovery Public DNS Namespace can be imported using the namespace ID, e.g.
$ terraform import aws_service_discovery_public_dns_namespace.example 0123456789
© 2018 HashiCorpLicensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/aws/r/service_discovery_public_dns_namespace.html