awscccli
(AWS Cloud Control API CLI) is a simple style AWS command line tool with AWS Cloud Control API. awscccli
supports only read actions (list, get).
$ brew install chroju/tap/awscccli
Download the latest binary from here and place it in the some directory specified by $PATH
.
awscccli
requires your AWS IAM authentication. The same authentication method as AWS CLI is available. Tools like aws-vault can be used as well.
# with command line options
$ acc --profile YOUR_PROFILE
# with aws-vault
$ aws-vault exec YOUR_PROFILE -- acc
$ acc types | grep VPC
AWS::EC2::LocalGatewayRouteTableVPCAssociation
AWS::EC2::VPC
AWS::EC2::VPCCidrBlock
AWS::EC2::VPCDHCPOptionsAssociation
AWS::EC2::VPCEndpoint
AWS::EC2::VPCEndpointConnectionNotification
AWS::EC2::VPCEndpointService
AWS::EC2::VPCEndpointServicePermissions
AWS::EC2::VPCGatewayAttachment
AWS::EC2::VPCPeeringConnection
$ acc list AWS::EC2::VPC
vpc-1fxxxxxx
vpc-8cxxxxxx
vpc-7fxxxxxx
$ acc get AWS::EC2::VPC vpc-1fb7907b --format yaml
CidrBlock: 10.0.0.0/16
CidrBlockAssociations:
- vpc-cidr-assoc-XXXXXXXX
DefaultNetworkAcl: acl-XXXXXXXX
DefaultSecurityGroup: sg-XXXXXXXX
EnableDnsHostnames: false
EnableDnsSupport: true
InstanceTenancy: default
Ipv6CidrBlocks: []
Tags:
- Key: Name
Value: dev
VpcId: vpc-1fXXXXXX
MIT