Skip to content
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

volterra_securemesh_site_v2 node_list issues #292

Open
s-archer opened this issue Jan 29, 2025 · 0 comments
Open

volterra_securemesh_site_v2 node_list issues #292

s-archer opened this issue Jan 29, 2025 · 0 comments

Comments

@s-archer
Copy link

s-archer commented Jan 29, 2025

There are a few issues with the volterra_securemesh_site_v2, two of which relate to the node_list.

The first issue occurs when updating the resource configuration (performing an apply operation on an existing resource after changing the resource configuration). The issue arises because of a conflict (two sources-of-truth) between Terraform and the F5 XC Platform.

The Terraform volterra_securemesh_site_v2 resource does not allow the inclusion of a node_list, so it is effectively equal to null. The node_list is actually populated by XC when the nodes register themselves with the platform, but Terraform is unaware of this. If Terraform is applied a second time, it overwrites the XC populated node_list with its own null version.

The net result is that you cannot modify an SMSv2 site with Terraform, becasue it removes node_list config and breaks the site.

The second issue is a similar problem with labels. After site deployment, F5 XC adds labels that Terraform is unaware of. This causes Terraform to detect a change, and on next apply, will try and update the volterra_securemesh_site_v2resource. It is currently necessary to use a lifecycle block to ignore label changes.

The third issue is that the Terraform volterra_securemesh_site_v2 resource does not allow the inclusion of a node_list, you cannot configure SMSv2 nodes with Terraform at all, which prevents use of segments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant