Skip to content
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

[feature] Add GitHub Webhooks archiver and S3 private bucket modules #112

Merged
merged 8 commits into from
Aug 20, 2019

Conversation

alldoami
Copy link
Contributor

No description provided.

@alldoami alldoami requested a review from a team as a code owner August 16, 2019 18:29
.idea/.gitignore Outdated
@@ -0,0 +1,3 @@

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should probably add .idea to the top level .gitignore and not check in any of the files in this directory

@@ -0,0 +1,7 @@
# Auto-generated by fogg. Do not edit
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this Makefile is not valid in this context, can be rm'd

@@ -0,0 +1,102 @@
module "bucket" {
source = "../aws-s3-private-bucket"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this path is not valid here, we might also have to opensource this module as well

variable "lambda_source_s3_bucket" {
type = "string"
description = "The s3 bucket where to find the lambda executable"
default = "shared-infra-prod-assets"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO @edulop91 check this bucket

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Were you able to check this bucket?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah! i'm working on moving some of this data to a new public bucket

@@ -0,0 +1,23 @@
<!-- START -->
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might also be valuable to write a short description of what this is and an example of how to use it

@edulop91 edulop91 assigned alldoami and unassigned edulop91 Aug 16, 2019
.gitignore Outdated
bin
.idea
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👌
we should also rm the already checked-in .idea directory

@@ -0,0 +1,7 @@
# Auto-generated by fogg. Do not edit
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rm this file

}

resource "aws_s3_bucket_public_access_block" "bucket" {
bucket = "${aws_s3_bucket.bucket}"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you might have to do aws_s3_bucket.bucket.id https://www.terraform.io/docs/providers/aws/r/s3_bucket.html#id-2

@@ -0,0 +1,16 @@
// HACK(el): we do this to hint TF dependency graph since modules can't depend_on
output "name" {
value = "${var.bucket_name}"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should probably make this aws_s3_bucket.bucket.id

@edulop91 edulop91 changed the title Add GitHub Webhooks to CZtack [feature] Add GitHub Webhooks archiver and S3 private bucket modules Aug 20, 2019
@edulop91 edulop91 assigned alldoami and unassigned edulop91 and alldoami Aug 20, 2019
@alldoami alldoami merged commit 22e21f1 into master Aug 20, 2019
@ryanking ryanking deleted the adoami/opensourcegithubwebhooks branch July 15, 2020 22:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants