-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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]: Error: updating NetworkFirewall TLS Inspection Configuration #38487
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
Hi,
|
Hi, the workaround works EDIT: it actually worked fine until I tried to make an update, now the error tied to |
Strange, I am able to continue to update without any issue yet. Are you able to check whether the "update-token" is not null when you try to apply again? It should be replaced with the last update-token value after each apply. BTW, I am using terraform v1.8.5 and AWS Provider v5.59.0 |
I tried again (AWS provider upgraded to v5.61.0 from 5.59.0 and terraform 1.8.3), this time worked fine; last time I had to manually change the |
Good to know but I am confused. Did the latest v5.61.0 AWS provider fixed the TF import issue with the HTTP 400 error? The bug is still opened right? |
Sorry, I wasn't clear: I just wanted to point out I'm using the latest AWS provider version, but I didn't test if the problem was fixed with latest release |
It looks like the issue is in the terraform-provider-aws/internal/service/networkfirewall/tls_inspection_configuration.go Lines 594 to 610 in 120f850
|
…ction and the remove function two allow for more than 2
Please dis-regard these commits. I thought this bug was also related. |
Terraform Core Version
1.8.3
AWS Provider Version
5.59.0
Affected Resource(s)
aws_networkfirewall_tls_inspection_configuration
Expected Behavior
I imported the resource like this:
terraform import aws_networkfirewall_tls_inspection_configuration.netfw arn:aws:network-firewall:eu-central-1:012345678901:tls-configuration/example
, I expect I can make modifications and publish them.Actual Behavior
All good when executing
terraform plan -out=tfplan
but when executingterraform apply tfplan
I get an error about theupdateToken
missing.Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
Steps to Reproduce
Import an existing tls inspection configuration, make some modifications (e.g. to scope), then
plan
andapply
Debug Output
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: