
ace-iac-day-zero : enable_active_mesh = var.active_mesh

hello all experts,
i run into the error as below and the detail is in the attachment
Error: Unsupported argument
on .terraform/modules/aws_spoke_1/main.tf line 16, in resource "aviatrix_spoke_gateway" "default":
enable_active_mesh = var.active_mesh
An argument named "enable_active_mesh" is not expected here.
-
The module and probably the arguments to call them are fine. What I think the issue is here, is the fact that the option to configure active_mesh was removed from 6.6, as it is now always enabled. With the removal of support from the controller and Terraform provider, you run into this error. So it suggests your provider and controller version are too new for the code you are running, which I think was written to be executed against controller version 6.5 and provider version <2.21.0 as per the release notes: https://registry.terraform.io/providers/AviatrixSystems/aviatrix/latest/docs/guides/release-notes#deprecations-1
-
Hi Ken yau , if you deployed the Aviatrix platform from the Sandbox Starter Tool (SST) in late Feb or so, the Controller would have been built on version 6.5, where active_mesh was a valid option. Since mid-March, the SST now defaults to 6.6, where active_mesh is no longer valid, as Dennis mentioned.
So, if you started off a fresh SST instance launched in the past month, you should be good. All the IaC lab guides and training videos work off of that.