Provides information about a Global Accelerator accelerator.
variable "accelerator_arn" {
type = string
default = ""
}
variable "accelerator_name" {
type = string
default = ""
}
data "aws_globalaccelerator_accelerator" "example" {
arn = var.accelerator_arn
name = var.accelerator_name
}
This data source supports the following arguments:
arn
- (Optional) Full ARN of the Global Accelerator.name
- (Optional) Unique name of the Global Accelerator.See the aws_globalaccelerator_accelerator
resource for details on the
returned attributes - they are identical.