Skip to content

Commit 855419b

Browse files
authored
docs: (IAC-1112) Updated importing azure resource example in Troubleshooting.md (#334)
1 parent cc1e0f5 commit 855419b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/Troubleshooting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Error: A resource with the ID "/subscriptions/REDACTED/resourcegroups/viya-tst-r
4040
### Resolution:
4141
4242
```bash
43-
terraform import -var-file=sample-input.tfvars module.aks.azurerm_kubernetes_cluster.aks '/subscription/REDACTED/../../'
43+
terraform import -var-file=sample-input.tfvars -state=terraform.tfstate module.node_pools[\"stateless\"].azurerm_kubernetes_cluster_node_pool.autoscale_node_pool[0] "/subscriptions/REDACTED/resourceGroups/viya-tst-rg/providers/Microsoft.ContainerService/managedClusters/viya-tst-aks/agentPools/stateless"
4444
```
4545
4646
## Not able to access AKS with kubectl

0 commit comments

Comments
 (0)