Provides information about a Load Balancer Trust Store.
This data source can prove useful when a module accepts an LB Trust Store as an input variable and needs to know its attributes. It can also be used to get the ARN of an LB Trust Store for use in other resources, given LB Trust Store name.
variable "lb_ts_arn" {
type = string
default = ""
}
variable "lb_ts_name" {
type = string
default = ""
}
data "aws_lb_trust_store" "test" {
arn = var.lb_ts_arn
name = var.lb_ts_name
}
This data source supports the following arguments:
arn
- (Optional) Full ARN of the trust store.name
- (Optional) Unique name of the trust store.See the LB Trust Store Resource for details on the returned attributes - they are identical.
read
- (Default 20m
)