Cloud-AWS icon indicating copy to clipboard operation
Cloud-AWS copied to clipboard

add: allow existing bucket names as array

Open berkguzel opened this issue 10 months ago • 1 comments

Fixes #275

This PR allows you to apply terraform code one time to scan several existing s3 buckets.

existing.sh script will ask you to provide existing s3 bucket names in a format like below.

 Bucket names: s3-bucket-protection-test s3-bucket-protection-test-test  

berkguzel avatar Apr 17 '24 18:04 berkguzel

a better approach would be to use modules. one module for infra, one module to set up bucket. infra module is only called once, while the bucket module is called foreach and everytime a bucket needs to be added going forward

ryanjpayne avatar Apr 23 '24 14:04 ryanjpayne