I am trying to get the json output of a nacl that I setup in the console with the following command:
aws ec2 --profile my-profile --region us-east-1 describe-network-acls
The command appears to execute fine but there is never returned output. It's just blank with (END). I validated the nacl is setup under vpc and it is associated with two subnets.
I have even tried multiple other commands like describe-subnet or even describe-instance and I get the same output. I can run aws iam get-user
and it returns my user profile fine.
Looking at my user permissions and I have full permissions into EC2.
Im at a loss, any ideas?
aws --version aws-cli/2.0.45 Python/3.7.4 Darwin/20.6.0 exe/x86_64
OS: MacOS Big Sur 11.5.2 (20G95)
EDIT (requested config and terminal used) terminal: iterm/zsh
~/.aws/config
[default]
region = us-east-1
output = json
I fully uninstalled the AWS CLI from my Mac, then reinstalled. From there, running the commands gave an SSL error which it never gave before:
[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1125)
Tested with -no-verify-ssl
, and all works now.