S3 bucket logs for AWS Elastic Load Balancer

Introduction

Previously, engineer on product team cannot access load balancers logs. Currently, we add the ability to PDA to be able see their load balancers logs so they can investigate when it's needed. And the bucket that we allow PDA to be able see the logs is default-elb-logs-ap-southeast-1-715824975366. For more details context you can see here: https://github.com/traveloka/infra-production-playbooks/issues/913

What You Need To Do?

When you're doing infra changes, make sure your load balancer logs is NOT using tvlk-prod-elblogs. If you find still using old bucket, please change to default-elb-logs-ap-southeast-1-715824975366.
If you found the load balancer haven't terraform code, please import it first. Probably you will found it on old resource and still using CLB.
how-to import CLB: https://www.terraform.io/docs/providers/aws/r/elb.html

Resources That Still Using Old Bucket

You can check links below for resources that still using tvlk-prod-elblogs in resources, variables or locals:

Feel free to comment on this post if you have questions regarding this change. Thank you.