new glimpse approach
This commit is contained in:
313
terraform.tfstate.d/test/terraform.tfstate.backup
Normal file
313
terraform.tfstate.d/test/terraform.tfstate.backup
Normal file
@@ -0,0 +1,313 @@
|
||||
{
|
||||
"version": 4,
|
||||
"terraform_version": "1.15.1",
|
||||
"serial": 6,
|
||||
"lineage": "d233b79d-da3f-cd9d-4b62-af1c850901ee",
|
||||
"outputs": {},
|
||||
"resources": [
|
||||
{
|
||||
"mode": "data",
|
||||
"type": "archive_file",
|
||||
"name": "lambda",
|
||||
"provider": "provider[\"registry.terraform.io/hashicorp/archive\"]",
|
||||
"instances": [
|
||||
{
|
||||
"schema_version": 0,
|
||||
"attributes": {
|
||||
"exclude_symlink_directories": null,
|
||||
"excludes": null,
|
||||
"id": "076a08927a351c0f32ee35bce706df144469e677",
|
||||
"output_base64sha256": "JhTe97YTSvuFlvDFGzhFP+f6yE7Rn6HSp2Y1SYVlOVY=",
|
||||
"output_base64sha512": "P1Z89ahd14HUlbP7q8yNoFmZPu6B9w95stgmbqEkpWdx1NhJwdiNN4iYDqdHJI/q6cdzE1xLkU8wxwyDIWZj+Q==",
|
||||
"output_file_mode": null,
|
||||
"output_md5": "5d9102792c60073f6c15da416babe408",
|
||||
"output_path": "lambda_function_payload.zip",
|
||||
"output_sha": "076a08927a351c0f32ee35bce706df144469e677",
|
||||
"output_sha256": "2614def7b6134afb8596f0c51b38453fe7fac84ed19fa1d2a766354985653956",
|
||||
"output_sha512": "3f567cf5a85dd781d495b3fbabcc8da059993eee81f70f79b2d8266ea124a56771d4d849c1d88d3788980ea747248feae9c773135c4b914f30c70c83216663f9",
|
||||
"output_size": 12141,
|
||||
"source": [],
|
||||
"source_content": null,
|
||||
"source_content_filename": null,
|
||||
"source_dir": "./code",
|
||||
"source_file": null,
|
||||
"type": "zip"
|
||||
},
|
||||
"sensitive_attributes": [],
|
||||
"identity_schema_version": 0
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"mode": "data",
|
||||
"type": "archive_file",
|
||||
"name": "layer",
|
||||
"provider": "provider[\"registry.terraform.io/hashicorp/archive\"]",
|
||||
"instances": [
|
||||
{
|
||||
"schema_version": 0,
|
||||
"attributes": {
|
||||
"exclude_symlink_directories": null,
|
||||
"excludes": null,
|
||||
"id": "b2027e85f6c1607a31456d9bab04adea560c124a",
|
||||
"output_base64sha256": "dB5NITnNHiiWWQtFv9f3eYWRilrtiE60AJNMWRadSlA=",
|
||||
"output_base64sha512": "YSSHtd8poCa26moOzdrQBJ8zuSK2L2N7XOIJq7KgDerdfbty2gPkcNi7Y/7jQ1UHP++Wft9vZO3P0zYO6T5tmA==",
|
||||
"output_file_mode": null,
|
||||
"output_md5": "777cb1543745e89136e2e9efe52b7dee",
|
||||
"output_path": "./layer.zip",
|
||||
"output_sha": "b2027e85f6c1607a31456d9bab04adea560c124a",
|
||||
"output_sha256": "741e4d2139cd1e2896590b45bfd7f77985918a5aed884eb400934c59169d4a50",
|
||||
"output_sha512": "612487b5df29a026b6ea6a0ecddad0049f33b922b62f637b5ce209abb2a00deadd7dbb72da03e470d8bb63fee34355073fef967edf6f64edcfd3360ee93e6d98",
|
||||
"output_size": 7103838,
|
||||
"source": [],
|
||||
"source_content": null,
|
||||
"source_content_filename": null,
|
||||
"source_dir": "./layer",
|
||||
"source_file": null,
|
||||
"type": "zip"
|
||||
},
|
||||
"sensitive_attributes": [],
|
||||
"identity_schema_version": 0
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"mode": "data",
|
||||
"type": "aws_iam_policy_document",
|
||||
"name": "assume_role",
|
||||
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
|
||||
"instances": [
|
||||
{
|
||||
"schema_version": 0,
|
||||
"attributes": {
|
||||
"id": "2690255455",
|
||||
"json": "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Effect\": \"Allow\",\n \"Action\": \"sts:AssumeRole\",\n \"Principal\": {\n \"Service\": \"lambda.amazonaws.com\"\n }\n }\n ]\n}",
|
||||
"minified_json": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Effect\":\"Allow\",\"Action\":\"sts:AssumeRole\",\"Principal\":{\"Service\":\"lambda.amazonaws.com\"}}]}",
|
||||
"override_json": null,
|
||||
"override_policy_documents": null,
|
||||
"policy_id": null,
|
||||
"source_json": null,
|
||||
"source_policy_documents": null,
|
||||
"statement": [
|
||||
{
|
||||
"actions": [
|
||||
"sts:AssumeRole"
|
||||
],
|
||||
"condition": [],
|
||||
"effect": "Allow",
|
||||
"not_actions": [],
|
||||
"not_principals": [],
|
||||
"not_resources": [],
|
||||
"principals": [
|
||||
{
|
||||
"identifiers": [
|
||||
"lambda.amazonaws.com"
|
||||
],
|
||||
"type": "Service"
|
||||
}
|
||||
],
|
||||
"resources": [],
|
||||
"sid": ""
|
||||
}
|
||||
],
|
||||
"version": "2012-10-17"
|
||||
},
|
||||
"sensitive_attributes": [],
|
||||
"identity_schema_version": 0
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"mode": "managed",
|
||||
"type": "aws_iam_role",
|
||||
"name": "iam_for_lambda",
|
||||
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
|
||||
"instances": [
|
||||
{
|
||||
"schema_version": 0,
|
||||
"attributes": {
|
||||
"arn": "arn:aws:iam::695105795926:role/glimpse2-test",
|
||||
"assume_role_policy": "{\"Statement\":[{\"Action\":\"sts:AssumeRole\",\"Effect\":\"Allow\",\"Principal\":{\"Service\":\"lambda.amazonaws.com\"}}],\"Version\":\"2012-10-17\"}",
|
||||
"create_date": "2026-05-27T17:09:01Z",
|
||||
"description": "",
|
||||
"force_detach_policies": false,
|
||||
"id": "glimpse2-test",
|
||||
"inline_policy": [],
|
||||
"managed_policy_arns": [],
|
||||
"max_session_duration": 3600,
|
||||
"name": "glimpse2-test",
|
||||
"name_prefix": "",
|
||||
"path": "/",
|
||||
"permissions_boundary": "",
|
||||
"tags": null,
|
||||
"tags_all": {},
|
||||
"unique_id": "AROA2DV4IW5LLMAWHIGZQ"
|
||||
},
|
||||
"sensitive_attributes": [],
|
||||
"identity_schema_version": 0,
|
||||
"private": "bnVsbA==",
|
||||
"dependencies": [
|
||||
"data.aws_iam_policy_document.assume_role"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"mode": "managed",
|
||||
"type": "aws_lambda_function",
|
||||
"name": "test_lambda",
|
||||
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
|
||||
"instances": [
|
||||
{
|
||||
"schema_version": 0,
|
||||
"attributes": {
|
||||
"architectures": [
|
||||
"x86_64"
|
||||
],
|
||||
"arn": "arn:aws:lambda:us-east-1:695105795926:function:glimpse2-test",
|
||||
"code_sha256": "JhTe97YTSvuFlvDFGzhFP+f6yE7Rn6HSp2Y1SYVlOVY=",
|
||||
"code_signing_config_arn": "",
|
||||
"dead_letter_config": [],
|
||||
"description": "",
|
||||
"environment": [
|
||||
{
|
||||
"variables": {
|
||||
"environment": "test"
|
||||
}
|
||||
}
|
||||
],
|
||||
"ephemeral_storage": [
|
||||
{
|
||||
"size": 512
|
||||
}
|
||||
],
|
||||
"file_system_config": [],
|
||||
"filename": "lambda_function_payload.zip",
|
||||
"function_name": "glimpse2-test",
|
||||
"handler": "main.handler",
|
||||
"id": "glimpse2-test",
|
||||
"image_config": [],
|
||||
"image_uri": "",
|
||||
"invoke_arn": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:695105795926:function:glimpse2-test/invocations",
|
||||
"kms_key_arn": "",
|
||||
"last_modified": "2026-05-27T17:09:08.994+0000",
|
||||
"layers": [
|
||||
"arn:aws:lambda:us-east-1:695105795926:layer:openai-layer-test:1"
|
||||
],
|
||||
"logging_config": [
|
||||
{
|
||||
"application_log_level": "",
|
||||
"log_format": "Text",
|
||||
"log_group": "/aws/lambda/glimpse2-test",
|
||||
"system_log_level": ""
|
||||
}
|
||||
],
|
||||
"memory_size": 512,
|
||||
"package_type": "Zip",
|
||||
"publish": false,
|
||||
"qualified_arn": "arn:aws:lambda:us-east-1:695105795926:function:glimpse2-test:$LATEST",
|
||||
"qualified_invoke_arn": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:695105795926:function:glimpse2-test:$LATEST/invocations",
|
||||
"replace_security_groups_on_destroy": null,
|
||||
"replacement_security_group_ids": null,
|
||||
"reserved_concurrent_executions": -1,
|
||||
"role": "arn:aws:iam::695105795926:role/glimpse2-test",
|
||||
"runtime": "python3.11",
|
||||
"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": "JhTe97YTSvuFlvDFGzhFP+f6yE7Rn6HSp2Y1SYVlOVY=",
|
||||
"source_code_size": 12141,
|
||||
"tags": null,
|
||||
"tags_all": {},
|
||||
"timeout": 60,
|
||||
"timeouts": null,
|
||||
"tracing_config": [
|
||||
{
|
||||
"mode": "PassThrough"
|
||||
}
|
||||
],
|
||||
"version": "$LATEST",
|
||||
"vpc_config": []
|
||||
},
|
||||
"sensitive_attributes": [],
|
||||
"identity_schema_version": 0,
|
||||
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwLCJ1cGRhdGUiOjYwMDAwMDAwMDAwMH19",
|
||||
"dependencies": [
|
||||
"aws_iam_role.iam_for_lambda",
|
||||
"aws_lambda_layer_version.layer",
|
||||
"data.archive_file.lambda",
|
||||
"data.archive_file.layer",
|
||||
"data.aws_iam_policy_document.assume_role",
|
||||
"null_resource.pip_install"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"mode": "managed",
|
||||
"type": "aws_lambda_layer_version",
|
||||
"name": "layer",
|
||||
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
|
||||
"instances": [
|
||||
{
|
||||
"schema_version": 0,
|
||||
"attributes": {
|
||||
"arn": "arn:aws:lambda:us-east-1:695105795926:layer:openai-layer-test:1",
|
||||
"code_sha256": "dB5NITnNHiiWWQtFv9f3eYWRilrtiE60AJNMWRadSlA=",
|
||||
"compatible_architectures": null,
|
||||
"compatible_runtimes": [
|
||||
"python3.11"
|
||||
],
|
||||
"created_date": "2026-05-27T17:09:07.743+0000",
|
||||
"description": "",
|
||||
"filename": "./layer.zip",
|
||||
"id": "arn:aws:lambda:us-east-1:695105795926:layer:openai-layer-test:1",
|
||||
"layer_arn": "arn:aws:lambda:us-east-1:695105795926:layer:openai-layer-test",
|
||||
"layer_name": "openai-layer-test",
|
||||
"license_info": "",
|
||||
"s3_bucket": null,
|
||||
"s3_key": null,
|
||||
"s3_object_version": null,
|
||||
"signing_job_arn": "",
|
||||
"signing_profile_version_arn": "",
|
||||
"skip_destroy": false,
|
||||
"source_code_hash": "dB5NITnNHiiWWQtFv9f3eYWRilrtiE60AJNMWRadSlA=",
|
||||
"source_code_size": 7103838,
|
||||
"version": "1"
|
||||
},
|
||||
"sensitive_attributes": [],
|
||||
"identity_schema_version": 0,
|
||||
"private": "bnVsbA==",
|
||||
"dependencies": [
|
||||
"data.archive_file.layer",
|
||||
"null_resource.pip_install"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"mode": "managed",
|
||||
"type": "null_resource",
|
||||
"name": "pip_install",
|
||||
"provider": "provider[\"registry.terraform.io/hashicorp/null\"]",
|
||||
"instances": [
|
||||
{
|
||||
"schema_version": 0,
|
||||
"attributes": {
|
||||
"id": "5491774440303221650",
|
||||
"triggers": {
|
||||
"shell_hash": "84016380c6c240dd563a10e364ece2d65f4ad6c7313b2dd69cefbeb949fcfa4b"
|
||||
}
|
||||
},
|
||||
"sensitive_attributes": [],
|
||||
"identity_schema_version": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"check_results": null
|
||||
}
|
||||
Reference in New Issue
Block a user