0
0
llucycodes42
The code creates a new resource called "aws_alb_listener_rule" with the following configuration. The "aws_alb_listener_rule" resource has the following configuration:
name: "rule-1"
description: "Rule for all ALBs"
source: "global"
target: "aws_alb_listener"
This code creates a new rule for all ALBs. The "rule-1" rule has the following configuration:
arn:aws_alb_listener:rule-1:123456
This rule specifies that the ALB should be listed as a target for the "aws_alb_listener" resource.
Shortcut: tf_aws_alb_listener_rule
resource "aws_alb_listener_rule" "${MyAWSResource}" {
}