diff --git a/README.md b/README.md index 196ce92..3fb89e0 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/access-logging/README.md b/s3-access-logs/README.md similarity index 97% rename from access-logging/README.md rename to s3-access-logs/README.md index 11f4239..9093aba 100644 --- a/access-logging/README.md +++ b/s3-access-logs/README.md @@ -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.). @@ -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" } ``` @@ -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" diff --git a/access-logging/data.tf b/s3-access-logs/data.tf similarity index 100% rename from access-logging/data.tf rename to s3-access-logs/data.tf diff --git a/access-logging/defaults.tf b/s3-access-logs/defaults.tf similarity index 100% rename from access-logging/defaults.tf rename to s3-access-logs/defaults.tf diff --git a/access-logging/main.tf b/s3-access-logs/main.tf similarity index 97% rename from access-logging/main.tf rename to s3-access-logs/main.tf index 81f8584..f8e0a47 100644 --- a/access-logging/main.tf +++ b/s3-access-logs/main.tf @@ -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.). @@ -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" * } * ``` * @@ -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" diff --git a/access-logging/outputs.tf b/s3-access-logs/outputs.tf similarity index 100% rename from access-logging/outputs.tf rename to s3-access-logs/outputs.tf diff --git a/access-logging/policy_data.tf b/s3-access-logs/policy_data.tf similarity index 100% rename from access-logging/policy_data.tf rename to s3-access-logs/policy_data.tf diff --git a/access-logging/prefixes.tf b/s3-access-logs/prefixes.tf similarity index 100% rename from access-logging/prefixes.tf rename to s3-access-logs/prefixes.tf diff --git a/access-logging/variables.common.tf b/s3-access-logs/variables.common.tf similarity index 100% rename from access-logging/variables.common.tf rename to s3-access-logs/variables.common.tf diff --git a/access-logging/variables.tf b/s3-access-logs/variables.tf similarity index 100% rename from access-logging/variables.tf rename to s3-access-logs/variables.tf diff --git a/access-logging/version.tf b/s3-access-logs/version.tf similarity index 100% rename from access-logging/version.tf rename to s3-access-logs/version.tf