Skip to content

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.

shop/views.yaml:

targets:
eks-staging:
name: EKS staging
kind: cluster
views:
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: cluster
views:
structural:
runtime:
title: Runtime
level: deployment
environment: prod
targets: [eks-prod]