What's a winged environment?

What is it and how do I find those environments?

0

Comments

2 comments
Date Votes
  • Thanks @natharper. Since “Wings” is a term we don’t use with customers, I’m unpublishing this. Essentially it’s an Enterprise project that has glue code so that there is a smooth way to use “Professional” projects for development and push code to the “Enterprise” environments.

    0
  • @natharper You can use the Platform CLI or curl the API to find out if an environment has wings:

    platform environment:info -p <project_id> -e <environment> deployment_target
    

    If it does, you’ll see enterprise for the response. If not, there likely won’t be a deployment_target variable set and you’ll just see a “Specified environment not found” error.

    Using curl and the API:

    curl -g -H "Authorization: Bearer $(platform auth:token)" https://eu.platform.sh/api/projects/<project_id>/environments/<environment> |  jq '{deployment_target}'
    

    You’ll see this if it’s Winged:

    {
      "deployment_target": "enterprise"
    }
    
    0

Please sign in to leave a comment.

 

Didn't find what you were looking for?

New post