Skip to content

Commit

Permalink
rename access-logging to s3-access-logs
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Feb 23, 2021
1 parent 9ecce8f commit 24df660
Show file tree
Hide file tree
Showing 11 changed files with 9 additions and 7 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@ structure so they are not really needed. The bucket is `inf-tfstate-{account_id}

This has no other dependencies, since it has to be created first. Only one is needed per account.

### [access-logging](access-logging)
### [s3-access-logs](s3-access-logs)

This sets up the S3 bucket used for access logs. One is needed per region, and the region and account are included
in the bucket names: `inf-logs-{account_id}-{region}`.

### [s3-flow-logs](s3-flow-logs)

### splunk-user
### object-logging
### cloudtrail
Expand Down
6 changes: 3 additions & 3 deletions access-logging/README.md → s3-access-logs/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# aws-inf-setup :: access-logging
# aws-inf-setup :: s3-access-logs

This set up the needed components for S3 access log bucket. An access log must exist in each region
where there are components wishing to use access logs (S3, ALB, etc.).
Expand All @@ -12,7 +12,7 @@ Here is a simple example, the one most commonly expected to be used.

```hcl
module "logs" {
source = "git@github.e.it.census.gov:terraform-modules/aws-inf-setup.git//access-logging"
source = "git@github.e.it.census.gov:terraform-modules/aws-inf-setup.git//s3-access-logs"
}
```

Expand All @@ -22,7 +22,7 @@ variable file generation.

```hcl
module "logs_full" {
source = "git@github.e.it.census.gov:terraform-modules/aws-inf-setup.git//terraform-state"
source = "git@github.e.it.census.gov:terraform-modules/aws-inf-setup.git//s3-access-logs"
# optional
account_alias = "do2-govcloud"
Expand Down
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions access-logging/main.tf → s3-access-logs/main.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* # aws-inf-setup :: access-logging
* # aws-inf-setup :: s3-access-logs
*
* This set up the needed components for S3 access log bucket. An access log must exist in each region
* where there are components wishing to use access logs (S3, ALB, etc.).
Expand All @@ -13,7 +13,7 @@
*
* ```hcl
* module "logs" {
* source = "git@github.e.it.census.gov:terraform-modules/aws-inf-setup.git//access-logging"
* source = "git@github.e.it.census.gov:terraform-modules/aws-inf-setup.git//s3-access-logs"
* }
* ```
*
Expand All @@ -23,7 +23,7 @@
*
* ```hcl
* module "logs_full" {
* source = "git@github.e.it.census.gov:terraform-modules/aws-inf-setup.git//terraform-state"
* source = "git@github.e.it.census.gov:terraform-modules/aws-inf-setup.git//s3-access-logs"
*
* # optional
* account_alias = "do2-govcloud"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 24df660

Please sign in to comment.