aws_lb_listener_rule plugin crush on dynamically adding listener arn #42237
Labels
bug
Addresses a defect in current functionality.
crash
Results from or addresses a Terraform crash or kernel panic.
prioritized
Part of the maintainer teams immediate focus. To be addressed within the current quarter.
service/elbv2
Issues and PRs that pertain to the elbv2 service.
Terraform and AWS Provider Version
Affected Resource(s) or Data Source(s)
aws_lb_listener_rule
Expected Behavior
loop over the rules variable and create all the rules on the listener
Actual Behavior
plugin crush if the listener is created on the same apply.
if the rule is applied on a deferent apply then the listener then is works
Relevant Error/Panic Output
Sample Terraform Configuration
this is the module
Click to expand configuration
this is the variable:
Click to expand configuration
this is the init of the module:
Click to expand configuration
and this is the local
Click to expand configuration
Steps to Reproduce
create a listener,
create an array of rules as a variable.
try to create the rules for the listener right after the listener is created
Debug Logging
Click to expand log output
GenAI / LLM Assisted Development
n/a
Important Facts and References
No response
Would you like to implement a fix?
No
The text was updated successfully, but these errors were encountered: