-
Notifications
You must be signed in to change notification settings - Fork 0
/
terraform.tfstate
553 lines (553 loc) · 25.1 KB
/
terraform.tfstate
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
{
"version": 4,
"terraform_version": "1.2.4",
"serial": 33,
"lineage": "2e1ef329-2c50-c2b2-d67a-c3ed41b35cab",
"outputs": {
"aws_ecr_repository": {
"value": "583625886946.dkr.ecr.us-west-2.amazonaws.com/lambda-github-action-trigger",
"type": "string"
}
},
"resources": [
{
"mode": "data",
"type": "archive_file",
"name": "zip_the_python_code",
"provider": "provider[\"registry.terraform.io/hashicorp/archive\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"exclude_symlink_directories": null,
"excludes": null,
"id": "2b3158bd2b31352e8140b3b2f0b489a0ec283b88",
"output_base64sha256": "cBdc4A2twM8Tug2E/af77pP+zFpikdqijadQBZoqV4g=",
"output_base64sha512": "pxuyX++Pnz3caWuUHQRuDQi00wDmuok7A7qprYkpSUZIG5CoPbwMUTRuAi0iZNJHFjxfqsn9j94EHY8jDoSGSA==",
"output_file_mode": null,
"output_md5": "320c26c145da8b471225bd80e63fd4ed",
"output_path": "./trigger_job.zip",
"output_sha": "2b3158bd2b31352e8140b3b2f0b489a0ec283b88",
"output_sha256": "70175ce00dadc0cf13ba0d84fda7fbee93fecc5a6291daa28da750059a2a5788",
"output_sha512": "a71bb25fef8f9f3ddc696b941d046e0d08b4d300e6ba893b03baa9ad89294946481b90a83dbc0c51346e022d2264d247163c5faac9fd8fde041d8f230e848648",
"output_size": 133,
"source": [],
"source_content": null,
"source_content_filename": null,
"source_dir": "./lambda/",
"source_file": null,
"type": "zip"
},
"sensitive_attributes": []
}
]
},
{
"mode": "data",
"type": "aws_ecr_authorization_token",
"name": "token",
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"authorization_token": "QVdTOmV5SndZW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biI6IjIiLCJ0eXBlIjoiREFUQV9LRVkiLCJleHBpcmF0aW9uIjoxNjg5NzQ1MjU1fQ==",
"proxy_endpoint": "https://583625886946.dkr.ecr.us-west-2.amazonaws.com",
"registry_id": null,
"user_name": "AWS"
},
"sensitive_attributes": []
}
]
},
{
"mode": "data",
"type": "aws_iam_policy_document",
"name": "bucket_policy",
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"id": "1330866554",
"json": "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"AllowBucketAccess\",\n \"Effect\": \"Allow\",\n \"Action\": [\n \"s3:PutObject\",\n \"s3:GetObject\",\n \"s3:DeleteObject\"\n ],\n \"Resource\": [\n \"arn:aws:s3:::runner-poc-testing-result/*\",\n \"arn:aws:s3:::runner-poc-bucket/*\"\n ]\n }\n ]\n}",
"override_json": null,
"override_policy_documents": null,
"policy_id": null,
"source_json": null,
"source_policy_documents": null,
"statement": [
{
"actions": [
"s3:DeleteObject",
"s3:GetObject",
"s3:PutObject"
],
"condition": [],
"effect": "Allow",
"not_actions": [],
"not_principals": [],
"not_resources": [],
"principals": [],
"resources": [
"arn:aws:s3:::runner-poc-bucket/*",
"arn:aws:s3:::runner-poc-testing-result/*"
],
"sid": "AllowBucketAccess"
}
],
"version": "2012-10-17"
},
"sensitive_attributes": []
}
]
},
{
"mode": "managed",
"type": "aws_ecr_repository",
"name": "repository",
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"arn": "arn:aws:ecr:us-west-2:583625886946:repository/lambda-github-action-trigger",
"encryption_configuration": [
{
"encryption_type": "AES256",
"kms_key": ""
}
],
"force_delete": null,
"id": "lambda-github-action-trigger",
"image_scanning_configuration": [
{
"scan_on_push": false
}
],
"image_tag_mutability": "MUTABLE",
"name": "lambda-github-action-trigger",
"registry_id": "583625886946",
"repository_url": "583625886946.dkr.ecr.us-west-2.amazonaws.com/lambda-github-action-trigger",
"tags": {},
"tags_all": {},
"timeouts": null
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiZGVsZXRlIjoxMjAwMDAwMDAwMDAwfX0="
}
]
},
{
"mode": "managed",
"type": "aws_iam_policy",
"name": "bucket_policy",
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"arn": "arn:aws:iam::583625886946:policy/S3BucketAccessPolicy",
"description": "",
"id": "arn:aws:iam::583625886946:policy/S3BucketAccessPolicy",
"name": "S3BucketAccessPolicy",
"name_prefix": "",
"path": "/",
"policy": "{\"Statement\":[{\"Action\":[\"s3:PutObject\",\"s3:GetObject\",\"s3:DeleteObject\"],\"Effect\":\"Allow\",\"Resource\":[\"arn:aws:s3:::runner-poc-testing-result/*\",\"arn:aws:s3:::runner-poc-bucket/*\"],\"Sid\":\"AllowBucketAccess\"}],\"Version\":\"2012-10-17\"}",
"policy_id": "ANPAYPYWQJTRNTGCRQJON",
"tags": {},
"tags_all": {}
},
"sensitive_attributes": [],
"private": "bnVsbA==",
"dependencies": [
"aws_s3_bucket.runner_poc_bucket",
"aws_s3_bucket.runner_poc_testing_result",
"data.aws_iam_policy_document.bucket_policy"
]
}
]
},
{
"mode": "managed",
"type": "aws_iam_policy",
"name": "iam_policy_for_lambda",
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"arn": "arn:aws:iam::583625886946:policy/aws_iam_policy_for_terraform_aws_lambda_role",
"description": "AWS IAM Policy for managing aws lambda role",
"id": "arn:aws:iam::583625886946:policy/aws_iam_policy_for_terraform_aws_lambda_role",
"name": "aws_iam_policy_for_terraform_aws_lambda_role",
"name_prefix": "",
"path": "/",
"policy": "{\"Statement\":[{\"Action\":[\"logs:CreateLogGroup\",\"logs:CreateLogStream\",\"logs:PutLogEvents\"],\"Effect\":\"Allow\",\"Resource\":\"arn:aws:logs:*:*:*\"}],\"Version\":\"2012-10-17\"}",
"policy_id": "ANPAYPYWQJTRIAPWFGBZE",
"tags": {},
"tags_all": {}
},
"sensitive_attributes": [],
"private": "bnVsbA=="
}
]
},
{
"mode": "managed",
"type": "aws_iam_role",
"name": "lambda_exec_role",
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"arn": "arn:aws:iam::583625886946:role/lambda-exec-role",
"assume_role_policy": "{\"Statement\":[{\"Action\":\"sts:AssumeRole\",\"Effect\":\"Allow\",\"Principal\":{\"Service\":\"lambda.amazonaws.com\"},\"Sid\":\"\"}],\"Version\":\"2012-10-17\"}",
"create_date": "2023-07-18T15:58:34Z",
"description": "",
"force_detach_policies": false,
"id": "lambda-exec-role",
"inline_policy": [],
"managed_policy_arns": [
"arn:aws:iam::583625886946:policy/aws_iam_policy_for_terraform_aws_lambda_role"
],
"max_session_duration": 3600,
"name": "lambda-exec-role",
"name_prefix": "",
"path": "/",
"permissions_boundary": null,
"role_last_used": [
{
"last_used_date": "2023-07-18T16:56:40Z",
"region": "us-west-2"
}
],
"tags": {},
"tags_all": {},
"unique_id": "AROAYPYWQJTRF3KWR27EY"
},
"sensitive_attributes": [],
"private": "bnVsbA=="
}
]
},
{
"mode": "managed",
"type": "aws_iam_role_policy_attachment",
"name": "attach_iam_policy_to_iam_role",
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"id": "lambda-exec-role-20230718161130881400000001",
"policy_arn": "arn:aws:iam::583625886946:policy/aws_iam_policy_for_terraform_aws_lambda_role",
"role": "lambda-exec-role"
},
"sensitive_attributes": [],
"private": "bnVsbA==",
"dependencies": [
"aws_iam_policy.iam_policy_for_lambda",
"aws_iam_role.lambda_exec_role"
]
}
]
},
{
"mode": "managed",
"type": "aws_lambda_function",
"name": "trigger_github_action",
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"architectures": [
"x86_64"
],
"arn": "arn:aws:lambda:us-west-2:583625886946:function:TriggerGithubAction",
"code_signing_config_arn": "",
"dead_letter_config": [],
"description": "",
"environment": [],
"ephemeral_storage": [
{
"size": 512
}
],
"file_system_config": [],
"filename": null,
"function_name": "TriggerGithubAction",
"handler": "",
"id": "TriggerGithubAction",
"image_config": [],
"image_uri": "583625886946.dkr.ecr.us-west-2.amazonaws.com/lambda-github-action-trigger:latest",
"invoke_arn": "arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:583625886946:function:TriggerGithubAction/invocations",
"kms_key_arn": "",
"last_modified": "2023-07-18T17:41:02.742+0000",
"layers": null,
"memory_size": 128,
"package_type": "Image",
"publish": false,
"qualified_arn": "arn:aws:lambda:us-west-2:583625886946:function:TriggerGithubAction:$LATEST",
"qualified_invoke_arn": "arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:583625886946:function:TriggerGithubAction:$LATEST/invocations",
"replace_security_groups_on_destroy": null,
"replacement_security_group_ids": null,
"reserved_concurrent_executions": -1,
"role": "arn:aws:iam::583625886946:role/lambda-exec-role",
"runtime": "",
"s3_bucket": null,
"s3_key": null,
"s3_object_version": null,
"signing_job_arn": "",
"signing_profile_version_arn": "",
"skip_destroy": false,
"snap_start": [],
"source_code_hash": "346a170f5b1e77c5d5c54909ab53d80952c0ecc642e75c9a2d7f2afdec98146c",
"source_code_size": 0,
"tags": null,
"tags_all": {},
"timeout": 3,
"timeouts": null,
"tracing_config": [
{
"mode": "PassThrough"
}
],
"version": "$LATEST",
"vpc_config": []
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwLCJ1cGRhdGUiOjYwMDAwMDAwMDAwMH19",
"dependencies": [
"aws_ecr_repository.repository",
"aws_iam_role.lambda_exec_role",
"aws_iam_role_policy_attachment.attach_iam_policy_to_iam_role"
]
}
]
},
{
"mode": "managed",
"type": "aws_lambda_permission",
"name": "test",
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"action": "lambda:InvokeFunction",
"event_source_token": null,
"function_name": "TriggerGithubAction",
"function_url_auth_type": null,
"id": "AllowS3Invoke",
"principal": "s3.amazonaws.com",
"principal_org_id": null,
"qualifier": "",
"source_account": null,
"source_arn": "arn:aws:s3:::runner-poc-bucket",
"statement_id": "AllowS3Invoke",
"statement_id_prefix": ""
},
"sensitive_attributes": [],
"private": "bnVsbA==",
"dependencies": [
"aws_ecr_repository.repository",
"aws_iam_role.lambda_exec_role",
"aws_iam_role_policy_attachment.attach_iam_policy_to_iam_role",
"aws_lambda_function.trigger_github_action",
"aws_s3_bucket.runner_poc_bucket"
]
}
]
},
{
"mode": "managed",
"type": "aws_s3_bucket",
"name": "runner_poc_bucket",
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"acceleration_status": "",
"acl": "private",
"arn": "arn:aws:s3:::runner-poc-bucket",
"bucket": "runner-poc-bucket",
"bucket_domain_name": "runner-poc-bucket.s3.amazonaws.com",
"bucket_prefix": "",
"bucket_regional_domain_name": "runner-poc-bucket.s3.us-west-2.amazonaws.com",
"cors_rule": [],
"force_destroy": false,
"grant": [
{
"id": "d51c7d9dd5a6dc427c371391a7a1b84dc9b42418f13f07c406d64c334e571563",
"permissions": [
"FULL_CONTROL"
],
"type": "CanonicalUser",
"uri": ""
}
],
"hosted_zone_id": "Z3BJ6K6RIION7M",
"id": "runner-poc-bucket",
"lifecycle_rule": [],
"logging": [],
"object_lock_configuration": [],
"object_lock_enabled": false,
"policy": "",
"region": "us-west-2",
"replication_configuration": [],
"request_payer": "BucketOwner",
"server_side_encryption_configuration": [
{
"rule": [
{
"apply_server_side_encryption_by_default": [
{
"kms_master_key_id": "",
"sse_algorithm": "AES256"
}
],
"bucket_key_enabled": false
}
]
}
],
"tags": {},
"tags_all": {},
"timeouts": null,
"versioning": [
{
"enabled": true,
"mfa_delete": false
}
],
"website": [],
"website_domain": null,
"website_endpoint": null
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxMjAwMDAwMDAwMDAwLCJkZWxldGUiOjM2MDAwMDAwMDAwMDAsInJlYWQiOjEyMDAwMDAwMDAwMDAsInVwZGF0ZSI6MTIwMDAwMDAwMDAwMH19"
}
]
},
{
"mode": "managed",
"type": "aws_s3_bucket",
"name": "runner_poc_testing_result",
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"acceleration_status": "",
"acl": "private",
"arn": "arn:aws:s3:::runner-poc-testing-result",
"bucket": "runner-poc-testing-result",
"bucket_domain_name": "runner-poc-testing-result.s3.amazonaws.com",
"bucket_prefix": "",
"bucket_regional_domain_name": "runner-poc-testing-result.s3.us-west-2.amazonaws.com",
"cors_rule": [],
"force_destroy": false,
"grant": [
{
"id": "d51c7d9dd5a6dc427c371391a7a1b84dc9b42418f13f07c406d64c334e571563",
"permissions": [
"FULL_CONTROL"
],
"type": "CanonicalUser",
"uri": ""
}
],
"hosted_zone_id": "Z3BJ6K6RIION7M",
"id": "runner-poc-testing-result",
"lifecycle_rule": [],
"logging": [],
"object_lock_configuration": [],
"object_lock_enabled": false,
"policy": "",
"region": "us-west-2",
"replication_configuration": [],
"request_payer": "BucketOwner",
"server_side_encryption_configuration": [
{
"rule": [
{
"apply_server_side_encryption_by_default": [
{
"kms_master_key_id": "",
"sse_algorithm": "AES256"
}
],
"bucket_key_enabled": false
}
]
}
],
"tags": {},
"tags_all": {},
"timeouts": null,
"versioning": [
{
"enabled": true,
"mfa_delete": false
}
],
"website": [],
"website_domain": null,
"website_endpoint": null
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxMjAwMDAwMDAwMDAwLCJkZWxldGUiOjM2MDAwMDAwMDAwMDAsInJlYWQiOjEyMDAwMDAwMDAwMDAsInVwZGF0ZSI6MTIwMDAwMDAwMDAwMH19",
"dependencies": [
"aws_s3_bucket.runner_poc_bucket"
]
}
]
},
{
"mode": "managed",
"type": "aws_s3_bucket_notification",
"name": "runner_poc_bucket_notification",
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"bucket": "runner-poc-bucket",
"eventbridge": false,
"id": "runner-poc-bucket",
"lambda_function": [
{
"events": [
"s3:ObjectCreated:*"
],
"filter_prefix": "",
"filter_suffix": "",
"id": "tf-s3-lambda-20230718162357841200000001",
"lambda_function_arn": "arn:aws:lambda:us-west-2:583625886946:function:TriggerGithubAction"
}
],
"queue": [],
"topic": []
},
"sensitive_attributes": [],
"private": "bnVsbA==",
"dependencies": [
"aws_ecr_repository.repository",
"aws_iam_policy.iam_policy_for_lambda",
"aws_iam_role.lambda_exec_role",
"aws_iam_role_policy_attachment.attach_iam_policy_to_iam_role",
"aws_lambda_function.trigger_github_action",
"aws_s3_bucket.runner_poc_bucket"
]
}
]
}
]
}