This only happens if the minimum_functional_level is set to any value other than "L7_20", as per the following error sample:
2024-03-27T10:31:24.168Z [ERROR] vertex "citrix_machine_catalog.MC09-AVDdaasCMP-009" error: Provider produced inconsistent result after apply
╷
│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to citrix_machine_catalog.MC09-AVDdaasCMP-009, provider "provider[\"citrix/citrix\"]" produced an unexpected new value: .minimum_functional_level: was cty.StringVal("L7_34"),
│ but now cty.StringVal("L7_20").
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
Looking at the code for the function updateCatalogImageAndMachineProfile (in the _machine_catalog_mcsutils.go file), I can see the value is indeed hardcoded:
This only happens if the
minimum_functional_level
is set to any value other than"L7_20"
, as per the following error sample:Looking at the code for the function updateCatalogImageAndMachineProfile (in the _machine_catalog_mcsutils.go file), I can see the value is indeed hardcoded:
710: updateProvisioningSchemeModel.SetMinimumFunctionalLevel("L7_20")
Which presumably needs replacing with something like this: