cycloidio / terracognita

Reads from existing public and private cloud providers (reverse Terraform) and generates your infrastructure as code on Terraform configuration
MIT License
2.2k stars 164 forks source link

`aws_lb_listener_rule` and `aws_alb_listener_rule`: An argument named "condition" is not expected here. Did you mean to define a block of type "condition"? #375

Closed xescugc closed 1 year ago

xescugc commented 1 year ago

General information:

Describe the bug:

When importing a aws_lb_listener_rule we get the following error

│  344:   condition    = []
│ 
│ An argument named "condition" is not expected here. Did you mean to define a block of type "condition"?

This is also an issue for aws_alb_listener_rule

Log message

Here you can paste the log message or paste the link to console logs. If the log message is too big, you can use a tool like https://pastebin.com/.

Additional context

Related to https://github.com/cycloidio/terracognita/issues/306