You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
╷
│ Error: Conflicting configuration arguments
│
│ with azurerm_arc_kubernetes_cluster_extension.apim,
│ on main.tf line 18, in resource "azurerm_arc_kubernetes_cluster_extension""apim":
│ 18: release_train = "preview"
│
│ "release_train": conflicts with version
╵
╷
│ Error: Conflicting configuration arguments
│
│ with azurerm_arc_kubernetes_cluster_extension.apim,
│ on main.tf line 19, in resource "azurerm_arc_kubernetes_cluster_extension""apim":
│ 19: version = "1.6.4"
│
│ "version": conflicts with release_train
╵
Expected Behaviour
It should create the extension in the following way:
Allow Release Train to be something other than stable, in this case, preview.
Pin a version, in the case, 1.6.4
Set Auto Upgrade Minor Version to False.
As an example, the following az cli command works in the previously described manor:
Hi @agreaves-ms, thank you for reaching out.
According to this MS-DOC, releaseTrain works only when autoUpgradeMinorVersion is true and version works only when autoUpgradeMinorVersion is false. So, releaseTrain and version cannot be set simultaneously. Have you tried to only set version=1.6.4 w/o setting release_train?
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Is there an existing issue for this?
Community Note
Terraform Version
1.6.2
AzureRM Provider Version
3.76.0
Affected Resource(s)/Data Source(s)
azurerm_arc_kubernetes_cluster_extension
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
It should create the extension in the following way:
Release Train
to be something other thanstable
, in this case,preview
.version
, in the case,1.6.4
Auto Upgrade Minor Version
toFalse
.As an example, the following az cli command works in the previously described manor:
az k8s-extension create -g rg-awg-aio-tst --cluster-name arc-awg-aio-tst --cluster-type connectedClusters --extension-type Microsoft.ApiManagement.Gateway --name api-arc-awg-aio-tst --release-train preview --version 1.6.4 --auto-upgrade false --config-file arc-apim-settings.json --config-protected-file arc-apim-protected-settings.json
Which produces the following extension in the portal:
Actual Behaviour
The
azurerm
terraform provider produces a Conflict error whenversion
andrelease_train
are set at the same time.Steps to Reproduce
No response
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: