Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how force detached ENI

#!/bin/bash
vpc="vpc-xxxxxxxxxxxxx" 
aws ec2 describe-internet-gateways --filters 'Name=attachment.vpc-id,Values='$vpc | grep InternetGatewayId
aws ec2 describe-subnets --filters 'Name=vpc-id,Values='$vpc | grep SubnetId
aws ec2 describe-route-tables --filters 'Name=vpc-id,Values='$vpc | grep RouteTableId
aws ec2 describe-network-acls --filters 'Name=vpc-id,Values='$vpc | grep NetworkAclId
aws ec2 describe-vpc-peering-connections --filters 'Name=requester-vpc-info.vpc-id,Values='$vpc | grep VpcPeeringConnectionId
aws ec2 describe-vpc-endpoints --filters 'Name=vpc-id,Values='$vpc | grep VpcEndpointId
aws ec2 describe-nat-gateways --filter 'Name=vpc-id,Values='$vpc | grep NatGatewayId
aws ec2 describe-security-groups --filters 'Name=vpc-id,Values='$vpc | grep GroupId
aws ec2 describe-instances --filters 'Name=vpc-id,Values='$vpc | grep InstanceId
aws ec2 describe-vpn-connections --filters 'Name=vpc-id,Values='$vpc | grep VpnConnectionId
aws ec2 describe-vpn-gateways --filters 'Name=attachment.vpc-id,Values='$vpc | grep VpnGatewayId
aws ec2 describe-network-interfaces --filters 'Name=vpc-id,Values='$vpc | grep NetworkInterfaceId
Comment

PREVIOUS NEXT
Code Example
Shell :: connect to wifi with wpa supplicant raspberry pi 
Shell :: std error bash 
Shell :: bash split pipe output by delimiter 
Shell :: install figlet package and run a simple command 
Shell :: batch disable windows system recovery 
Shell :: linux source env file 
Shell :: LF will be replaced by CLRF 
Shell :: bash print separator null character 
Shell :: How can i get batch files to run through the new window terminal 
Shell :: xp_cmdshell bcp 
Shell :: overleaf git no password 
Shell :: GPG error: https://packages.sury.org/php buster InRelease: 
Shell :: mac open programm bash 
Shell :: how to upgrade my psql client version cloud9 
Shell :: missing mysql_config 
Shell :: terminal list files extension in subfolders 
Shell :: how to add passphrase to ssh key 
Shell :: Error when install irazasyed/telegram-bot-sdk in laravel 8 
Shell :: registry key programfilesdir 
Shell :: get free size 
Shell :: flow for vim 
Shell :: fedora secure boot 
Shell :: linux commands list 
Shell :: Npm install instagram-private-api 
Shell :: telnet in shell script 
Shell :: an audio or video streams is not handled due to missing codec 
Shell :: how to enable separate windows on taskbar in ubuntu 
Shell :: siege add autorizartion 
Shell :: proxmox change lxc name 
Shell :: cht.sh install 
ADD CONTENT
Topic
Content
Source link
Name
5+2 =