-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Write CloudFront Access Logs to Single S3 Bucket #8
Labels
Comments
dumrauf
pushed a commit
that referenced
this issue
Jun 19, 2018
dumrauf
pushed a commit
that referenced
this issue
Jun 19, 2018
dumrauf
pushed a commit
that referenced
this issue
Jun 19, 2018
Closing this for now until a better solution for creating optional resources is available |
As long as hashicorp/hil#50 has not been fixed, there are essentially two options to solve this:
As of now, it seems like 2 is the best option. |
dumrauf
pushed a commit
that referenced
this issue
Jun 20, 2018
Reopening in order to implement solution 2 described above. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Having CloudFront write its access logs to a bucket has been introduced in #5.
At the moment, a new S3 bucket gets created for every serverless static website instance created by the Terraform module. Ironically, the CloudFront access logs for subdomains are already prefixed within the S3 bucket and hence put in their corresponding "directory". This forced creation of a new S3 logging bucket doesn't really seem to be necessary.
It would be nice to specify the S3 bucket used for CloudFront access logging and hence have all logs in one central S3 bucket. By definition of subdomains and domains, there shouldn't be any clashes.
The text was updated successfully, but these errors were encountered: