This repository contains a code wrote in Python to check how many CloudFront Distribution are deployed in the AWS account. Also is available CloudFormation code to deploy the solution.
Create a ZIP file with lambda_function.py and upload to a Bucket S3 that you have access
Create a CloudFormation stack to deploy all the services of the solution
aws cloudformation create-stack --stack-name cloudFrontLimitsMonitor --template-body file://deploy.yaml --parameters file://params.json --capabilities CAPABILITY_IAM
If necessary some chance, use command below
aws cloudformation update-stack --stack-name cloudFrontLimitsMonitor --template-body file://deploy.yaml --parameters file://params.json --capabilities CAPABILITY_IAM
- Pipeline to delivery the python code in the AWS S3 bucket.
- Terraform code to deploy this solution
