Skip to content

Commit 55176d7

Browse files
committed
NRL-1188 Resolving comments
1 parent 8e7798b commit 55176d7

File tree

3 files changed

+4
-16
lines changed

3 files changed

+4
-16
lines changed

terraform/account-wide-infrastructure/modules/glue/iam.tf

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,6 @@ resource "aws_iam_role_policy" "glue_service_role_policy" {
2121
policy = jsonencode({
2222
"Version" : "2012-10-17",
2323
"Statement" : [
24-
# {
25-
# "Effect" : "Allow",
26-
# "Action" : [
27-
# "glue:*",
28-
# "s3:GetBucketLocation",
29-
# "s3:ListBucket",
30-
# "s3:ListAllMyBuckets",
31-
# "s3:GetBucketAcl",
32-
# "cloudwatch:PutMetricData"
33-
# ],
34-
# "Resource" : ["*"]
35-
# },
3624
{
3725
"Effect" : "Allow",
3826
"Action" : ["s3:CreateBucket"],

terraform/account-wide-infrastructure/modules/glue/s3.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ resource "aws_s3_bucket_public_access_block" "code-bucket-public-access-block" {
125125
restrict_public_buckets = true
126126
}
127127

128-
resource "aws_s3_bucket_object" "code-data-object" {
128+
resource "aws_s3_bucket_object" "script" {
129129
bucket = aws_s3_bucket.code-bucket.bucket
130130
key = "main.py"
131131
source = "${path.module}/src/main.py"
@@ -139,7 +139,7 @@ data "archive_file" "python" {
139139
source_dir = "${path.module}/src"
140140
}
141141

142-
resource "aws_s3_bucket_object" "code-data-object" {
142+
resource "aws_s3_bucket_object" "zip" {
143143
bucket = aws_s3_bucket.code-bucket.bucket
144144
key = "main.py"
145145
source = data.archive_file.python
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
output "bucket_name" {
2-
description = "Name of the reporting S3 bucket"
2+
description = "Name of the truststore S3 bucket"
33
value = aws_s3_bucket.api_truststore.bucket
44
}
55

66
output "certificates_object_key" {
7-
description = "Key of the reporting certificates object"
7+
description = "Key of the truststore certificates object"
88
value = aws_s3_object.api_truststore_certificate.key
99
}

0 commit comments

Comments
 (0)