target-outside-environment
Severity: error
A Saved Deployment View’s targets entry has no Deployment in the View’s environment, on it or on any Target inside it.
Failing example
Section titled “Failing example”shop/views.yaml:
targets: eks-staging: name: EKS staging kind: clusterviews: structural: runtime: title: Runtime level: deployment environment: prod targets: [eks-staging]Remove the Target from targets, or point the View at the Environment that runs on it.
shop/views.yaml:
targets: eks-staging: name: EKS staging kind: clusterviews: structural: runtime: title: Runtime level: deployment environment: prod targets: [eks-prod]