File tree Expand file tree Collapse file tree 3 files changed +4
-16
lines changed
terraform/account-wide-infrastructure/modules Expand file tree Collapse file tree 3 files changed +4
-16
lines changed Original file line number Diff line number Diff 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" ],
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 11output "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
66output "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}
You can’t perform that action at this time.
0 commit comments