Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions terraform/aws/db-app.tf
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ resource "aws_db_instance" "default" {
yor_trace = "47c13290-c2ce-48a7-b666-1b0085effb92"
}, {
yor_name = "default"
}, {
user = "pchandaliya"
})

# Ignore password changes from tf plan diff
Expand Down Expand Up @@ -63,6 +65,8 @@ resource "aws_db_option_group" "default" {
yor_trace = "c8076043-5de7-4203-9a1c-b4e61900628a"
}, {
yor_name = "default"
}, {
user = "pchandaliya"
})
}

Expand Down Expand Up @@ -97,6 +101,8 @@ resource "aws_db_parameter_group" "default" {
yor_trace = "6432b3f9-3f45-4463-befc-2e0f2fbdffc1"
}, {
yor_name = "default"
}, {
user = "pchandaliya"
})
}

Expand All @@ -119,6 +125,8 @@ resource "aws_db_subnet_group" "default" {
yor_trace = "b8368249-50c5-4a24-bdb0-9f83d197b11c"
}, {
yor_name = "default"
}, {
user = "pchandaliya"
})
}

Expand All @@ -140,6 +148,8 @@ resource "aws_security_group" "default" {
yor_trace = "7b251090-8ac1-4290-bd2e-bf3e16126430"
}, {
yor_name = "default"
}, {
user = "pchandaliya"
})
}

Expand Down Expand Up @@ -176,6 +186,7 @@ resource "aws_iam_instance_profile" "ec2profile" {
git_repo = "terragoat"
yor_trace = "6d33b2b9-2dd3-4915-b5d4-283152c928f1"
yor_name = "ec2profile"
user = "pchandaliya"
}
}

Expand Down Expand Up @@ -213,6 +224,8 @@ EOF
yor_trace = "d4b631c1-c1d0-4986-affb-fb8b94a6a7a5"
}, {
yor_name = "ec2role"
}, {
user = "pchandaliya"
})
}

Expand Down Expand Up @@ -424,6 +437,8 @@ EOF
yor_trace = "f7999d4e-c983-43ee-bd88-7903a6f8483e"
}, {
yor_name = "db_app"
}, {
user = "pchandaliya"
})
}

Expand Down
21 changes: 21 additions & 0 deletions terraform/aws/ec2.tf
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ EOF
yor_trace = "347af3cd-4f70-4632-aca3-4d5e30ffc0b6"
}, {
yor_name = "web_host"
}, {
user = "pchandaliya"
})
}

Expand Down Expand Up @@ -71,6 +73,8 @@ resource "aws_ebs_snapshot" "example_snapshot" {
yor_trace = "c1008080-ec2f-4512-a0d0-2e9330aa58f0"
}, {
yor_name = "example_snapshot"
}, {
user = "pchandaliya"
})
}

Expand Down Expand Up @@ -118,6 +122,7 @@ resource "aws_security_group" "web-node" {
git_repo = "terragoat"
yor_trace = "b7af1b40-64eb-4519-a1a0-ab198db4b193"
yor_name = "web-node"
user = "pchandaliya"
}
}

Expand All @@ -138,6 +143,8 @@ resource "aws_vpc" "web_vpc" {
yor_trace = "9bf2359b-952e-4570-9595-52eba4c20473"
}, {
yor_name = "web_vpc"
}, {
user = "pchandaliya"
})
}

Expand All @@ -160,6 +167,8 @@ resource "aws_subnet" "web_subnet" {
yor_trace = "0345f650-d280-4ca8-86c9-c71c38c0eda8"
}, {
yor_name = "web_subnet"
}, {
user = "pchandaliya"
})
}

Expand All @@ -182,6 +191,8 @@ resource "aws_subnet" "web_subnet2" {
yor_trace = "224af03a-00e0-4981-be30-14965833c2db"
}, {
yor_name = "web_subnet2"
}, {
user = "pchandaliya"
})
}

Expand All @@ -202,6 +213,8 @@ resource "aws_internet_gateway" "web_igw" {
yor_trace = "d8e63cb4-2fb5-4726-9c86-5fd05ef03674"
}, {
yor_name = "web_igw"
}, {
user = "pchandaliya"
})
}

Expand All @@ -221,6 +234,8 @@ resource "aws_route_table" "web_rtb" {
yor_trace = "5e4fee6e-a6aa-4b61-a741-47c5efb463e1"
}, {
yor_name = "web_rtb"
}, {
user = "pchandaliya"
})
}

Expand Down Expand Up @@ -262,6 +277,8 @@ resource "aws_network_interface" "web-eni" {
yor_trace = "7e2ffea8-739f-467d-b57b-53cbc0d7ccbe"
}, {
yor_name = "web-eni"
}, {
user = "pchandaliya"
})
}

Expand All @@ -286,6 +303,8 @@ resource "aws_flow_log" "vpcflowlogs" {
yor_trace = "6808d4b7-45bc-4d1d-9523-96757a3add3a"
}, {
yor_name = "vpcflowlogs"
}, {
user = "pchandaliya"
})
}

Expand All @@ -307,6 +326,8 @@ resource "aws_s3_bucket" "flowbucket" {
yor_trace = "f058838a-b1e0-4383-b965-7e06e987ffb1"
}, {
yor_name = "flowbucket"
}, {
user = "pchandaliya"
})
}

Expand Down
2 changes: 2 additions & 0 deletions terraform/aws/ecr.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ resource aws_ecr_repository "repository" {
yor_trace = "7a3ec657-fa54-4aa2-8467-5d08d6c90bc2"
}, {
yor_name = "repository"
}, {
user = "pchandaliya"
})
}

Expand Down
8 changes: 8 additions & 0 deletions terraform/aws/eks.tf
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ resource aws_iam_role "iam_for_eks" {
git_repo = "terragoat"
yor_trace = "de052596-21a0-43de-8153-469add277b18"
yor_name = "iam_for_eks"
user = "pchandaliya"
}
}

Expand Down Expand Up @@ -59,6 +60,8 @@ resource aws_vpc "eks_vpc" {
yor_trace = "1600ca6c-72f6-45c0-a71d-88e117e51d6b"
}, {
yor_name = "eks_vpc"
}, {
user = "pchandaliya"
})
}

Expand Down Expand Up @@ -89,6 +92,8 @@ resource aws_subnet "eks_subnet1" {
"kubernetes.io/cluster/$${local.eks_name.value}" = "shared"
}, {
yor_name = "eks_subnet1"
}, {
user = "pchandaliya"
})
}

Expand Down Expand Up @@ -119,6 +124,8 @@ resource aws_subnet "eks_subnet2" {
"kubernetes.io/cluster/$${local.eks_name.value}" = "shared"
}, {
yor_name = "eks_subnet2"
}, {
user = "pchandaliya"
})
}

Expand All @@ -145,6 +152,7 @@ resource aws_eks_cluster "eks_cluster" {
git_repo = "terragoat"
yor_trace = "7fa14261-c18d-4fa2-aec4-746f6e64d2d3"
yor_name = "eks_cluster"
user = "pchandaliya"
}
}

Expand Down
2 changes: 2 additions & 0 deletions terraform/aws/elb.tf
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,7 @@ resource "aws_elb" "weblb" {
yor_trace = "b4a83ce9-9a45-43b4-b6d9-1783c282f702"
}, {
yor_name = "weblb"
}, {
user = "pchandaliya"
})
}
1 change: 1 addition & 0 deletions terraform/aws/es.tf
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ resource "aws_elasticsearch_domain" "monitoring-framework" {
git_repo = "terragoat"
yor_trace = "95131dec-d7c9-49bb-9aff-eb0e2736603b"
yor_name = "monitoring-framework"
user = "pchandaliya"
}
}

Expand Down
1 change: 1 addition & 0 deletions terraform/aws/kms.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ resource "aws_kms_key" "logs_key" {
git_repo = "terragoat"
yor_trace = "cd8fa2a7-4868-4cd1-993d-da4644808ce5"
yor_name = "logs_key"
user = "pchandaliya"
}
}

Expand Down
1 change: 1 addition & 0 deletions terraform/aws/lambda.tf
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ EOF
git_repo = "terragoat"
yor_trace = "93cfa6f9-a257-40c3-b7dc-3c3686929734"
yor_name = "iam_for_lambda"
user = "pchandaliya"
}
}

Expand Down
1 change: 1 addition & 0 deletions terraform/aws/neptune.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ resource "aws_neptune_cluster" "default" {
git_repo = "terragoat"
yor_trace = "0d4cbb85-73ed-4ca0-b1da-296e4185f34e"
yor_name = "default"
user = "pchandaliya"
}
}

Expand Down
9 changes: 9 additions & 0 deletions terraform/aws/rds.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ resource "aws_rds_cluster" "app1-rds-cluster" {
git_repo = "terragoat"
yor_trace = "b6f2c2ec-0715-46a0-83d4-502e588826d1"
yor_name = "app1-rds-cluster"
user = "pchandaliya"
}
}

Expand All @@ -29,6 +30,7 @@ resource "aws_rds_cluster" "app2-rds-cluster" {
git_repo = "terragoat"
yor_trace = "d33c9292-952b-4c1f-9973-b6dbad519461"
yor_name = "app2-rds-cluster"
user = "pchandaliya"
}
}

