Skip to content

Commit

Permalink
Merge pull request #13 from Winston1234567/terragaot-local
Browse files Browse the repository at this point in the history
Terragaot local
  • Loading branch information
Winston1234567 authored Feb 25, 2023
2 parents ee43d7d + 3ff1ae8 commit 96d41fe
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 14 deletions.
13 changes: 1 addition & 12 deletions s3.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
resource "aws_s3_bucket" "data" {
NEW RESOURCE CHANGE 0225raaesource "aws_s3_bucket" "data" {
# bucket is public
# bucket is not encrypted
# bucket does not have access logs
Expand All @@ -23,17 +23,6 @@ resource "aws_s3_bucket" "data" {
}


resource "aws_s3_bucket" "data_log_bucket" {
bucket = "data-log-bucket"
}

resource "aws_s3_bucket_logging" "data" {
bucket = aws_s3_bucket.data.id

target_bucket = aws_s3_bucket.data_log_bucket.id
target_prefix = "log/"
}



resource "aws_s3_bucket" "data_log_bucket" {
Expand Down
2 changes: 1 addition & 1 deletion terraform/aws/consts.tf
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ variable "password" {
default = "Aa1234321Bb"
}

variable "neptune-dbname" {
variable "neptundfaea
type = "string"
description = "Name of the Neptune graph database"
default = "neptunedb1"
Expand Down
2 changes: 1 addition & 1 deletion terraform/aws/es.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
resource "aws_elasticsearch_domain" "monitoring-framework" {
a;lkdjfa;ldkresource "aws_elasticsearch_domain" "monitoring-framework" {
domain_name = "tg-${var.environment}-es"
elasticsearch_version = "2.3"

Expand Down

0 comments on commit 96d41fe

Please sign in to comment.