Skip to content

Instantly share code, notes, and snippets.

View dineshrathee12's full-sized avatar
🎯
Focusing

Dinesh Rathee dineshrathee12

🎯
Focusing
View GitHub Profile
@dineshrathee12
dineshrathee12 / boto3_hands_on.md
Created January 25, 2021 19:06 — forked from iMilnb/boto3_hands_on.md
Programmatically manipulate AWS resources with boto3 - a quick hands on

boto3 quick hands-on

This documentation aims at being a quick-straight-to-the-point-hands-on AWS resources manipulation with [boto3][0].

First of all, you'll need to install [boto3][0]. Installing it along with [awscli][1] is probably a good idea as

  • [awscli][1] is boto-based
  • [awscli][1] usage is really close to boto's

Ansible-variable-precedence

Here is the order of precedence from least to greatest (the last listed variables winning prioritization):

  • command line values (eg “-u user”)
  • role defaults [1]
  • inventory file or script group vars [2]
  • inventory group_vars/all [3]
  • playbook group_vars/all [3]
  • inventory group_vars/* [3]