-
Notifications
You must be signed in to change notification settings - Fork 9.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: aws_networkfirewall_logging_configuration fails to apply 3 log destination configs #38917
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
It seems a fix was done in :#38824 But after testing I get a different error now:
it seems you can have all 3 logs configured on 1 network firewall with terraform. (alert, flow and tls). when you only add 2 configs (in any order) it works as expected. |
Looks like something was reverted in the logic in this commit to look for 2: ce791ab. Maybe this is the culprit? |
Seems like a smoking gun to me @michaeldop but not being a Go developer I'm not sure I understand the context. |
I found the issue. I over looked one line of code during the expansion. I will see if I can't get a MR up shortly. Sorry for missing this. |
…ction and the remove function two allow for more than 2
#40092 This PR does have the fix for this issue. |
Terraform Core Version
0.13.4
AWS Provider Version
5.63.0
Affected Resource(s)
Expected Behavior
Alert, Flow and TLS log types should be configured
Actual Behavior
Only 2 of the 3 log types can ever be configured in any combination
Relevant Error/Panic Output Snippet
Terraform Configuration Files
Steps to Reproduce
terraform apply with 3 log types defined
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
#38790
#38824
Would you like to implement a fix?
No
The text was updated successfully, but these errors were encountered: