Creates and manages IonosCloud Application Load Balancer.
Manages an Application Load Balancer on IonosCloud.
The following arguments are supported:
datacenter_id
- (Required)[string] ID of the datacenter.
name
- (Required)[string] The name of the Application Load Balancer.
listener_lan
- (Required)[int] ID of the listening (inbound) LAN.
ips
- (Optional)[set] Collection of the Application Load Balancer IP addresses. (Inbound and outbound) IPs of the listenerLan are customer-reserved public IPs for the public Load Balancers, and private IPs for the private Load Balancers.
target_lan
- (Required)[int] ID of the balanced private target LAN (outbound).
lb_private_ips
- (Optional)[set] Collection of private IP addresses with the subnet mask of the Application Load Balancer. IPs must contain valid a subnet mask. If no IP is provided, the system will generate an IP with /24 subnet.
central_logging
- (Optional)[bool] Turn logging on and off for this product. Default value is 'false'.
logging_lormat
- (Optional)[string] Specifies the format of the logs.
flowlog
- (Optional)[list] Only 1 flow log can be configured. Only the name field can change as part of an update. Flow logs holistically capture network information such as source and destination IP addresses, source and destination ports, number of packets, amount of bytes, the start and end time of the recording, and the type of protocol – and log the extent to which your instances are being accessed.
action
- (Required)[string] Specifies the action to be taken when the rule is matched. Possible values: ACCEPTED, REJECTED, ALL. Immutable, forces re-creation.
bucket
- (Required)[string] Specifies the IONOS Object Storage bucket where the flow log data will be stored. The bucket must exist. Immutable, forces re-creation.
direction
- (Required)[string] Specifies the traffic direction pattern. Valid values: INGRESS, EGRESS, BIDIRECTIONAL. Immutable, forces re-creation.
name
- (Required)[string] Specifies the name of the flow log.
⚠️ Note:: Removing the flowlog
forces re-creation of the application load balancer resource.
Resource Application Load Balancer can be imported using the resource id
and datacenter id
, e.g.