Ansible, DevOps, Cloudfront, Terraform, Jenkins.
apply force destroy So, when going to destroy it won't throw error 'Bucket is not empty' resource "aws_s3_bucket" "s3-bucket" { bucket = var.bucket-name force_destroy = true lifecycle { prevent_destroy = false } } # Using null resource to push all the files in one time instead of sending one by one