Application load balancer
akamai_cloudlets_application_load_balancer
Get details about an application load balancer configuration for a given policy version.
data "akamai_cloudlets_application_load_balancer" "my_alb" {
origin_id = "my_alb"
}
Changes to Outputs:
+ my_alb = {
+ balancing_type = "PERFORMANCE"
+ created_by = "jsmith"
+ created_date = "2018-10-16T07:21:36.857Z"
+ data_centers = [
+ {
+ city = "London"
+ cloud_server_host_header_override = true
+ cloud_service = true
+ continent = "EU"
+ country = "GB"
+ hostname = "my_alb.com"
+ latitude = 51.1657
+ liveness_hosts = []
+ longitude = 10.4515
+ origin_id = "Origin1"
+ percent = 50
+ state_or_province = ""
},
+ {
+ city = "dallas"
+ cloud_server_host_header_override = true
+ cloud_service = true
+ continent = "NA"
+ country = "US"
+ hostname = "my_alb.com"
+ latitude = 51.1657
+ liveness_hosts = []
+ longitude = 10.4515
+ origin_id = "Origin2"
+ percent = 50
+ state_or_province = ""
},
]
+ deleted = false
+ description = "Initial ALB setup."
+ id = "my_alb"
+ immutable = false
+ last_modified_by = "jsmith"
+ last_modified_date = "2023-12-07T07:33:19.022Z"
+ liveness_settings = []
+ origin_id = "my_alb"
+ type = "APPLICATION_LOAD_BALANCER"
+ version = 2
+ warnings = jsonencode()
}
Arguments
Pass an origin ID in the body of the data block to get its details.
Argument | Required | Description |
---|---|---|
origin_id | ✔ | A user created ID that represents a data center for an application load balancer implementation. Alphanumeric characters and underscores only, and the first and last characters must be alphanumeric.Note:. The application load balancer cloudlet only supports a setting of |
version | The version number of a load balancing configuration. |
Attributes
Returned are details about your load balancer configuration.
Attribute | Description |
---|---|
description | A human-readable description about your load balancing configuration. |
type | The type of conditional origin. The application load balancer cloudlet only supports APPLICATION_LOAD_BALANCER . |
balancing_type | The type of load balancing. Value is one of WEIGHTED or PERFORMANCE . |
created_by | The name of the user who created the load balancing configuration. |
created_date | The ISO 8601 formatted create date for a load balancer configuration. |
deleted | Whether the conditional origin version has been deleted. If false , you can use the version again. |
immutable | Whether you can edit the load balancing version. The default is false but automatically becomes true with the first activation of a load balancer configuration version. |
last_modified_by | The user who last modified the load balancing configuration. |
last_modified_date | The ISO 8601 formatted last modification date for a load balancer configuration. |
warnings | A list of warnings that occurred during the load balancer configuration activation. |
data_centers | The conditional origins used as data centers in an application load balancer implementation. Contains:
|
liveness_settings | Health details for a load balanced data center. |
host_header | The host header for a liveness HTTP request. |
additional_headers | The additional case-insensitive HTTP header names included mapped to the liveness testing requests. |
interval | The frequency of liveness tests in seconds. |
path | The path to the test object used for liveness testing. |
peer_certificate_verification | Whether to validate the origin certificate for an HTTPS request. |
port | The port for the test object. The default port is 80 for HTTP and 443 for HTTPS. |
protocol | The protocol or scheme for the database, either HTTP or HTTPS . |
request_string | The request used for TCP and TCPS tests. |
response_string | The response used for TCP and TCPS tests. |
status_3xx_failure | Whether the the liveness test fails if a request returns a 3xx redirect status code. |
status_4xx_failure | Whether the liveness test fails if a request returns a 4xx client error status code. |
status_5xx_failure | Whether the liveness test fails if a request returns a 5xx server error status code. |
timeout | The number of seconds the system waits before failing the liveness test. |
Updated 10 months ago