How Python Enhances DevOps Efficiency and Automation
# Create in function format
import os
import boto3
# Set clinet globally
s3 = boto3.client('s3')
def list_bucket():
response = s3.list_buckets()
# Fetch the buckets form account
bucket_list = (response["Buckets"])
# Iterate over...
amittashok.hashnode.dev2 min read