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
We are managing the appMesh resource from K8s manifest file for that we installed appMesh controller in K8s. Every time when we make small changes in virtualNode or virtualRouter and run terraform again it ask for destroy and create instead of in-place upgrade. When it try to delete the resource it failed because virtualNode has dependency on VirtualRouter, VirtualService and VirtualGateway.
Terraform Version, Provider Version and Kubernetes Version
We are managing the appMesh resource from K8s manifest file for that we installed appMesh controller in K8s. Every time when we make small changes in virtualNode or virtualRouter and run terraform again it ask for destroy and create instead of in-place upgrade. When it try to delete the resource it failed because virtualNode has dependency on VirtualRouter, VirtualService and VirtualGateway.
Terraform Version, Provider Version and Kubernetes Version
Affected Resource(s)
Terraform Configuration Files
manifest = { apiVersion = "appmesh.k8s.aws/v1beta2" kind = "VirtualRouter" metadata = { name = var.name } spec = { listeners = [ { portMapping = { port = 8080 protocol = "http" } }, ] routes = [ { httpRoute = { action = { weightedTargets = [ { virtualNodeRef = { name = var.name } weight = 100 } ] } match = { prefix = "/" } retryPolicy = { httpRetryEvents = ["server-error", "gateway-error"] maxRetries = 3 perRetryTimeout = { unit = "ms" value = 5000 } tcpRetryEvents = ["connection-error"] } } name = var.name }, ] } } }
Panic Output
Steps to Reproduce
After changing perRetryTimeout from 10000 to 5000Expected Behavior
Plan: 0 to add, 1 to change, 0 to destroy.
Actual Behavior
Plan: 1 to add, 1 to change, 1 to destroy.
Community Note
The text was updated successfully, but these errors were encountered: