diff --git a/internal/services/arckubernetes/arc_kubernetes_cluster_extension_resource.go b/internal/services/arckubernetes/arc_kubernetes_cluster_extension_resource.go index 0a0a006c4e28..e48ae392e0a5 100644 --- a/internal/services/arckubernetes/arc_kubernetes_cluster_extension_resource.go +++ b/internal/services/arckubernetes/arc_kubernetes_cluster_extension_resource.go @@ -117,12 +117,11 @@ func (r ArcKubernetesClusterExtensionResource) Arguments() map[string]*pluginsdk }, "release_train": { - Type: pluginsdk.TypeString, - Optional: true, - Computed: true, - ForceNew: true, - ConflictsWith: []string{"version"}, - ValidateFunc: validation.StringIsNotEmpty, + Type: pluginsdk.TypeString, + Optional: true, + Computed: true, + ForceNew: true, + ValidateFunc: validation.StringIsNotEmpty, }, "release_namespace": { @@ -144,11 +143,10 @@ func (r ArcKubernetesClusterExtensionResource) Arguments() map[string]*pluginsdk }, "version": { - Type: pluginsdk.TypeString, - Optional: true, - ForceNew: true, - ConflictsWith: []string{"release_train"}, - ValidateFunc: validation.StringIsNotEmpty, + Type: pluginsdk.TypeString, + Optional: true, + ForceNew: true, + ValidateFunc: validation.StringIsNotEmpty, }, } diff --git a/internal/services/arckubernetes/arc_kubernetes_cluster_extension_resource_test.go b/internal/services/arckubernetes/arc_kubernetes_cluster_extension_resource_test.go index 8414ece1debd..9837045a2d92 100644 --- a/internal/services/arckubernetes/arc_kubernetes_cluster_extension_resource_test.go +++ b/internal/services/arckubernetes/arc_kubernetes_cluster_extension_resource_test.go @@ -177,6 +177,7 @@ resource "azurerm_arc_kubernetes_cluster_extension" "test" { name = "acctest-kce-%[2]d" cluster_id = azurerm_arc_kubernetes_cluster.test.id extension_type = "microsoft.flux" + release_train = "stable" version = "1.6.3" release_namespace = "flux-system"