简体   繁体   中英

AWS CLI NetworkInterfaces Tags

I have trying to Tag all my Network Interfaces but I need to tag them according the the Tag that they Instaces or ELBs that are attached to each Network Interface. Is there a script or way that I tag the NI according to the Tag of the instance or ELB attached to it? Any help or advice on what will be the best way to do it from CLI will be appreciated due that I can't do it manually, I'm having more than 400 NIs thanks

AWS has commandline interfaces. They have docs at http://docs.aws.amazon.com/cli/latest/index.html

A search for add-tag or add-tags would get you moving in the right direction. I haven't touched them much. I just know they exist, so scripting things might be easier that way.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM