adding dev deployment
This commit is contained in:
@@ -0,0 +1,157 @@
|
||||
{
|
||||
"version": 4,
|
||||
"terraform_version": "0.13.5",
|
||||
"serial": 31,
|
||||
"lineage": "9232bec8-e306-d87e-d0ff-5f5901d34c76",
|
||||
"outputs": {},
|
||||
"resources": [
|
||||
{
|
||||
"mode": "data",
|
||||
"type": "archive_file",
|
||||
"name": "lambda_main",
|
||||
"provider": "provider[\"registry.terraform.io/hashicorp/archive\"]",
|
||||
"instances": [
|
||||
{
|
||||
"schema_version": 0,
|
||||
"attributes": {
|
||||
"excludes": null,
|
||||
"id": "320d4868dd37d1674e98bd790b8a54b006838d04",
|
||||
"output_base64sha256": "5EVmwQDkgGfYMpMXNaWHUz3cmb/dSssoWl8mM8o3aMs=",
|
||||
"output_md5": "611fc9e8b494e4b399217f632b8e35ed",
|
||||
"output_path": "./lambda/main.js.zip",
|
||||
"output_sha": "320d4868dd37d1674e98bd790b8a54b006838d04",
|
||||
"output_size": 601,
|
||||
"source": [],
|
||||
"source_content": null,
|
||||
"source_content_filename": null,
|
||||
"source_dir": null,
|
||||
"source_file": "./lambda/main.js",
|
||||
"type": "zip"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"mode": "managed",
|
||||
"type": "aws_iam_policy",
|
||||
"name": "lambda_logging",
|
||||
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
|
||||
"instances": [
|
||||
{
|
||||
"schema_version": 0,
|
||||
"attributes": {
|
||||
"arn": "arn:aws:iam::745437999005:policy/dev-onmyojideckbuilder-lambda_logging",
|
||||
"description": "",
|
||||
"id": "arn:aws:iam::745437999005:policy/dev-onmyojideckbuilder-lambda_logging",
|
||||
"name": "dev-onmyojideckbuilder-lambda_logging",
|
||||
"name_prefix": null,
|
||||
"path": "/",
|
||||
"policy": "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Action\": [\n \"logs:CreateLogGroup\",\n \"logs:CreateLogStream\",\n \"logs:PutLogEvents\"\n ],\n \"Resource\": \"arn:aws:logs:*:*:*\",\n \"Effect\": \"Allow\"\n }\n ]\n}\n"
|
||||
},
|
||||
"private": "bnVsbA=="
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"mode": "managed",
|
||||
"type": "aws_iam_role",
|
||||
"name": "lambda_role",
|
||||
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
|
||||
"instances": [
|
||||
{
|
||||
"schema_version": 0,
|
||||
"attributes": {
|
||||
"arn": "arn:aws:iam::745437999005:role/dev-onmyojideckbuilder-lambda",
|
||||
"assume_role_policy": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Effect\":\"Allow\",\"Principal\":{\"Service\":[\"lambda.amazonaws.com\",\"edgelambda.amazonaws.com\"]},\"Action\":\"sts:AssumeRole\"}]}",
|
||||
"create_date": "2021-03-19T03:02:49Z",
|
||||
"description": "",
|
||||
"force_detach_policies": false,
|
||||
"id": "dev-onmyojideckbuilder-lambda",
|
||||
"max_session_duration": 3600,
|
||||
"name": "dev-onmyojideckbuilder-lambda",
|
||||
"name_prefix": null,
|
||||
"path": "/",
|
||||
"permissions_boundary": null,
|
||||
"tags": {
|
||||
"Description": "website to build and share onmyoji decks",
|
||||
"Project": "onmyoji-deck-builder"
|
||||
},
|
||||
"unique_id": "AROA23D4RF6O5CZILWBI3"
|
||||
},
|
||||
"private": "bnVsbA=="
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"mode": "managed",
|
||||
"type": "aws_iam_role_policy_attachment",
|
||||
"name": "lambda_logging",
|
||||
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
|
||||
"instances": [
|
||||
{
|
||||
"schema_version": 0,
|
||||
"attributes": {
|
||||
"id": "dev-onmyojideckbuilder-lambda-20210319030251359100000002",
|
||||
"policy_arn": "arn:aws:iam::745437999005:policy/dev-onmyojideckbuilder-lambda_logging",
|
||||
"role": "dev-onmyojideckbuilder-lambda"
|
||||
},
|
||||
"private": "bnVsbA==",
|
||||
"dependencies": [
|
||||
"aws_iam_policy.lambda_logging",
|
||||
"aws_iam_role.lambda_role"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"mode": "managed",
|
||||
"type": "aws_lambda_function",
|
||||
"name": "directory_indexes",
|
||||
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"].us_east_1",
|
||||
"instances": [
|
||||
{
|
||||
"schema_version": 0,
|
||||
"attributes": {
|
||||
"arn": "arn:aws:lambda:us-east-1:745437999005:function:dev-onmyojideckbuilder-directory_indexes",
|
||||
"dead_letter_config": [],
|
||||
"description": "",
|
||||
"environment": [],
|
||||
"file_system_config": [],
|
||||
"filename": "./lambda/main.js.zip",
|
||||
"function_name": "dev-onmyojideckbuilder-directory_indexes",
|
||||
"handler": "main.handler",
|
||||
"id": "dev-onmyojideckbuilder-directory_indexes",
|
||||
"invoke_arn": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:745437999005:function:dev-onmyojideckbuilder-directory_indexes/invocations",
|
||||
"kms_key_arn": "",
|
||||
"last_modified": "2021-03-19T03:02:57.785+0000",
|
||||
"layers": [],
|
||||
"memory_size": 128,
|
||||
"publish": true,
|
||||
"qualified_arn": "arn:aws:lambda:us-east-1:745437999005:function:dev-onmyojideckbuilder-directory_indexes:1",
|
||||
"reserved_concurrent_executions": -1,
|
||||
"role": "arn:aws:iam::745437999005:role/dev-onmyojideckbuilder-lambda",
|
||||
"runtime": "nodejs12.x",
|
||||
"s3_bucket": null,
|
||||
"s3_key": null,
|
||||
"s3_object_version": null,
|
||||
"source_code_hash": "5EVmwQDkgGfYMpMXNaWHUz3cmb/dSssoWl8mM8o3aMs=",
|
||||
"source_code_size": 601,
|
||||
"tags": {
|
||||
"Description": "website to build and share onmyoji decks",
|
||||
"Project": "onmyoji-deck-builder"
|
||||
},
|
||||
"timeout": 3,
|
||||
"timeouts": null,
|
||||
"tracing_config": [
|
||||
{
|
||||
"mode": "PassThrough"
|
||||
}
|
||||
],
|
||||
"version": "1",
|
||||
"vpc_config": []
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user