Question: When I run the jq command to parse a json document from the amazon cli I have the following problem.

I’m parsing through the IP address and a tag called "Enviroment". The enviroment tag in the instance does not exist therefore it does not throw me any result.

Here's an example of the relevant output returned by the AWS CLI

```
{
  "Reservations": [
    {
      "Instances": [
        {
          "PrivateIpAddress": "10.0.0.1",
          "Tags": [
            {
              "Key": "Name",
              "Value": "Balance-OTA-SS_a"
            },
            {
              "Key": "Environment",
              "Value": "alpha"
            }
          ]
        }
      ]
    },
    {
      "Instances": [
        {
          "PrivateIpAddress": "10.0.0.2",
          "Tags": [
            {
              "Key": "Name",
              "Value": "Balance-OTA-SS_a"
            }
          ]
        }
      ]
    }
  ]
}

```

I’m running the following command

```
aws ec2 describe-instances --filters "Name=tag:Name,Values=Balance-OTA-SS_a" | jq -c '.Reservations[].Instances[] | ({IP: .PrivateIpAddress, Ambiente: (.Tags[]|select(.Key=="Environment")|.Value)})'

## output
empty

```

How do I show the IP address in the output of the command even if the enviroment tag does not exist?

Regards,

Answer: 
In addition to Francisco's suggestion of updating packages,

You should also uninstall the `aws-amplify-react` package in favor of the new Amplify UI library. The peer dependencies of that legacy package being locked to older versions of the scoped packages will cause unwanted behaviors.

You can install the new ui components by running `npm i @aws-amplify/ui-react`

Here is a link to the new Amplify UI documentation for reference:
<https://ui.docs.amplify.aws/>
It seems like amplify doesn't like webpack 5 which is being included in react-scripts@5.0.0