Ansible, DevOps, Cloudfront, Terraform, Jenkins.
["*"] } # condition { # test = "StringEquals" # variable = "aws:SourceArn" # values = [aws_cloudfront_distribution.cdn_static_website.arn] # } } } # Creating the S3 policy and applying it for the S3 bucket resource "aws_s3_bucket_policy" "website_bucket_policy" { bucket = aws_s3_bucket.s3-bucket.id