-
-
Notifications
You must be signed in to change notification settings - Fork 142
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
proxmox_virtual_environment_network_linux_... disable direct appliement #1637
Comments
Hi @NiclasPe 👋 |
@bpg a API timeout:
|
Hey @NiclasPe 👋🏼 Terraform can't "postpone" applying the configuration in that way, as each resource is treated independently and is applied as a whole or not at all. I think the issue you're facing is the parallelism of network changes during execution. I see you have multiple interfaces defined for each of your nodes as separate resources, e.g., You have two options to mitigate this:
Please let me know if that solves your issue. |
Describe the bug
I wanna create all VLANS and Bridges via Terraform to keep it consistent over multiple Nodes, but if there are a few of this resources, Terraform will fail due to the netplan apply for each resource. It would be great if there is a option to disable the direct apply in the resource and apply all changes at the end of the script.
To Reproduce
Steps to reproduce the behavior:
-> Didn't happens every time, but if you use 10 of them over 2 nodes most of the time
Please also provide a minimal Terraform configuration that reproduces the issue.
Expected behavior
Runs without timeout failures
Additional context
Happens because of the direct apply for each resource. If there is a possibility to disable it, it would run smooth.
The text was updated successfully, but these errors were encountered: