Skip to content

simple style AWS command line tool with AWS Cloud Control API

Notifications You must be signed in to change notification settings

chroju/awscccli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

awscccli

Release badge Test badge Coverage Status

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).

Install

Homebrew

$ brew install chroju/tap/awscccli

Download binary

Download the latest binary from here and place it in the some directory specified by $PATH.

Authentication

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

Usage

types

$ 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

list

$ acc list AWS::EC2::VPC
vpc-1fxxxxxx
vpc-8cxxxxxx
vpc-7fxxxxxx

get

$ 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

LICENSE

MIT

About

simple style AWS command line tool with AWS Cloud Control API

Topics

Resources

Stars

Watchers

Forks