IssueRaiser

Unable to deploy a kubernetes manifest when relying on another resource

### Terraform Version and Provider Version 0.13.0 ### Kubernetes Version 1.17.9 ### Affected Resource(s) <!-- Please list the resources as a list, for example: If this issue appears to affect multiple resources, it may be an issue with Terraform's core, so please mention this. --> - kubernetes_manifest ### Terraform Configuration Files ```hcl # Copy-paste your Terraform configurations here - for large Terraform configs, # please use a service like Dropbox and share a link to the ZIP file. For # security, you can also encrypt the files using our GPG public key. resource "azurerm_user_assigned_identity" "analytics-identity" { name = "sp-api-analytics-${var.environment}" resource_group_name = azurerm_resource_group.analytics-resource-group.name location = "West US" } resource "kubernetes_manifest" "azure_identity" { provider = kubernetes-alpha manifest = { "apiVersion" = "aadpodidentity.k8s.io/v1" "kind" = "AzureIdentity" "metadata" = { "aadpodidentity.k8s.io/Behavior" = "namespaced" "name" = "analytics-identity" "namespace" = "api" } "spec" = { "clientID" = azurerm_user_assigned_identity.analytics-identity.client_id "resourceID" = azurerm_user_assigned_identity.analytics-identity.id "type" = 0 } } depends_on = [ azurerm_user_assigned_identity.analytics-identity ] } ``` ### Debug Output <!--Please provide

Posted by cwoolum on Sep 24, 2020, 4:42 AM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.3,000 issues0 comments

github (Sysadmin)

Unable to deploy a kubernetes manifest when relying on another resource

cwoolumSep 24, 2020, 4:42 AM

### Terraform Version and Provider Version 0.13.0 ### Kubernetes Version 1.17.9 ### Affected Resource(s) <!-- Please list the resources as a list, for example: If this issue appears to affect multiple resources, it may be an issue with Terraform's core, so please mention this. --> - kubernetes_manifest ### Terraform Configuration Files ```hcl # Copy-paste your Terraform configurations here - for large Terraform configs, # please use a service like Dropbox and share a link to the ZIP file. For # security, you can also encrypt the files using our GPG public key. resource "azurerm_user_assigned_identity" "analytics-identity" { name = "sp-api-analytics-${var.environment}" resource_group_name = azurerm_resource_group.analytics-resource-group.name location = "West US" } resource "kubernetes_manifest" "azure_identity" { provider = kubernetes-alpha manifest = { "apiVersion" = "aadpodidentity.k8s.io/v1" "kind" = "AzureIdentity" "metadata" = { "aadpodidentity.k8s.io/Behavior" = "namespaced" "name" = "analytics-identity" "namespace" = "api" } "spec" = { "clientID" = azurerm_user_assigned_identity.analytics-identity.client_id "resourceID" = azurerm_user_assigned_identity.analytics-identity.id "type" = 0 } } depends_on = [ azurerm_user_assigned_identity.analytics-identity ] } ``` ### Debug Output <!--Please provide

Comments (0)

No comments yet. Start the discussion.

Comment on this issue