Expand All @@ -46,6 +48,7 @@ resource "aws_rds_cluster" "app3-rds-cluster" {
git_repo = "terragoat"
yor_trace = "2a8584b1-7e9d-4739-8e37-366620c92027"
yor_name = "app3-rds-cluster"
user = "pchandaliya"
}
}

Expand All @@ -63,6 +66,7 @@ resource "aws_rds_cluster" "app4-rds-cluster" {
git_repo = "terragoat"
yor_trace = "284aaeed-fd3f-4b7a-b5f8-61a8457f4d83"
yor_name = "app4-rds-cluster"
user = "pchandaliya"
}
}

Expand All @@ -80,6 +84,7 @@ resource "aws_rds_cluster" "app5-rds-cluster" {
git_repo = "terragoat"
yor_trace = "0b2bea23-5ca5-4bd1-956e-b9ed978daadf"
yor_name = "app5-rds-cluster"
user = "pchandaliya"
}
}

Expand All @@ -97,6 +102,7 @@ resource "aws_rds_cluster" "app6-rds-cluster" {
git_repo = "terragoat"
yor_trace = "fcffb961-d859-4be5-997f-d51b50665ada"
yor_name = "app6-rds-cluster"
user = "pchandaliya"
}
}

Expand All @@ -114,6 +120,7 @@ resource "aws_rds_cluster" "app7-rds-cluster" {
git_repo = "terragoat"
yor_trace = "ebc2ac20-23a3-4518-a7ef-3a102b003ab6"
yor_name = "app7-rds-cluster"
user = "pchandaliya"
}
}

Expand All @@ -132,6 +139,7 @@ resource "aws_rds_cluster" "app8-rds-cluster" {
yor_trace = "af643747-0967-4251-8645-3b54882c2507"

yor_name = "app8-rds-cluster"
user = "pchandaliya"
}
}

Expand All @@ -149,5 +157,6 @@ resource "aws_rds_cluster" "app9-rds-cluster" {
git_repo = "terragoat"
yor_trace = "a0c98536-c751-4743-92f1-a106ce750249"
yor_name = "app9-rds-cluster"
user = "pchandaliya"
}
}
9 changes: 9 additions & 0 deletions terraform/aws/s3.tf
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ resource "aws_s3_bucket_object" "data_object" {
yor_trace = "a7f01cc7-63c2-41a8-8555-6665e5e39a64"
}, {
yor_name = "data_object"
}, {
user = "pchandaliya"
})
}

Expand All @@ -64,6 +66,8 @@ resource "aws_s3_bucket" "financials" {
yor_trace = "0e012640-b597-4e5d-9378-d4b584aea913"
}, {
yor_name = "financials"
}, {
user = "pchandaliya"
})

}
Expand Down Expand Up @@ -91,6 +95,8 @@ resource "aws_s3_bucket" "operations" {
yor_trace = "29efcf7b-22a8-4bd6-8e14-1f55b3a2d743"
}, {
yor_name = "operations"
}, {
user = "pchandaliya"
})
}

Expand All @@ -116,6 +122,7 @@ resource "aws_s3_bucket" "data_science" {
git_repo = "terragoat"
yor_trace = "9a7c8788-5655-4708-bbc3-64ead9847f64"
yor_name = "data_science"
user = "pchandaliya"
}
}

Expand Down Expand Up @@ -148,5 +155,7 @@ resource "aws_s3_bucket" "logs" {
yor_trace = "01946fe9-aae2-4c99-a975-e9b0d3a4696c"
}, {
yor_name = "logs"
}, {
user = "pchandaliya"
})
}
1 change: 1 addition & 0 deletions terraform/azure/aks.tf
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,6 @@ resource azurerm_kubernetes_cluster "k8s_cluster" {
git_repo = "terragoat"
yor_trace = "6103d111-864e-42e5-899c-1864de281fd1"
yor_name = "k8s_cluster"
user = "pchandaliya"
}
}
2 changes: 2 additions & 0 deletions terraform/azure/app_service.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ resource azurerm_app_service_plan "example" {
git_repo = "terragoat"
yor_trace = "6611bf45-fd5b-467e-b119-d533cd7539b8"
yor_name = "example"
user = "pchandaliya"
}
}

Expand All @@ -39,6 +40,7 @@ resource azurerm_app_service "app-service1" {
git_repo = "terragoat"
yor_trace = "13be096d-c599-46e5-bf54-51c6e9732858"
yor_name = "app-service1"
user = "pchandaliya"
}
}

Expand Down
Loading