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: 
You should try Amplify version `4.3.11` and above, that is using `graphql` 15.8.0 which works with Webpack 5
aws-amplify-react is deprecated, so if you have this problem, just uninstall aws-amplify-react and install @aws-amplify/ui-react. It worked for me