issues
search
winglang
/
voting-app
MIT License
6
stars
4
forks
source link
try some fonts
#13
Closed
Chriscbr
closed
1 year ago
github-actions[bot]
commented
1 year ago
Terraform Plan
Show Plan
``` data.aws_region.Region: Reading... aws_cloudfront_origin_access_control.cloudWebsite_CloudfrontOac_C956968B: Refreshing state... [id=E1J2GO7P2VQ2EZ] aws_s3_object.cloudWebsite_File--static--js--mainf1d03206js_5FB083CD: Refreshing state... [id=/static/js/main.f1d03206.js] aws_iam_role.VotingAppApi_VotingAppApi-OnRequest-41f14472_IamRole_5F3056C5: Refreshing state... [id=terraform-20230727204725916100000001] data.aws_region.Region: Read complete after 0s [id=us-east-1] aws_s3_object.cloudWebsite_File--static--css--main3451cd13css_A369CB42: Refreshing state... [id=/static/css/main.3451cd13.css] aws_s3_object.cloudWebsite_File--static--js--mainf1d03206jsLICENSEtxt_4D897431: Refreshing state... [id=/static/js/main.f1d03206.js.LICENSE.txt] aws_s3_object.cloudWebsite_File--static--css--main3451cd13cssmap_B24EB286: Refreshing state... [id=/static/css/main.3451cd13.css.map] aws_iam_role.VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_IamRole_0FF833EF: Refreshing state... [id=terraform-20230803215115569800000002] aws_s3_object.cloudWebsite_File--static--js--mainf1d03206jsmap_6DC52951: Refreshing state... [id=/static/js/main.f1d03206.js.map] aws_dynamodb_table.VotingAppStore_Entries_tfawsdynamodbTableDynamodbTable_76D1C895: Refreshing state... [id=Entries-e91f54ab] aws_iam_role.VotingAppApi_VotingAppApi-OnRequest-52bc3c17_IamRole_CBB68D47: Refreshing state... [id=terraform-20230808003212924500000001] aws_iam_role.InitializeTable_Function_IamRole_E3F0843D: Refreshing state... [id=terraform-20230727202411672600000001] aws_s3_bucket.Code: Refreshing state... [id=code-c84a50b1-20230727202411678600000003] aws_s3_bucket.cloudWebsite_WebsiteBucket_EB03D355: Refreshing state... [id=cloud-website-c8e58765-20230803215115368500000001] aws_iam_role_policy.VotingAppApi_VotingAppApi-OnRequest-41f14472_IamRolePolicy_25C9720E: Refreshing state... [id=terraform-20230727204725916100000001:terraform-20230727204739773400000005] aws_iam_role_policy_attachment.VotingAppApi_VotingAppApi-OnRequest-41f14472_IamRolePolicyAttachment_E1980EB1: Refreshing state... [id=terraform-20230727204725916100000001-20230727204726450200000003] aws_iam_role_policy_attachment.VotingAppApi_VotingAppApi-OnRequest-52bc3c17_IamRolePolicyAttachment_92A90320: Refreshing state... [id=terraform-20230808003212924500000001-20230808003213158800000002] aws_iam_role_policy.VotingAppApi_VotingAppApi-OnRequest-52bc3c17_IamRolePolicy_0F307DC9: Refreshing state... [id=terraform-20230808003212924500000001:terraform-20230808003225755300000003] aws_iam_role_policy_attachment.VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_IamRolePolicyAttachment_055C2EDA: Refreshing state... [id=terraform-20230803215115569800000002-20230803215115890800000004] aws_iam_role_policy.VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_IamRolePolicy_2D34FA97: Refreshing state... [id=terraform-20230803215115569800000002:terraform-20230803215115813700000003] aws_iam_role_policy.InitializeTable_Function_IamRolePolicy_2AD89519: Refreshing state... [id=terraform-20230727202411672600000001:terraform-20230727202424567600000008] aws_iam_role_policy_attachment.InitializeTable_Function_IamRolePolicyAttachment_4435DE19: Refreshing state... [id=terraform-20230727202411672600000001-20230727202411887400000005] aws_s3_object.VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_S3Object_F8CCE004: Refreshing state... [id=asset.c8cf8e09741b572c80a663f9c8cf9ce40395e87b08.a755aeb99c9877c1faafaf9b59e38da8.zip] aws_s3_object.VotingAppApi_VotingAppApi-OnRequest-52bc3c17_S3Object_F3A42DC6: Refreshing state... [id=asset.c89daf14978fb4fcb47ef703ae9610992b519c2727.4acc7b5910422db52aabfb2afe2f2c44.zip] aws_s3_object.InitializeTable_Function_S3Object_F5933D3B: Refreshing state... [id=asset.c8e7055bb3773d297f63b5172fb6a571cddc069012.3b6614a20cf2ab64d7d13e42b726ad1a.zip] aws_s3_object.VotingAppApi_VotingAppApi-OnRequest-41f14472_S3Object_C95F6BA9: Refreshing state... [id=asset.c87bddf927b70f22f963a14d64ce5f4bf1372d398a.7af676d0bbd48d1c55cb3c2c1432c8a2.zip] aws_s3_object.cloudWebsite_File--logo512png_E26C5AA3: Refreshing state... [id=/logo512.png] aws_s3_object.cloudWebsite_File--asset-manifestjson_8187FE70: Refreshing state... [id=/asset-manifest.json] aws_cloudfront_distribution.cloudWebsite_Distribution_083B5AF9: Refreshing state... [id=E1QUV69RQ9ODON] aws_s3_object.cloudWebsite_File--static--js--78728cb0dcdchunkjs_40889769: Refreshing state... [id=/static/js/787.28cb0dcd.chunk.js] aws_s3_object.cloudWebsite_File--logo192png_6E513B20: Refreshing state... [id=/logo192.png] aws_s3_bucket_server_side_encryption_configuration.cloudWebsite_Encryption_6A8A4E29: Refreshing state... [id=cloud-website-c8e58765-20230803215115368500000001] aws_s3_bucket_website_configuration.cloudWebsite_BucketWebsiteConfiguration_920E8E41: Refreshing state... [id=cloud-website-c8e58765-20230803215115368500000001] aws_s3_object.cloudWebsite_File--indexhtml_2A2AE13C: Refreshing state... [id=/index.html] aws_s3_object.cloudWebsite_File--manifestjson_5AC33197: Refreshing state... [id=/manifest.json] aws_s3_bucket_public_access_block.cloudWebsite_PublicAccessBlock_18A70311: Refreshing state... [id=cloud-website-c8e58765-20230803215115368500000001] aws_s3_object.cloudWebsite_File--static--js--78728cb0dcdchunkjsmap_F5D0643F: Refreshing state... [id=/static/js/787.28cb0dcd.chunk.js.map] aws_s3_object.cloudWebsite_File--faviconico_A86052F9: Refreshing state... [id=/favicon.ico] aws_s3_object.cloudWebsite_File--robotstxt_F93900E9: Refreshing state... [id=/robots.txt] aws_lambda_function.VotingAppApi_VotingAppApi-OnRequest-52bc3c17_02CD08E6: Refreshing state... [id=VotingAppApi-OnRequest-52bc3c17-c89daf14] aws_lambda_function.VotingAppApi_VotingAppApi-OnRequest-41f14472_39478289: Refreshing state... [id=VotingAppApi-OnRequest-41f14472-c87bddf9] aws_lambda_function.InitializeTable_Function_FD00736D: Refreshing state... [id=Function-c8e7055b] aws_lambda_function.VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_93510F52: Refreshing state... [id=VotingAppApi-OnRequest-8d2e75ec-c8cf8e09] data.aws_iam_policy_document.cloudWebsite_AllowDistributionReadOnly_89DC4FD0: Reading... data.aws_iam_policy_document.cloudWebsite_AllowDistributionReadOnly_89DC4FD0: Read complete after 0s [id=573591717] aws_s3_bucket_policy.cloudWebsite_DistributionS3BucketPolicy_32B029AE: Refreshing state... [id=cloud-website-c8e58765-20230803215115368500000001] aws_api_gateway_rest_api.VotingAppApi_api_CB41EC98: Refreshing state... [id=dfh6uhtoa0] aws_lambda_permission.VotingAppApi_api_permission-POST-53dc1f64_98751060: Refreshing state... [id=AllowExecutionFromAPIGateway-POST-53dc1f64] aws_api_gateway_deployment.VotingAppApi_api_deployment_B9647894: Refreshing state... [id=q0wnc2] aws_lambda_permission.VotingAppApi_api_permission-POST-57590acc_3E83C8F6: Refreshing state... [id=AllowExecutionFromAPIGateway-POST-57590acc] aws_lambda_permission.VotingAppApi_api_permission-GET-5969f3af_56B4A504: Refreshing state... [id=AllowExecutionFromAPIGateway-GET-5969f3af] aws_api_gateway_stage.VotingAppApi_api_stage_9B2FA9EA: Refreshing state... [id=ags-dfh6uhtoa0-prod] aws_s3_object.cloudWebsite_File-configjson_591A81BA: Refreshing state... [id=config.json] Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: + create ~ update in-place - destroy -/+ destroy and then create replacement +/- create replacement and then destroy <= read (data resources) Terraform will perform the following actions: # data.aws_lambda_invocation.InitializeTable_Invocation_6E01246F will be read during apply # (depends on a resource or a module with changes pending) <= data "aws_lambda_invocation" "InitializeTable_Invocation_6E01246F" { + function_name = "Function-c8e7055b" + id = (known after apply) + input = jsonencode({}) + result = (known after apply) } # aws_iam_role_policy.InitializeTable_Function_IamRolePolicy_2AD89519 will be updated in-place ~ resource "aws_iam_role_policy" "InitializeTable_Function_IamRolePolicy_2AD89519" { id = "terraform-20230727202411672600000001:terraform-20230727202424567600000008" name = "terraform-20230727202424567600000008" ~ policy = jsonencode( ~ { ~ Statement = [ ~ { ~ Action = [ - "dynamodb:PutItem", ] -> "none:null" ~ Resource = [ - "arn:aws:dynamodb:us-east-1:223316951128:table/Entries-e91f54ab", ] -> "*" # (1 unchanged attribute hidden) }, ] # (1 unchanged attribute hidden) } ) # (1 unchanged attribute hidden) } # aws_iam_role_policy.VotingAppApi_VotingAppApi-OnRequest-41f14472_IamRolePolicy_25C9720E will be updated in-place ~ resource "aws_iam_role_policy" "VotingAppApi_VotingAppApi-OnRequest-41f14472_IamRolePolicy_25C9720E" { id = "terraform-20230727204725916100000001:terraform-20230727204739773400000005" name = "terraform-20230727204739773400000005" ~ policy = jsonencode( ~ { ~ Statement = [ ~ { ~ Action = [ - "dynamodb:PutItem", ] -> "none:null" ~ Resource = [ - "arn:aws:dynamodb:us-east-1:223316951128:table/Entries-e91f54ab", ] -> "*" # (1 unchanged attribute hidden) }, - { - Action = [ - "dynamodb:GetItem", ] - Effect = "Allow" - Resource = [ - "arn:aws:dynamodb:us-east-1:223316951128:table/Entries-e91f54ab", ] }, - { - Action = [ - "dynamodb:Scan", ] - Effect = "Allow" - Resource = [ - "arn:aws:dynamodb:us-east-1:223316951128:table/Entries-e91f54ab", ] }, ] # (1 unchanged attribute hidden) } ) # (1 unchanged attribute hidden) } # aws_iam_role_policy.VotingAppApi_VotingAppApi-OnRequest-52bc3c17_IamRolePolicy_0F307DC9 will be updated in-place ~ resource "aws_iam_role_policy" "VotingAppApi_VotingAppApi-OnRequest-52bc3c17_IamRolePolicy_0F307DC9" { id = "terraform-20230808003212924500000001:terraform-20230808003225755300000003" name = "terraform-20230808003225755300000003" ~ policy = jsonencode( ~ { ~ Statement = [ ~ { ~ Action = [ - "dynamodb:Scan", ] -> "none:null" ~ Resource = [ - "arn:aws:dynamodb:us-east-1:223316951128:table/Entries-e91f54ab", ] -> "*" # (1 unchanged attribute hidden) }, ] # (1 unchanged attribute hidden) } ) # (1 unchanged attribute hidden) } # aws_iam_role_policy.VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_IamRolePolicy_2D34FA97 will be updated in-place ~ resource "aws_iam_role_policy" "VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_IamRolePolicy_2D34FA97" { id = "terraform-20230803215115569800000002:terraform-20230803215115813700000003" name = "terraform-20230803215115813700000003" ~ policy = jsonencode( ~ { ~ Statement = [ ~ { ~ Action = [ - "dynamodb:Scan", ] -> "none:null" ~ Resource = [ - "arn:aws:dynamodb:us-east-1:223316951128:table/Entries-e91f54ab", ] -> "*" # (1 unchanged attribute hidden) }, ] # (1 unchanged attribute hidden) } ) # (1 unchanged attribute hidden) } # aws_lambda_function.InitializeTable_Function_FD00736D will be updated in-place ~ resource "aws_lambda_function" "InitializeTable_Function_FD00736D" { id = "Function-c8e7055b" ~ last_modified = "2023-08-11T02:18:48.000+0000" -> (known after apply) ~ qualified_arn = "arn:aws:lambda:us-east-1:223316951128:function:Function-c8e7055b:11" -> (known after apply) ~ qualified_invoke_arn = "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:223316951128:function:Function-c8e7055b:11/invocations" -> (known after apply) ~ s3_key = "asset.c8e7055bb3773d297f63b5172fb6a571cddc069012.3b6614a20cf2ab64d7d13e42b726ad1a.zip" -> "asset.c8e7055bb3773d297f63b5172fb6a571cddc069012.234daee6072477001d1d7c0b9f2e7cbc.zip" tags = {} ~ version = "11" -> (known after apply) # (18 unchanged attributes hidden) # (3 unchanged blocks hidden) } # aws_lambda_function.VotingAppApi_VotingAppApi-OnRequest-41f14472_39478289 will be updated in-place ~ resource "aws_lambda_function" "VotingAppApi_VotingAppApi-OnRequest-41f14472_39478289" { id = "VotingAppApi-OnRequest-41f14472-c87bddf9" ~ last_modified = "2023-08-11T02:18:48.000+0000" -> (known after apply) ~ qualified_arn = "arn:aws:lambda:us-east-1:223316951128:function:VotingAppApi-OnRequest-41f14472-c87bddf9:10" -> (known after apply) ~ qualified_invoke_arn = "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:223316951128:function:VotingAppApi-OnRequest-41f14472-c87bddf9:10/invocations" -> (known after apply) ~ s3_key = "asset.c87bddf927b70f22f963a14d64ce5f4bf1372d398a.7af676d0bbd48d1c55cb3c2c1432c8a2.zip" -> "asset.c87bddf927b70f22f963a14d64ce5f4bf1372d398a.86a7f7300f1be61beaea8ce8a0586702.zip" tags = {} ~ version = "10" -> (known after apply) # (18 unchanged attributes hidden) # (3 unchanged blocks hidden) } # aws_lambda_function.VotingAppApi_VotingAppApi-OnRequest-52bc3c17_02CD08E6 will be updated in-place ~ resource "aws_lambda_function" "VotingAppApi_VotingAppApi-OnRequest-52bc3c17_02CD08E6" { id = "VotingAppApi-OnRequest-52bc3c17-c89daf14" ~ last_modified = "2023-08-11T02:18:48.000+0000" -> (known after apply) ~ qualified_arn = "arn:aws:lambda:us-east-1:223316951128:function:VotingAppApi-OnRequest-52bc3c17-c89daf14:7" -> (known after apply) ~ qualified_invoke_arn = "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:223316951128:function:VotingAppApi-OnRequest-52bc3c17-c89daf14:7/invocations" -> (known after apply) ~ s3_key = "asset.c89daf14978fb4fcb47ef703ae9610992b519c2727.4acc7b5910422db52aabfb2afe2f2c44.zip" -> "asset.c89daf14978fb4fcb47ef703ae9610992b519c2727.606521aec4eda5a0e915779ca5dcc0f6.zip" tags = {} ~ version = "7" -> (known after apply) # (18 unchanged attributes hidden) # (3 unchanged blocks hidden) } # aws_lambda_function.VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_93510F52 will be updated in-place ~ resource "aws_lambda_function" "VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_93510F52" { id = "VotingAppApi-OnRequest-8d2e75ec-c8cf8e09" ~ last_modified = "2023-08-11T02:18:48.000+0000" -> (known after apply) ~ qualified_arn = "arn:aws:lambda:us-east-1:223316951128:function:VotingAppApi-OnRequest-8d2e75ec-c8cf8e09:9" -> (known after apply) ~ qualified_invoke_arn = "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:223316951128:function:VotingAppApi-OnRequest-8d2e75ec-c8cf8e09:9/invocations" -> (known after apply) ~ s3_key = "asset.c8cf8e09741b572c80a663f9c8cf9ce40395e87b08.a755aeb99c9877c1faafaf9b59e38da8.zip" -> "asset.c8cf8e09741b572c80a663f9c8cf9ce40395e87b08.d9ac7785aa2f64a2ff7f4f869a52eaeb.zip" tags = {} ~ version = "9" -> (known after apply) # (18 unchanged attributes hidden) # (3 unchanged blocks hidden) } # aws_s3_object.InitializeTable_Function_S3Object_F5933D3B must be replaced -/+ resource "aws_s3_object" "InitializeTable_Function_S3Object_F5933D3B" { ~ bucket_key_enabled = false -> (known after apply) ~ content_type = "binary/octet-stream" -> (known after apply) ~ etag = "9d48ebaae79aba1bc96fb60a35a6b9aa" -> (known after apply) ~ id = "asset.c8e7055bb3773d297f63b5172fb6a571cddc069012.3b6614a20cf2ab64d7d13e42b726ad1a.zip" -> (known after apply) ~ key = "asset.c8e7055bb3773d297f63b5172fb6a571cddc069012.3b6614a20cf2ab64d7d13e42b726ad1a.zip" -> "asset.c8e7055bb3773d297f63b5172fb6a571cddc069012.234daee6072477001d1d7c0b9f2e7cbc.zip" # forces replacement + kms_key_id = (known after apply) - metadata = {} -> null ~ server_side_encryption = "AES256" -> (known after apply) ~ source = "assets/InitializeTable_Function_Asset_1A1B5BC3/3B6614A20CF2AB64D7D13E42B726AD1A/archive.zip" -> "assets/InitializeTable_Function_Asset_1A1B5BC3/234DAEE6072477001D1D7C0B9F2E7CBC/archive.zip" ~ storage_class = "STANDARD" -> (known after apply) - tags = {} -> null ~ tags_all = {} -> (known after apply) + version_id = (known after apply) # (3 unchanged attributes hidden) } # aws_s3_object.VotingAppApi_VotingAppApi-OnRequest-41f14472_S3Object_C95F6BA9 must be replaced +/- resource "aws_s3_object" "VotingAppApi_VotingAppApi-OnRequest-41f14472_S3Object_C95F6BA9" { ~ bucket_key_enabled = false -> (known after apply) ~ content_type = "binary/octet-stream" -> (known after apply) ~ etag = "ea96ebc302c72bbc7dcd39e3ad95f5d5" -> (known after apply) ~ id = "asset.c87bddf927b70f22f963a14d64ce5f4bf1372d398a.7af676d0bbd48d1c55cb3c2c1432c8a2.zip" -> (known after apply) ~ key = "asset.c87bddf927b70f22f963a14d64ce5f4bf1372d398a.7af676d0bbd48d1c55cb3c2c1432c8a2.zip" -> "asset.c87bddf927b70f22f963a14d64ce5f4bf1372d398a.86a7f7300f1be61beaea8ce8a0586702.zip" # forces replacement + kms_key_id = (known after apply) - metadata = {} -> null ~ server_side_encryption = "AES256" -> (known after apply) ~ source = "assets/VotingAppApi_VotingAppApi-OnRequest-41f14472_Asset_94F55D63/7AF676D0BBD48D1C55CB3C2C1432C8A2/archive.zip" -> "assets/VotingAppApi_VotingAppApi-OnRequest-41f14472_Asset_94F55D63/86A7F7300F1BE61BEAEA8CE8A0586702/archive.zip" ~ storage_class = "STANDARD" -> (known after apply) - tags = {} -> null ~ tags_all = {} -> (known after apply) + version_id = (known after apply) # (3 unchanged attributes hidden) } # aws_s3_object.VotingAppApi_VotingAppApi-OnRequest-52bc3c17_S3Object_F3A42DC6 must be replaced +/- resource "aws_s3_object" "VotingAppApi_VotingAppApi-OnRequest-52bc3c17_S3Object_F3A42DC6" { ~ bucket_key_enabled = false -> (known after apply) ~ content_type = "binary/octet-stream" -> (known after apply) ~ etag = "7d50d9591a15fe864225f8257d27900b" -> (known after apply) ~ id = "asset.c89daf14978fb4fcb47ef703ae9610992b519c2727.4acc7b5910422db52aabfb2afe2f2c44.zip" -> (known after apply) ~ key = "asset.c89daf14978fb4fcb47ef703ae9610992b519c2727.4acc7b5910422db52aabfb2afe2f2c44.zip" -> "asset.c89daf14978fb4fcb47ef703ae9610992b519c2727.606521aec4eda5a0e915779ca5dcc0f6.zip" # forces replacement + kms_key_id = (known after apply) - metadata = {} -> null ~ server_side_encryption = "AES256" -> (known after apply) ~ source = "assets/VotingAppApi_VotingAppApi-OnRequest-52bc3c17_Asset_FBAD96D6/4ACC7B5910422DB52AABFB2AFE2F2C44/archive.zip" -> "assets/VotingAppApi_VotingAppApi-OnRequest-52bc3c17_Asset_FBAD96D6/606521AEC4EDA5A0E915779CA5DCC0F6/archive.zip" ~ storage_class = "STANDARD" -> (known after apply) - tags = {} -> null ~ tags_all = {} -> (known after apply) + version_id = (known after apply) # (3 unchanged attributes hidden) } # aws_s3_object.VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_S3Object_F8CCE004 must be replaced +/- resource "aws_s3_object" "VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_S3Object_F8CCE004" { ~ bucket_key_enabled = false -> (known after apply) ~ content_type = "binary/octet-stream" -> (known after apply) ~ etag = "64d5b363474125d5e5f5034489869ec0" -> (known after apply) ~ id = "asset.c8cf8e09741b572c80a663f9c8cf9ce40395e87b08.a755aeb99c9877c1faafaf9b59e38da8.zip" -> (known after apply) ~ key = "asset.c8cf8e09741b572c80a663f9c8cf9ce40395e87b08.a755aeb99c9877c1faafaf9b59e38da8.zip" -> "asset.c8cf8e09741b572c80a663f9c8cf9ce40395e87b08.d9ac7785aa2f64a2ff7f4f869a52eaeb.zip" # forces replacement + kms_key_id = (known after apply) - metadata = {} -> null ~ server_side_encryption = "AES256" -> (known after apply) ~ source = "assets/VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_Asset_4A29FD21/A755AEB99C9877C1FAAFAF9B59E38DA8/archive.zip" -> "assets/VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_Asset_4A29FD21/D9AC7785AA2F64A2FF7F4F869A52EAEB/archive.zip" ~ storage_class = "STANDARD" -> (known after apply) - tags = {} -> null ~ tags_all = {} -> (known after apply) + version_id = (known after apply) # (3 unchanged attributes hidden) } # aws_s3_object.cloudWebsite_File--asset-manifestjson_8187FE70 will be updated in-place ~ resource "aws_s3_object" "cloudWebsite_File--asset-manifestjson_8187FE70" { id = "/asset-manifest.json" ~ source_hash = "2c6e0a51e8abd920539b39b9cc9b6991" -> "fcbd0a1e97001b130a95a96d644ed79a" tags = {} + version_id = (known after apply) # (12 unchanged attributes hidden) } # aws_s3_object.cloudWebsite_File--indexhtml_2A2AE13C will be updated in-place ~ resource "aws_s3_object" "cloudWebsite_File--indexhtml_2A2AE13C" { id = "/index.html" ~ source_hash = "e9fde7184296c040a6d5759a0a0d33d5" -> "1d2425f281397311a4f0e5e1f41ab29f" tags = {} + version_id = (known after apply) # (12 unchanged attributes hidden) } # aws_s3_object.cloudWebsite_File--static--css--main3451cd13css_A369CB42 will be destroyed # (because aws_s3_object.cloudWebsite_File--static--css--main3451cd13css_A369CB42 is not in configuration) - resource "aws_s3_object" "cloudWebsite_File--static--css--main3451cd13css_A369CB42" { - acl = "private" -> null - bucket = "cloud-website-c8e58765-20230803215115368500000001" -> null - bucket_key_enabled = false -> null - content_type = "text/css; charset=utf-8" -> null - etag = "fd86480ccee91b0b6b842205b076e202" -> null - force_destroy = false -> null - id = "/static/css/main.3451cd13.css" -> null - key = "/static/css/main.3451cd13.css" -> null - metadata = {} -> null - server_side_encryption = "AES256" -> null - source = "/github/workspace/website/build/static/css/main.3451cd13.css" -> null - source_hash = "fd86480ccee91b0b6b842205b076e202" -> null - storage_class = "STANDARD" -> null - tags = {} -> null - tags_all = {} -> null } # aws_s3_object.cloudWebsite_File--static--css--main3451cd13cssmap_B24EB286 will be destroyed # (because aws_s3_object.cloudWebsite_File--static--css--main3451cd13cssmap_B24EB286 is not in configuration) - resource "aws_s3_object" "cloudWebsite_File--static--css--main3451cd13cssmap_B24EB286" { - acl = "private" -> null - bucket = "cloud-website-c8e58765-20230803215115368500000001" -> null - bucket_key_enabled = false -> null - content_type = "application/json; charset=utf-8" -> null - etag = "d4bb87eb45890d199cd88ac0945654d0" -> null - force_destroy = false -> null - id = "/static/css/main.3451cd13.css.map" -> null - key = "/static/css/main.3451cd13.css.map" -> null - metadata = {} -> null - server_side_encryption = "AES256" -> null - source = "/github/workspace/website/build/static/css/main.3451cd13.css.map" -> null - source_hash = "d4bb87eb45890d199cd88ac0945654d0" -> null - storage_class = "STANDARD" -> null - tags = {} -> null - tags_all = {} -> null } # aws_s3_object.cloudWebsite_File--static--css--main7bcb2e70css_357E6CB3 will be created + resource "aws_s3_object" "cloudWebsite_File--static--css--main7bcb2e70css_357E6CB3" { + acl = "private" + bucket = "cloud-website-c8e58765-20230803215115368500000001" + bucket_key_enabled = (known after apply) + content_type = "text/css; charset=utf-8" + etag = (known after apply) + force_destroy = false + id = (known after apply) + key = "/static/css/main.7bcb2e70.css" + kms_key_id = (known after apply) + server_side_encryption = (known after apply) + source = "/github/workspace/website/build/static/css/main.7bcb2e70.css" + source_hash = "99341430a8a2af835e461bd854ea44b2" + storage_class = (known after apply) + tags_all = (known after apply) + version_id = (known after apply) } # aws_s3_object.cloudWebsite_File--static--css--main7bcb2e70cssmap_27FD35F4 will be created + resource "aws_s3_object" "cloudWebsite_File--static--css--main7bcb2e70cssmap_27FD35F4" { + acl = "private" + bucket = "cloud-website-c8e58765-20230803215115368500000001" + bucket_key_enabled = (known after apply) + content_type = "application/json; charset=utf-8" + etag = (known after apply) + force_destroy = false + id = (known after apply) + key = "/static/css/main.7bcb2e70.css.map" + kms_key_id = (known after apply) + server_side_encryption = (known after apply) + source = "/github/workspace/website/build/static/css/main.7bcb2e70.css.map" + source_hash = "c96ee9960a68f6b40b8a54cfe9badd63" + storage_class = (known after apply) + tags_all = (known after apply) + version_id = (known after apply) } # aws_s3_object.cloudWebsite_File--static--js--mainf1c34774jsLICENSEtxt_88CC288C will be created + resource "aws_s3_object" "cloudWebsite_File--static--js--mainf1c34774jsLICENSEtxt_88CC288C" { + acl = "private" + bucket = "cloud-website-c8e58765-20230803215115368500000001" + bucket_key_enabled = (known after apply) + content_type = "text/plain; charset=utf-8" + etag = (known after apply) + force_destroy = false + id = (known after apply) + key = "/static/js/main.f1c34774.js.LICENSE.txt" + kms_key_id = (known after apply) + server_side_encryption = (known after apply) + source = "/github/workspace/website/build/static/js/main.f1c34774.js.LICENSE.txt" + source_hash = "8dffae291722641df11b29bdf4b1f953" + storage_class = (known after apply) + tags_all = (known after apply) + version_id = (known after apply) } # aws_s3_object.cloudWebsite_File--static--js--mainf1c34774js_EBAC87F4 will be created + resource "aws_s3_object" "cloudWebsite_File--static--js--mainf1c34774js_EBAC87F4" { + acl = "private" + bucket = "cloud-website-c8e58765-20230803215115368500000001" + bucket_key_enabled = (known after apply) + content_type = "application/javascript; charset=utf-8" + etag = (known after apply) + force_destroy = false + id = (known after apply) + key = "/static/js/main.f1c34774.js" + kms_key_id = (known after apply) + server_side_encryption = (known after apply) + source = "/github/workspace/website/build/static/js/main.f1c34774.js" + source_hash = "26f7646508520a6c1800972e2b7f296d" + storage_class = (known after apply) + tags_all = (known after apply) + version_id = (known after apply) } # aws_s3_object.cloudWebsite_File--static--js--mainf1c34774jsmap_1AC53054 will be created + resource "aws_s3_object" "cloudWebsite_File--static--js--mainf1c34774jsmap_1AC53054" { + acl = "private" + bucket = "cloud-website-c8e58765-20230803215115368500000001" + bucket_key_enabled = (known after apply) + content_type = "application/json; charset=utf-8" + etag = (known after apply) + force_destroy = false + id = (known after apply) + key = "/static/js/main.f1c34774.js.map" + kms_key_id = (known after apply) + server_side_encryption = (known after apply) + source = "/github/workspace/website/build/static/js/main.f1c34774.js.map" + source_hash = "fa6446597ed01bc854175af6cf105642" + storage_class = (known after apply) + tags_all = (known after apply) + version_id = (known after apply) } # aws_s3_object.cloudWebsite_File--static--js--mainf1d03206jsLICENSEtxt_4D897431 will be destroyed # (because aws_s3_object.cloudWebsite_File--static--js--mainf1d03206jsLICENSEtxt_4D897431 is not in configuration) - resource "aws_s3_object" "cloudWebsite_File--static--js--mainf1d03206jsLICENSEtxt_4D897431" { - acl = "private" -> null - bucket = "cloud-website-c8e58765-20230803215115368500000001" -> null - bucket_key_enabled = false -> null - content_type = "text/plain; charset=utf-8" -> null - etag = "8dffae291722641df11b29bdf4b1f953" -> null - force_destroy = false -> null - id = "/static/js/main.f1d03206.js.LICENSE.txt" -> null - key = "/static/js/main.f1d03206.js.LICENSE.txt" -> null - metadata = {} -> null - server_side_encryption = "AES256" -> null - source = "/github/workspace/website/build/static/js/main.f1d03206.js.LICENSE.txt" -> null - source_hash = "8dffae291722641df11b29bdf4b1f953" -> null - storage_class = "STANDARD" -> null - tags = {} -> null - tags_all = {} -> null } # aws_s3_object.cloudWebsite_File--static--js--mainf1d03206js_5FB083CD will be destroyed # (because aws_s3_object.cloudWebsite_File--static--js--mainf1d03206js_5FB083CD is not in configuration) - resource "aws_s3_object" "cloudWebsite_File--static--js--mainf1d03206js_5FB083CD" { - acl = "private" -> null - bucket = "cloud-website-c8e58765-20230803215115368500000001" -> null - bucket_key_enabled = false -> null - content_type = "application/javascript; charset=utf-8" -> null - etag = "de828708e050a6f1c29d4fcd2d58ed6f" -> null - force_destroy = false -> null - id = "/static/js/main.f1d03206.js" -> null - key = "/static/js/main.f1d03206.js" -> null - metadata = {} -> null - server_side_encryption = "AES256" -> null - source = "/github/workspace/website/build/static/js/main.f1d03206.js" -> null - source_hash = "de828708e050a6f1c29d4fcd2d58ed6f" -> null - storage_class = "STANDARD" -> null - tags = {} -> null - tags_all = {} -> null } # aws_s3_object.cloudWebsite_File--static--js--mainf1d03206jsmap_6DC52951 will be destroyed # (because aws_s3_object.cloudWebsite_File--static--js--mainf1d03206jsmap_6DC52951 is not in configuration) - resource "aws_s3_object" "cloudWebsite_File--static--js--mainf1d03206jsmap_6DC52951" { - acl = "private" -> null - bucket = "cloud-website-c8e58765-20230803215115368500000001" -> null - bucket_key_enabled = false -> null - content_type = "application/json; charset=utf-8" -> null - etag = "b769bd1c3cd7c78022ab17baa6e2de75" -> null - force_destroy = false -> null - id = "/static/js/main.f1d03206.js.map" -> null - key = "/static/js/main.f1d03206.js.map" -> null - metadata = {} -> null - server_side_encryption = "AES256" -> null - source = "/github/workspace/website/build/static/js/main.f1d03206.js.map" -> null - source_hash = "b769bd1c3cd7c78022ab17baa6e2de75" -> null - storage_class = "STANDARD" -> null - tags = {} -> null - tags_all = {} -> null } Plan: 9 to add, 10 to change, 9 to destroy. ```
github-actions[bot]
commented
1 year ago
Terraform Plan
Show Plan
``` aws_s3_object.cloudWebsite_File--static--css--main3451cd13cssmap_B24EB286: Refreshing state... [id=/static/css/main.3451cd13.css.map] aws_s3_object.cloudWebsite_File--static--js--mainf1d03206js_5FB083CD: Refreshing state... [id=/static/js/main.f1d03206.js] aws_s3_object.cloudWebsite_File--static--js--mainf1d03206jsLICENSEtxt_4D897431: Refreshing state... [id=/static/js/main.f1d03206.js.LICENSE.txt] aws_s3_object.cloudWebsite_File--static--css--main3451cd13css_A369CB42: Refreshing state... [id=/static/css/main.3451cd13.css] aws_s3_bucket.cloudWebsite_WebsiteBucket_EB03D355: Refreshing state... [id=cloud-website-c8e58765-20230803215115368500000001] aws_s3_object.cloudWebsite_File--static--js--mainf1d03206jsmap_6DC52951: Refreshing state... [id=/static/js/main.f1d03206.js.map] aws_iam_role.VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_IamRole_0FF833EF: Refreshing state... [id=terraform-20230803215115569800000002] data.aws_region.Region: Reading... aws_iam_role.VotingAppApi_VotingAppApi-OnRequest-52bc3c17_IamRole_CBB68D47: Refreshing state... [id=terraform-20230808003212924500000001] aws_s3_bucket.Code: Refreshing state... [id=code-c84a50b1-20230727202411678600000003] data.aws_region.Region: Read complete after 0s [id=us-east-1] aws_dynamodb_table.VotingAppStore_Entries_tfawsdynamodbTableDynamodbTable_76D1C895: Refreshing state... [id=Entries-e91f54ab] aws_iam_role.VotingAppApi_VotingAppApi-OnRequest-41f14472_IamRole_5F3056C5: Refreshing state... [id=terraform-20230727204725916100000001] aws_iam_role.InitializeTable_Function_IamRole_E3F0843D: Refreshing state... [id=terraform-20230727202411672600000001] aws_cloudfront_origin_access_control.cloudWebsite_CloudfrontOac_C956968B: Refreshing state... [id=E1J2GO7P2VQ2EZ] aws_iam_role_policy.VotingAppApi_VotingAppApi-OnRequest-52bc3c17_IamRolePolicy_0F307DC9: Refreshing state... [id=terraform-20230808003212924500000001:terraform-20230808003225755300000003] aws_iam_role_policy_attachment.VotingAppApi_VotingAppApi-OnRequest-52bc3c17_IamRolePolicyAttachment_92A90320: Refreshing state... [id=terraform-20230808003212924500000001-20230808003213158800000002] aws_iam_role_policy_attachment.VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_IamRolePolicyAttachment_055C2EDA: Refreshing state... [id=terraform-20230803215115569800000002-20230803215115890800000004] aws_iam_role_policy.VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_IamRolePolicy_2D34FA97: Refreshing state... [id=terraform-20230803215115569800000002:terraform-20230803215115813700000003] aws_iam_role_policy.VotingAppApi_VotingAppApi-OnRequest-41f14472_IamRolePolicy_25C9720E: Refreshing state... [id=terraform-20230727204725916100000001:terraform-20230727204739773400000005] aws_iam_role_policy_attachment.VotingAppApi_VotingAppApi-OnRequest-41f14472_IamRolePolicyAttachment_E1980EB1: Refreshing state... [id=terraform-20230727204725916100000001-20230727204726450200000003] aws_iam_role_policy.InitializeTable_Function_IamRolePolicy_2AD89519: Refreshing state... [id=terraform-20230727202411672600000001:terraform-20230727202424567600000008] aws_iam_role_policy_attachment.InitializeTable_Function_IamRolePolicyAttachment_4435DE19: Refreshing state... [id=terraform-20230727202411672600000001-20230727202411887400000005] aws_s3_object.VotingAppApi_VotingAppApi-OnRequest-41f14472_S3Object_C95F6BA9: Refreshing state... [id=asset.c87bddf927b70f22f963a14d64ce5f4bf1372d398a.7af676d0bbd48d1c55cb3c2c1432c8a2.zip] aws_s3_object.VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_S3Object_F8CCE004: Refreshing state... [id=asset.c8cf8e09741b572c80a663f9c8cf9ce40395e87b08.a755aeb99c9877c1faafaf9b59e38da8.zip] aws_s3_object.InitializeTable_Function_S3Object_F5933D3B: Refreshing state... [id=asset.c8e7055bb3773d297f63b5172fb6a571cddc069012.3b6614a20cf2ab64d7d13e42b726ad1a.zip] aws_s3_object.VotingAppApi_VotingAppApi-OnRequest-52bc3c17_S3Object_F3A42DC6: Refreshing state... [id=asset.c89daf14978fb4fcb47ef703ae9610992b519c2727.4acc7b5910422db52aabfb2afe2f2c44.zip] aws_lambda_function.VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_93510F52: Refreshing state... [id=VotingAppApi-OnRequest-8d2e75ec-c8cf8e09] aws_lambda_function.VotingAppApi_VotingAppApi-OnRequest-52bc3c17_02CD08E6: Refreshing state... [id=VotingAppApi-OnRequest-52bc3c17-c89daf14] aws_lambda_function.VotingAppApi_VotingAppApi-OnRequest-41f14472_39478289: Refreshing state... [id=VotingAppApi-OnRequest-41f14472-c87bddf9] aws_lambda_function.InitializeTable_Function_FD00736D: Refreshing state... [id=Function-c8e7055b] aws_cloudfront_distribution.cloudWebsite_Distribution_083B5AF9: Refreshing state... [id=E1QUV69RQ9ODON] aws_s3_object.cloudWebsite_File--asset-manifestjson_8187FE70: Refreshing state... [id=/asset-manifest.json] aws_s3_object.cloudWebsite_File--manifestjson_5AC33197: Refreshing state... [id=/manifest.json] aws_s3_object.cloudWebsite_File--indexhtml_2A2AE13C: Refreshing state... [id=/index.html] aws_s3_object.cloudWebsite_File--logo192png_6E513B20: Refreshing state... [id=/logo192.png] aws_s3_bucket_server_side_encryption_configuration.cloudWebsite_Encryption_6A8A4E29: Refreshing state... [id=cloud-website-c8e58765-20230803215115368500000001] aws_s3_object.cloudWebsite_File--logo512png_E26C5AA3: Refreshing state... [id=/logo512.png] aws_s3_object.cloudWebsite_File--static--js--78728cb0dcdchunkjs_40889769: Refreshing state... [id=/static/js/787.28cb0dcd.chunk.js] aws_s3_bucket_website_configuration.cloudWebsite_BucketWebsiteConfiguration_920E8E41: Refreshing state... [id=cloud-website-c8e58765-20230803215115368500000001] aws_s3_bucket_public_access_block.cloudWebsite_PublicAccessBlock_18A70311: Refreshing state... [id=cloud-website-c8e58765-20230803215115368500000001] aws_s3_object.cloudWebsite_File--faviconico_A86052F9: Refreshing state... [id=/favicon.ico] aws_s3_object.cloudWebsite_File--robotstxt_F93900E9: Refreshing state... [id=/robots.txt] aws_s3_object.cloudWebsite_File--static--js--78728cb0dcdchunkjsmap_F5D0643F: Refreshing state... [id=/static/js/787.28cb0dcd.chunk.js.map] data.aws_iam_policy_document.cloudWebsite_AllowDistributionReadOnly_89DC4FD0: Reading... data.aws_iam_policy_document.cloudWebsite_AllowDistributionReadOnly_89DC4FD0: Read complete after 0s [id=573591717] aws_s3_bucket_policy.cloudWebsite_DistributionS3BucketPolicy_32B029AE: Refreshing state... [id=cloud-website-c8e58765-20230803215115368500000001] aws_api_gateway_rest_api.VotingAppApi_api_CB41EC98: Refreshing state... [id=dfh6uhtoa0] aws_lambda_permission.VotingAppApi_api_permission-GET-5969f3af_56B4A504: Refreshing state... [id=AllowExecutionFromAPIGateway-GET-5969f3af] aws_lambda_permission.VotingAppApi_api_permission-POST-57590acc_3E83C8F6: Refreshing state... [id=AllowExecutionFromAPIGateway-POST-57590acc] aws_lambda_permission.VotingAppApi_api_permission-POST-53dc1f64_98751060: Refreshing state... [id=AllowExecutionFromAPIGateway-POST-53dc1f64] aws_api_gateway_deployment.VotingAppApi_api_deployment_B9647894: Refreshing state... [id=q0wnc2] aws_api_gateway_stage.VotingAppApi_api_stage_9B2FA9EA: Refreshing state... [id=ags-dfh6uhtoa0-prod] aws_s3_object.cloudWebsite_File-configjson_591A81BA: Refreshing state... [id=config.json] Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: + create ~ update in-place - destroy -/+ destroy and then create replacement +/- create replacement and then destroy <= read (data resources) Terraform will perform the following actions: # data.aws_lambda_invocation.InitializeTable_Invocation_6E01246F will be read during apply # (depends on a resource or a module with changes pending) <= data "aws_lambda_invocation" "InitializeTable_Invocation_6E01246F" { + function_name = "Function-c8e7055b" + id = (known after apply) + input = jsonencode({}) + result = (known after apply) } # aws_iam_role_policy.InitializeTable_Function_IamRolePolicy_2AD89519 will be updated in-place ~ resource "aws_iam_role_policy" "InitializeTable_Function_IamRolePolicy_2AD89519" { id = "terraform-20230727202411672600000001:terraform-20230727202424567600000008" name = "terraform-20230727202424567600000008" ~ policy = jsonencode( ~ { ~ Statement = [ ~ { ~ Action = [ - "dynamodb:PutItem", ] -> "none:null" ~ Resource = [ - "arn:aws:dynamodb:us-east-1:223316951128:table/Entries-e91f54ab", ] -> "*" # (1 unchanged attribute hidden) }, ] # (1 unchanged attribute hidden) } ) # (1 unchanged attribute hidden) } # aws_iam_role_policy.VotingAppApi_VotingAppApi-OnRequest-41f14472_IamRolePolicy_25C9720E will be updated in-place ~ resource "aws_iam_role_policy" "VotingAppApi_VotingAppApi-OnRequest-41f14472_IamRolePolicy_25C9720E" { id = "terraform-20230727204725916100000001:terraform-20230727204739773400000005" name = "terraform-20230727204739773400000005" ~ policy = jsonencode( ~ { ~ Statement = [ ~ { ~ Action = [ - "dynamodb:PutItem", ] -> "none:null" ~ Resource = [ - "arn:aws:dynamodb:us-east-1:223316951128:table/Entries-e91f54ab", ] -> "*" # (1 unchanged attribute hidden) }, - { - Action = [ - "dynamodb:GetItem", ] - Effect = "Allow" - Resource = [ - "arn:aws:dynamodb:us-east-1:223316951128:table/Entries-e91f54ab", ] }, - { - Action = [ - "dynamodb:Scan", ] - Effect = "Allow" - Resource = [ - "arn:aws:dynamodb:us-east-1:223316951128:table/Entries-e91f54ab", ] }, ] # (1 unchanged attribute hidden) } ) # (1 unchanged attribute hidden) } # aws_iam_role_policy.VotingAppApi_VotingAppApi-OnRequest-52bc3c17_IamRolePolicy_0F307DC9 will be updated in-place ~ resource "aws_iam_role_policy" "VotingAppApi_VotingAppApi-OnRequest-52bc3c17_IamRolePolicy_0F307DC9" { id = "terraform-20230808003212924500000001:terraform-20230808003225755300000003" name = "terraform-20230808003225755300000003" ~ policy = jsonencode( ~ { ~ Statement = [ ~ { ~ Action = [ - "dynamodb:Scan", ] -> "none:null" ~ Resource = [ - "arn:aws:dynamodb:us-east-1:223316951128:table/Entries-e91f54ab", ] -> "*" # (1 unchanged attribute hidden) }, ] # (1 unchanged attribute hidden) } ) # (1 unchanged attribute hidden) } # aws_iam_role_policy.VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_IamRolePolicy_2D34FA97 will be updated in-place ~ resource "aws_iam_role_policy" "VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_IamRolePolicy_2D34FA97" { id = "terraform-20230803215115569800000002:terraform-20230803215115813700000003" name = "terraform-20230803215115813700000003" ~ policy = jsonencode( ~ { ~ Statement = [ ~ { ~ Action = [ - "dynamodb:Scan", ] -> "none:null" ~ Resource = [ - "arn:aws:dynamodb:us-east-1:223316951128:table/Entries-e91f54ab", ] -> "*" # (1 unchanged attribute hidden) }, ] # (1 unchanged attribute hidden) } ) # (1 unchanged attribute hidden) } # aws_lambda_function.InitializeTable_Function_FD00736D will be updated in-place ~ resource "aws_lambda_function" "InitializeTable_Function_FD00736D" { id = "Function-c8e7055b" ~ last_modified = "2023-08-11T02:18:48.000+0000" -> (known after apply) ~ qualified_arn = "arn:aws:lambda:us-east-1:223316951128:function:Function-c8e7055b:11" -> (known after apply) ~ qualified_invoke_arn = "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:223316951128:function:Function-c8e7055b:11/invocations" -> (known after apply) ~ s3_key = "asset.c8e7055bb3773d297f63b5172fb6a571cddc069012.3b6614a20cf2ab64d7d13e42b726ad1a.zip" -> "asset.c8e7055bb3773d297f63b5172fb6a571cddc069012.9b9a4106d2d805fe36571242519322a6.zip" tags = {} ~ version = "11" -> (known after apply) # (18 unchanged attributes hidden) # (3 unchanged blocks hidden) } # aws_lambda_function.VotingAppApi_VotingAppApi-OnRequest-41f14472_39478289 will be updated in-place ~ resource "aws_lambda_function" "VotingAppApi_VotingAppApi-OnRequest-41f14472_39478289" { id = "VotingAppApi-OnRequest-41f14472-c87bddf9" ~ last_modified = "2023-08-11T02:18:48.000+0000" -> (known after apply) ~ qualified_arn = "arn:aws:lambda:us-east-1:223316951128:function:VotingAppApi-OnRequest-41f14472-c87bddf9:10" -> (known after apply) ~ qualified_invoke_arn = "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:223316951128:function:VotingAppApi-OnRequest-41f14472-c87bddf9:10/invocations" -> (known after apply) ~ s3_key = "asset.c87bddf927b70f22f963a14d64ce5f4bf1372d398a.7af676d0bbd48d1c55cb3c2c1432c8a2.zip" -> "asset.c87bddf927b70f22f963a14d64ce5f4bf1372d398a.c8f0049ff669e4613fce2b4fd52c7fa2.zip" tags = {} ~ version = "10" -> (known after apply) # (18 unchanged attributes hidden) # (3 unchanged blocks hidden) } # aws_lambda_function.VotingAppApi_VotingAppApi-OnRequest-52bc3c17_02CD08E6 will be updated in-place ~ resource "aws_lambda_function" "VotingAppApi_VotingAppApi-OnRequest-52bc3c17_02CD08E6" { id = "VotingAppApi-OnRequest-52bc3c17-c89daf14" ~ last_modified = "2023-08-11T02:18:48.000+0000" -> (known after apply) ~ qualified_arn = "arn:aws:lambda:us-east-1:223316951128:function:VotingAppApi-OnRequest-52bc3c17-c89daf14:7" -> (known after apply) ~ qualified_invoke_arn = "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:223316951128:function:VotingAppApi-OnRequest-52bc3c17-c89daf14:7/invocations" -> (known after apply) ~ s3_key = "asset.c89daf14978fb4fcb47ef703ae9610992b519c2727.4acc7b5910422db52aabfb2afe2f2c44.zip" -> "asset.c89daf14978fb4fcb47ef703ae9610992b519c2727.39f82105c916b864fab83951c8cd2ea6.zip" tags = {} ~ version = "7" -> (known after apply) # (18 unchanged attributes hidden) # (3 unchanged blocks hidden) } # aws_lambda_function.VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_93510F52 will be updated in-place ~ resource "aws_lambda_function" "VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_93510F52" { id = "VotingAppApi-OnRequest-8d2e75ec-c8cf8e09" ~ last_modified = "2023-08-11T02:18:48.000+0000" -> (known after apply) ~ qualified_arn = "arn:aws:lambda:us-east-1:223316951128:function:VotingAppApi-OnRequest-8d2e75ec-c8cf8e09:9" -> (known after apply) ~ qualified_invoke_arn = "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:223316951128:function:VotingAppApi-OnRequest-8d2e75ec-c8cf8e09:9/invocations" -> (known after apply) ~ s3_key = "asset.c8cf8e09741b572c80a663f9c8cf9ce40395e87b08.a755aeb99c9877c1faafaf9b59e38da8.zip" -> "asset.c8cf8e09741b572c80a663f9c8cf9ce40395e87b08.9a74e782fffb7ae606f5ef53de3c6cb5.zip" tags = {} ~ version = "9" -> (known after apply) # (18 unchanged attributes hidden) # (3 unchanged blocks hidden) } # aws_s3_object.InitializeTable_Function_S3Object_F5933D3B must be replaced -/+ resource "aws_s3_object" "InitializeTable_Function_S3Object_F5933D3B" { ~ bucket_key_enabled = false -> (known after apply) ~ content_type = "binary/octet-stream" -> (known after apply) ~ etag = "9d48ebaae79aba1bc96fb60a35a6b9aa" -> (known after apply) ~ id = "asset.c8e7055bb3773d297f63b5172fb6a571cddc069012.3b6614a20cf2ab64d7d13e42b726ad1a.zip" -> (known after apply) ~ key = "asset.c8e7055bb3773d297f63b5172fb6a571cddc069012.3b6614a20cf2ab64d7d13e42b726ad1a.zip" -> "asset.c8e7055bb3773d297f63b5172fb6a571cddc069012.9b9a4106d2d805fe36571242519322a6.zip" # forces replacement + kms_key_id = (known after apply) - metadata = {} -> null ~ server_side_encryption = "AES256" -> (known after apply) ~ source = "assets/InitializeTable_Function_Asset_1A1B5BC3/3B6614A20CF2AB64D7D13E42B726AD1A/archive.zip" -> "assets/InitializeTable_Function_Asset_1A1B5BC3/9B9A4106D2D805FE36571242519322A6/archive.zip" ~ storage_class = "STANDARD" -> (known after apply) - tags = {} -> null ~ tags_all = {} -> (known after apply) + version_id = (known after apply) # (3 unchanged attributes hidden) } # aws_s3_object.VotingAppApi_VotingAppApi-OnRequest-41f14472_S3Object_C95F6BA9 must be replaced +/- resource "aws_s3_object" "VotingAppApi_VotingAppApi-OnRequest-41f14472_S3Object_C95F6BA9" { ~ bucket_key_enabled = false -> (known after apply) ~ content_type = "binary/octet-stream" -> (known after apply) ~ etag = "ea96ebc302c72bbc7dcd39e3ad95f5d5" -> (known after apply) ~ id = "asset.c87bddf927b70f22f963a14d64ce5f4bf1372d398a.7af676d0bbd48d1c55cb3c2c1432c8a2.zip" -> (known after apply) ~ key = "asset.c87bddf927b70f22f963a14d64ce5f4bf1372d398a.7af676d0bbd48d1c55cb3c2c1432c8a2.zip" -> "asset.c87bddf927b70f22f963a14d64ce5f4bf1372d398a.c8f0049ff669e4613fce2b4fd52c7fa2.zip" # forces replacement + kms_key_id = (known after apply) - metadata = {} -> null ~ server_side_encryption = "AES256" -> (known after apply) ~ source = "assets/VotingAppApi_VotingAppApi-OnRequest-41f14472_Asset_94F55D63/7AF676D0BBD48D1C55CB3C2C1432C8A2/archive.zip" -> "assets/VotingAppApi_VotingAppApi-OnRequest-41f14472_Asset_94F55D63/C8F0049FF669E4613FCE2B4FD52C7FA2/archive.zip" ~ storage_class = "STANDARD" -> (known after apply) - tags = {} -> null ~ tags_all = {} -> (known after apply) + version_id = (known after apply) # (3 unchanged attributes hidden) } # aws_s3_object.VotingAppApi_VotingAppApi-OnRequest-52bc3c17_S3Object_F3A42DC6 must be replaced +/- resource "aws_s3_object" "VotingAppApi_VotingAppApi-OnRequest-52bc3c17_S3Object_F3A42DC6" { ~ bucket_key_enabled = false -> (known after apply) ~ content_type = "binary/octet-stream" -> (known after apply) ~ etag = "7d50d9591a15fe864225f8257d27900b" -> (known after apply) ~ id = "asset.c89daf14978fb4fcb47ef703ae9610992b519c2727.4acc7b5910422db52aabfb2afe2f2c44.zip" -> (known after apply) ~ key = "asset.c89daf14978fb4fcb47ef703ae9610992b519c2727.4acc7b5910422db52aabfb2afe2f2c44.zip" -> "asset.c89daf14978fb4fcb47ef703ae9610992b519c2727.39f82105c916b864fab83951c8cd2ea6.zip" # forces replacement + kms_key_id = (known after apply) - metadata = {} -> null ~ server_side_encryption = "AES256" -> (known after apply) ~ source = "assets/VotingAppApi_VotingAppApi-OnRequest-52bc3c17_Asset_FBAD96D6/4ACC7B5910422DB52AABFB2AFE2F2C44/archive.zip" -> "assets/VotingAppApi_VotingAppApi-OnRequest-52bc3c17_Asset_FBAD96D6/39F82105C916B864FAB83951C8CD2EA6/archive.zip" ~ storage_class = "STANDARD" -> (known after apply) - tags = {} -> null ~ tags_all = {} -> (known after apply) + version_id = (known after apply) # (3 unchanged attributes hidden) } # aws_s3_object.VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_S3Object_F8CCE004 must be replaced +/- resource "aws_s3_object" "VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_S3Object_F8CCE004" { ~ bucket_key_enabled = false -> (known after apply) ~ content_type = "binary/octet-stream" -> (known after apply) ~ etag = "64d5b363474125d5e5f5034489869ec0" -> (known after apply) ~ id = "asset.c8cf8e09741b572c80a663f9c8cf9ce40395e87b08.a755aeb99c9877c1faafaf9b59e38da8.zip" -> (known after apply) ~ key = "asset.c8cf8e09741b572c80a663f9c8cf9ce40395e87b08.a755aeb99c9877c1faafaf9b59e38da8.zip" -> "asset.c8cf8e09741b572c80a663f9c8cf9ce40395e87b08.9a74e782fffb7ae606f5ef53de3c6cb5.zip" # forces replacement + kms_key_id = (known after apply) - metadata = {} -> null ~ server_side_encryption = "AES256" -> (known after apply) ~ source = "assets/VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_Asset_4A29FD21/A755AEB99C9877C1FAAFAF9B59E38DA8/archive.zip" -> "assets/VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_Asset_4A29FD21/9A74E782FFFB7AE606F5EF53DE3C6CB5/archive.zip" ~ storage_class = "STANDARD" -> (known after apply) - tags = {} -> null ~ tags_all = {} -> (known after apply) + version_id = (known after apply) # (3 unchanged attributes hidden) } # aws_s3_object.cloudWebsite_File--asset-manifestjson_8187FE70 will be updated in-place ~ resource "aws_s3_object" "cloudWebsite_File--asset-manifestjson_8187FE70" { id = "/asset-manifest.json" ~ source_hash = "2c6e0a51e8abd920539b39b9cc9b6991" -> "9b4cade019132c9bcafff1cac79d0a22" tags = {} + version_id = (known after apply) # (12 unchanged attributes hidden) } # aws_s3_object.cloudWebsite_File--indexhtml_2A2AE13C will be updated in-place ~ resource "aws_s3_object" "cloudWebsite_File--indexhtml_2A2AE13C" { id = "/index.html" ~ source_hash = "e9fde7184296c040a6d5759a0a0d33d5" -> "ed8ccd4943c1870dbad1cde44c0cd9bd" tags = {} + version_id = (known after apply) # (12 unchanged attributes hidden) } # aws_s3_object.cloudWebsite_File--static--css--main3451cd13css_A369CB42 will be destroyed # (because aws_s3_object.cloudWebsite_File--static--css--main3451cd13css_A369CB42 is not in configuration) - resource "aws_s3_object" "cloudWebsite_File--static--css--main3451cd13css_A369CB42" { - acl = "private" -> null - bucket = "cloud-website-c8e58765-20230803215115368500000001" -> null - bucket_key_enabled = false -> null - content_type = "text/css; charset=utf-8" -> null - etag = "fd86480ccee91b0b6b842205b076e202" -> null - force_destroy = false -> null - id = "/static/css/main.3451cd13.css" -> null - key = "/static/css/main.3451cd13.css" -> null - metadata = {} -> null - server_side_encryption = "AES256" -> null - source = "/github/workspace/website/build/static/css/main.3451cd13.css" -> null - source_hash = "fd86480ccee91b0b6b842205b076e202" -> null - storage_class = "STANDARD" -> null - tags = {} -> null - tags_all = {} -> null } # aws_s3_object.cloudWebsite_File--static--css--main3451cd13cssmap_B24EB286 will be destroyed # (because aws_s3_object.cloudWebsite_File--static--css--main3451cd13cssmap_B24EB286 is not in configuration) - resource "aws_s3_object" "cloudWebsite_File--static--css--main3451cd13cssmap_B24EB286" { - acl = "private" -> null - bucket = "cloud-website-c8e58765-20230803215115368500000001" -> null - bucket_key_enabled = false -> null - content_type = "application/json; charset=utf-8" -> null - etag = "d4bb87eb45890d199cd88ac0945654d0" -> null - force_destroy = false -> null - id = "/static/css/main.3451cd13.css.map" -> null - key = "/static/css/main.3451cd13.css.map" -> null - metadata = {} -> null - server_side_encryption = "AES256" -> null - source = "/github/workspace/website/build/static/css/main.3451cd13.css.map" -> null - source_hash = "d4bb87eb45890d199cd88ac0945654d0" -> null - storage_class = "STANDARD" -> null - tags = {} -> null - tags_all = {} -> null } # aws_s3_object.cloudWebsite_File--static--css--main7b2d9bedcss_91E4FFEC will be created + resource "aws_s3_object" "cloudWebsite_File--static--css--main7b2d9bedcss_91E4FFEC" { + acl = "private" + bucket = "cloud-website-c8e58765-20230803215115368500000001" + bucket_key_enabled = (known after apply) + content_type = "text/css; charset=utf-8" + etag = (known after apply) + force_destroy = false + id = (known after apply) + key = "/static/css/main.7b2d9bed.css" + kms_key_id = (known after apply) + server_side_encryption = (known after apply) + source = "/github/workspace/website/build/static/css/main.7b2d9bed.css" + source_hash = "668fde8727120905beef93837b70902c" + storage_class = (known after apply) + tags_all = (known after apply) + version_id = (known after apply) } # aws_s3_object.cloudWebsite_File--static--css--main7b2d9bedcssmap_AC27DCEF will be created + resource "aws_s3_object" "cloudWebsite_File--static--css--main7b2d9bedcssmap_AC27DCEF" { + acl = "private" + bucket = "cloud-website-c8e58765-20230803215115368500000001" + bucket_key_enabled = (known after apply) + content_type = "application/json; charset=utf-8" + etag = (known after apply) + force_destroy = false + id = (known after apply) + key = "/static/css/main.7b2d9bed.css.map" + kms_key_id = (known after apply) + server_side_encryption = (known after apply) + source = "/github/workspace/website/build/static/css/main.7b2d9bed.css.map" + source_hash = "5d0856b2d05808443ff0cf0107c449c0" + storage_class = (known after apply) + tags_all = (known after apply) + version_id = (known after apply) } # aws_s3_object.cloudWebsite_File--static--js--main8a2d2ba9jsLICENSEtxt_F65ABE4D will be created + resource "aws_s3_object" "cloudWebsite_File--static--js--main8a2d2ba9jsLICENSEtxt_F65ABE4D" { + acl = "private" + bucket = "cloud-website-c8e58765-20230803215115368500000001" + bucket_key_enabled = (known after apply) + content_type = "text/plain; charset=utf-8" + etag = (known after apply) + force_destroy = false + id = (known after apply) + key = "/static/js/main.8a2d2ba9.js.LICENSE.txt" + kms_key_id = (known after apply) + server_side_encryption = (known after apply) + source = "/github/workspace/website/build/static/js/main.8a2d2ba9.js.LICENSE.txt" + source_hash = "8dffae291722641df11b29bdf4b1f953" + storage_class = (known after apply) + tags_all = (known after apply) + version_id = (known after apply) } # aws_s3_object.cloudWebsite_File--static--js--main8a2d2ba9js_CEDA8E7A will be created + resource "aws_s3_object" "cloudWebsite_File--static--js--main8a2d2ba9js_CEDA8E7A" { + acl = "private" + bucket = "cloud-website-c8e58765-20230803215115368500000001" + bucket_key_enabled = (known after apply) + content_type = "application/javascript; charset=utf-8" + etag = (known after apply) + force_destroy = false + id = (known after apply) + key = "/static/js/main.8a2d2ba9.js" + kms_key_id = (known after apply) + server_side_encryption = (known after apply) + source = "/github/workspace/website/build/static/js/main.8a2d2ba9.js" + source_hash = "34dbba4e09d9635fdc10004d024cf0c6" + storage_class = (known after apply) + tags_all = (known after apply) + version_id = (known after apply) } # aws_s3_object.cloudWebsite_File--static--js--main8a2d2ba9jsmap_CAAB2E96 will be created + resource "aws_s3_object" "cloudWebsite_File--static--js--main8a2d2ba9jsmap_CAAB2E96" { + acl = "private" + bucket = "cloud-website-c8e58765-20230803215115368500000001" + bucket_key_enabled = (known after apply) + content_type = "application/json; charset=utf-8" + etag = (known after apply) + force_destroy = false + id = (known after apply) + key = "/static/js/main.8a2d2ba9.js.map" + kms_key_id = (known after apply) + server_side_encryption = (known after apply) + source = "/github/workspace/website/build/static/js/main.8a2d2ba9.js.map" + source_hash = "141d4479ffcfdcb502177d804280534c" + storage_class = (known after apply) + tags_all = (known after apply) + version_id = (known after apply) } # aws_s3_object.cloudWebsite_File--static--js--mainf1d03206jsLICENSEtxt_4D897431 will be destroyed # (because aws_s3_object.cloudWebsite_File--static--js--mainf1d03206jsLICENSEtxt_4D897431 is not in configuration) - resource "aws_s3_object" "cloudWebsite_File--static--js--mainf1d03206jsLICENSEtxt_4D897431" { - acl = "private" -> null - bucket = "cloud-website-c8e58765-20230803215115368500000001" -> null - bucket_key_enabled = false -> null - content_type = "text/plain; charset=utf-8" -> null - etag = "8dffae291722641df11b29bdf4b1f953" -> null - force_destroy = false -> null - id = "/static/js/main.f1d03206.js.LICENSE.txt" -> null - key = "/static/js/main.f1d03206.js.LICENSE.txt" -> null - metadata = {} -> null - server_side_encryption = "AES256" -> null - source = "/github/workspace/website/build/static/js/main.f1d03206.js.LICENSE.txt" -> null - source_hash = "8dffae291722641df11b29bdf4b1f953" -> null - storage_class = "STANDARD" -> null - tags = {} -> null - tags_all = {} -> null } # aws_s3_object.cloudWebsite_File--static--js--mainf1d03206js_5FB083CD will be destroyed # (because aws_s3_object.cloudWebsite_File--static--js--mainf1d03206js_5FB083CD is not in configuration) - resource "aws_s3_object" "cloudWebsite_File--static--js--mainf1d03206js_5FB083CD" { - acl = "private" -> null - bucket = "cloud-website-c8e58765-20230803215115368500000001" -> null - bucket_key_enabled = false -> null - content_type = "application/javascript; charset=utf-8" -> null - etag = "de828708e050a6f1c29d4fcd2d58ed6f" -> null - force_destroy = false -> null - id = "/static/js/main.f1d03206.js" -> null - key = "/static/js/main.f1d03206.js" -> null - metadata = {} -> null - server_side_encryption = "AES256" -> null - source = "/github/workspace/website/build/static/js/main.f1d03206.js" -> null - source_hash = "de828708e050a6f1c29d4fcd2d58ed6f" -> null - storage_class = "STANDARD" -> null - tags = {} -> null - tags_all = {} -> null } # aws_s3_object.cloudWebsite_File--static--js--mainf1d03206jsmap_6DC52951 will be destroyed # (because aws_s3_object.cloudWebsite_File--static--js--mainf1d03206jsmap_6DC52951 is not in configuration) - resource "aws_s3_object" "cloudWebsite_File--static--js--mainf1d03206jsmap_6DC52951" { - acl = "private" -> null - bucket = "cloud-website-c8e58765-20230803215115368500000001" -> null - bucket_key_enabled = false -> null - content_type = "application/json; charset=utf-8" -> null - etag = "b769bd1c3cd7c78022ab17baa6e2de75" -> null - force_destroy = false -> null - id = "/static/js/main.f1d03206.js.map" -> null - key = "/static/js/main.f1d03206.js.map" -> null - metadata = {} -> null - server_side_encryption = "AES256" -> null - source = "/github/workspace/website/build/static/js/main.f1d03206.js.map" -> null - source_hash = "b769bd1c3cd7c78022ab17baa6e2de75" -> null - storage_class = "STANDARD" -> null - tags = {} -> null - tags_all = {} -> null } Plan: 9 to add, 10 to change, 9 to destroy. ```
github-actions[bot]
commented
1 year ago
Terraform Plan
Show Plan
``` aws_s3_bucket.Code: Refreshing state... [id=code-c84a50b1-20230727202411678600000003] aws_iam_role.VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_IamRole_0FF833EF: Refreshing state... [id=terraform-20230803215115569800000002] aws_s3_object.cloudWebsite_File--static--js--mainf1d03206jsLICENSEtxt_4D897431: Refreshing state... [id=/static/js/main.f1d03206.js.LICENSE.txt] aws_s3_object.cloudWebsite_File--static--js--mainf1d03206js_5FB083CD: Refreshing state... [id=/static/js/main.f1d03206.js] aws_cloudfront_origin_access_control.cloudWebsite_CloudfrontOac_C956968B: Refreshing state... [id=E1J2GO7P2VQ2EZ] aws_s3_object.cloudWebsite_File--static--css--main3451cd13css_A369CB42: Refreshing state... [id=/static/css/main.3451cd13.css] aws_s3_object.cloudWebsite_File--static--css--main3451cd13cssmap_B24EB286: Refreshing state... [id=/static/css/main.3451cd13.css.map] aws_iam_role.VotingAppApi_VotingAppApi-OnRequest-52bc3c17_IamRole_CBB68D47: Refreshing state... [id=terraform-20230808003212924500000001] aws_s3_object.cloudWebsite_File--static--js--mainf1d03206jsmap_6DC52951: Refreshing state... [id=/static/js/main.f1d03206.js.map] aws_iam_role.VotingAppApi_VotingAppApi-OnRequest-41f14472_IamRole_5F3056C5: Refreshing state... [id=terraform-20230727204725916100000001] aws_iam_role.InitializeTable_Function_IamRole_E3F0843D: Refreshing state... [id=terraform-20230727202411672600000001] aws_s3_bucket.cloudWebsite_WebsiteBucket_EB03D355: Refreshing state... [id=cloud-website-c8e58765-20230803215115368500000001] aws_dynamodb_table.VotingAppStore_Entries_tfawsdynamodbTableDynamodbTable_76D1C895: Refreshing state... [id=Entries-e91f54ab] data.aws_region.Region: Reading... data.aws_region.Region: Read complete after 0s [id=us-east-1] aws_iam_role_policy_attachment.VotingAppApi_VotingAppApi-OnRequest-41f14472_IamRolePolicyAttachment_E1980EB1: Refreshing state... [id=terraform-20230727204725916100000001-20230727204726450200000003] aws_iam_role_policy.VotingAppApi_VotingAppApi-OnRequest-41f14472_IamRolePolicy_25C9720E: Refreshing state... [id=terraform-20230727204725916100000001:terraform-20230727204739773400000005] aws_iam_role_policy_attachment.VotingAppApi_VotingAppApi-OnRequest-52bc3c17_IamRolePolicyAttachment_92A90320: Refreshing state... [id=terraform-20230808003212924500000001-20230808003213158800000002] aws_iam_role_policy.VotingAppApi_VotingAppApi-OnRequest-52bc3c17_IamRolePolicy_0F307DC9: Refreshing state... [id=terraform-20230808003212924500000001:terraform-20230808003225755300000003] aws_iam_role_policy_attachment.VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_IamRolePolicyAttachment_055C2EDA: Refreshing state... [id=terraform-20230803215115569800000002-20230803215115890800000004] aws_iam_role_policy.VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_IamRolePolicy_2D34FA97: Refreshing state... [id=terraform-20230803215115569800000002:terraform-20230803215115813700000003] aws_iam_role_policy.InitializeTable_Function_IamRolePolicy_2AD89519: Refreshing state... [id=terraform-20230727202411672600000001:terraform-20230727202424567600000008] aws_iam_role_policy_attachment.InitializeTable_Function_IamRolePolicyAttachment_4435DE19: Refreshing state... [id=terraform-20230727202411672600000001-20230727202411887400000005] aws_s3_object.VotingAppApi_VotingAppApi-OnRequest-52bc3c17_S3Object_F3A42DC6: Refreshing state... [id=asset.c89daf14978fb4fcb47ef703ae9610992b519c2727.4acc7b5910422db52aabfb2afe2f2c44.zip] aws_s3_object.VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_S3Object_F8CCE004: Refreshing state... [id=asset.c8cf8e09741b572c80a663f9c8cf9ce40395e87b08.a755aeb99c9877c1faafaf9b59e38da8.zip] aws_s3_object.VotingAppApi_VotingAppApi-OnRequest-41f14472_S3Object_C95F6BA9: Refreshing state... [id=asset.c87bddf927b70f22f963a14d64ce5f4bf1372d398a.7af676d0bbd48d1c55cb3c2c1432c8a2.zip] aws_s3_object.InitializeTable_Function_S3Object_F5933D3B: Refreshing state... [id=asset.c8e7055bb3773d297f63b5172fb6a571cddc069012.3b6614a20cf2ab64d7d13e42b726ad1a.zip] aws_s3_object.cloudWebsite_File--faviconico_A86052F9: Refreshing state... [id=/favicon.ico] aws_cloudfront_distribution.cloudWebsite_Distribution_083B5AF9: Refreshing state... [id=E1QUV69RQ9ODON] aws_s3_bucket_public_access_block.cloudWebsite_PublicAccessBlock_18A70311: Refreshing state... [id=cloud-website-c8e58765-20230803215115368500000001] aws_s3_object.cloudWebsite_File--logo192png_6E513B20: Refreshing state... [id=/logo192.png] aws_s3_bucket_server_side_encryption_configuration.cloudWebsite_Encryption_6A8A4E29: Refreshing state... [id=cloud-website-c8e58765-20230803215115368500000001] aws_s3_bucket_website_configuration.cloudWebsite_BucketWebsiteConfiguration_920E8E41: Refreshing state... [id=cloud-website-c8e58765-20230803215115368500000001] aws_s3_object.cloudWebsite_File--indexhtml_2A2AE13C: Refreshing state... [id=/index.html] aws_s3_object.cloudWebsite_File--manifestjson_5AC33197: Refreshing state... [id=/manifest.json] aws_s3_object.cloudWebsite_File--logo512png_E26C5AA3: Refreshing state... [id=/logo512.png] aws_s3_object.cloudWebsite_File--asset-manifestjson_8187FE70: Refreshing state... [id=/asset-manifest.json] aws_s3_object.cloudWebsite_File--static--js--78728cb0dcdchunkjs_40889769: Refreshing state... [id=/static/js/787.28cb0dcd.chunk.js] aws_s3_object.cloudWebsite_File--robotstxt_F93900E9: Refreshing state... [id=/robots.txt] aws_s3_object.cloudWebsite_File--static--js--78728cb0dcdchunkjsmap_F5D0643F: Refreshing state... [id=/static/js/787.28cb0dcd.chunk.js.map] aws_lambda_function.VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_93510F52: Refreshing state... [id=VotingAppApi-OnRequest-8d2e75ec-c8cf8e09] aws_lambda_function.VotingAppApi_VotingAppApi-OnRequest-41f14472_39478289: Refreshing state... [id=VotingAppApi-OnRequest-41f14472-c87bddf9] aws_lambda_function.VotingAppApi_VotingAppApi-OnRequest-52bc3c17_02CD08E6: Refreshing state... [id=VotingAppApi-OnRequest-52bc3c17-c89daf14] aws_lambda_function.InitializeTable_Function_FD00736D: Refreshing state... [id=Function-c8e7055b] data.aws_iam_policy_document.cloudWebsite_AllowDistributionReadOnly_89DC4FD0: Reading... data.aws_iam_policy_document.cloudWebsite_AllowDistributionReadOnly_89DC4FD0: Read complete after 0s [id=573591717] aws_s3_bucket_policy.cloudWebsite_DistributionS3BucketPolicy_32B029AE: Refreshing state... [id=cloud-website-c8e58765-20230803215115368500000001] aws_api_gateway_rest_api.VotingAppApi_api_CB41EC98: Refreshing state... [id=dfh6uhtoa0] aws_lambda_permission.VotingAppApi_api_permission-POST-53dc1f64_98751060: Refreshing state... [id=AllowExecutionFromAPIGateway-POST-53dc1f64] aws_api_gateway_deployment.VotingAppApi_api_deployment_B9647894: Refreshing state... [id=q0wnc2] aws_lambda_permission.VotingAppApi_api_permission-GET-5969f3af_56B4A504: Refreshing state... [id=AllowExecutionFromAPIGateway-GET-5969f3af] aws_lambda_permission.VotingAppApi_api_permission-POST-57590acc_3E83C8F6: Refreshing state... [id=AllowExecutionFromAPIGateway-POST-57590acc] aws_api_gateway_stage.VotingAppApi_api_stage_9B2FA9EA: Refreshing state... [id=ags-dfh6uhtoa0-prod] aws_s3_object.cloudWebsite_File-configjson_591A81BA: Refreshing state... [id=config.json] Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: + create ~ update in-place - destroy -/+ destroy and then create replacement +/- create replacement and then destroy <= read (data resources) Terraform will perform the following actions: # data.aws_lambda_invocation.InitializeTable_Invocation_6E01246F will be read during apply # (depends on a resource or a module with changes pending) <= data "aws_lambda_invocation" "InitializeTable_Invocation_6E01246F" { + function_name = "Function-c8e7055b" + id = (known after apply) + input = jsonencode({}) + result = (known after apply) } # aws_iam_role_policy.InitializeTable_Function_IamRolePolicy_2AD89519 will be updated in-place ~ resource "aws_iam_role_policy" "InitializeTable_Function_IamRolePolicy_2AD89519" { id = "terraform-20230727202411672600000001:terraform-20230727202424567600000008" name = "terraform-20230727202424567600000008" ~ policy = jsonencode( ~ { ~ Statement = [ ~ { ~ Action = [ - "dynamodb:PutItem", ] -> "none:null" ~ Resource = [ - "arn:aws:dynamodb:us-east-1:223316951128:table/Entries-e91f54ab", ] -> "*" # (1 unchanged attribute hidden) }, ] # (1 unchanged attribute hidden) } ) # (1 unchanged attribute hidden) } # aws_iam_role_policy.VotingAppApi_VotingAppApi-OnRequest-41f14472_IamRolePolicy_25C9720E will be updated in-place ~ resource "aws_iam_role_policy" "VotingAppApi_VotingAppApi-OnRequest-41f14472_IamRolePolicy_25C9720E" { id = "terraform-20230727204725916100000001:terraform-20230727204739773400000005" name = "terraform-20230727204739773400000005" ~ policy = jsonencode( ~ { ~ Statement = [ ~ { ~ Action = [ - "dynamodb:PutItem", ] -> "none:null" ~ Resource = [ - "arn:aws:dynamodb:us-east-1:223316951128:table/Entries-e91f54ab", ] -> "*" # (1 unchanged attribute hidden) }, - { - Action = [ - "dynamodb:GetItem", ] - Effect = "Allow" - Resource = [ - "arn:aws:dynamodb:us-east-1:223316951128:table/Entries-e91f54ab", ] }, - { - Action = [ - "dynamodb:Scan", ] - Effect = "Allow" - Resource = [ - "arn:aws:dynamodb:us-east-1:223316951128:table/Entries-e91f54ab", ] }, ] # (1 unchanged attribute hidden) } ) # (1 unchanged attribute hidden) } # aws_iam_role_policy.VotingAppApi_VotingAppApi-OnRequest-52bc3c17_IamRolePolicy_0F307DC9 will be updated in-place ~ resource "aws_iam_role_policy" "VotingAppApi_VotingAppApi-OnRequest-52bc3c17_IamRolePolicy_0F307DC9" { id = "terraform-20230808003212924500000001:terraform-20230808003225755300000003" name = "terraform-20230808003225755300000003" ~ policy = jsonencode( ~ { ~ Statement = [ ~ { ~ Action = [ - "dynamodb:Scan", ] -> "none:null" ~ Resource = [ - "arn:aws:dynamodb:us-east-1:223316951128:table/Entries-e91f54ab", ] -> "*" # (1 unchanged attribute hidden) }, ] # (1 unchanged attribute hidden) } ) # (1 unchanged attribute hidden) } # aws_iam_role_policy.VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_IamRolePolicy_2D34FA97 will be updated in-place ~ resource "aws_iam_role_policy" "VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_IamRolePolicy_2D34FA97" { id = "terraform-20230803215115569800000002:terraform-20230803215115813700000003" name = "terraform-20230803215115813700000003" ~ policy = jsonencode( ~ { ~ Statement = [ ~ { ~ Action = [ - "dynamodb:Scan", ] -> "none:null" ~ Resource = [ - "arn:aws:dynamodb:us-east-1:223316951128:table/Entries-e91f54ab", ] -> "*" # (1 unchanged attribute hidden) }, ] # (1 unchanged attribute hidden) } ) # (1 unchanged attribute hidden) } # aws_lambda_function.InitializeTable_Function_FD00736D will be updated in-place ~ resource "aws_lambda_function" "InitializeTable_Function_FD00736D" { id = "Function-c8e7055b" ~ last_modified = "2023-08-11T02:18:48.000+0000" -> (known after apply) ~ qualified_arn = "arn:aws:lambda:us-east-1:223316951128:function:Function-c8e7055b:11" -> (known after apply) ~ qualified_invoke_arn = "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:223316951128:function:Function-c8e7055b:11/invocations" -> (known after apply) ~ s3_key = "asset.c8e7055bb3773d297f63b5172fb6a571cddc069012.3b6614a20cf2ab64d7d13e42b726ad1a.zip" -> "asset.c8e7055bb3773d297f63b5172fb6a571cddc069012.66b0a4688cb408dd63504b058724888a.zip" tags = {} ~ version = "11" -> (known after apply) # (18 unchanged attributes hidden) # (3 unchanged blocks hidden) } # aws_lambda_function.VotingAppApi_VotingAppApi-OnRequest-41f14472_39478289 will be updated in-place ~ resource "aws_lambda_function" "VotingAppApi_VotingAppApi-OnRequest-41f14472_39478289" { id = "VotingAppApi-OnRequest-41f14472-c87bddf9" ~ last_modified = "2023-08-11T02:18:48.000+0000" -> (known after apply) ~ qualified_arn = "arn:aws:lambda:us-east-1:223316951128:function:VotingAppApi-OnRequest-41f14472-c87bddf9:10" -> (known after apply) ~ qualified_invoke_arn = "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:223316951128:function:VotingAppApi-OnRequest-41f14472-c87bddf9:10/invocations" -> (known after apply) ~ s3_key = "asset.c87bddf927b70f22f963a14d64ce5f4bf1372d398a.7af676d0bbd48d1c55cb3c2c1432c8a2.zip" -> "asset.c87bddf927b70f22f963a14d64ce5f4bf1372d398a.10390246b2d747506474d595a9288d89.zip" tags = {} ~ version = "10" -> (known after apply) # (18 unchanged attributes hidden) # (3 unchanged blocks hidden) } # aws_lambda_function.VotingAppApi_VotingAppApi-OnRequest-52bc3c17_02CD08E6 will be updated in-place ~ resource "aws_lambda_function" "VotingAppApi_VotingAppApi-OnRequest-52bc3c17_02CD08E6" { id = "VotingAppApi-OnRequest-52bc3c17-c89daf14" ~ last_modified = "2023-08-11T02:18:48.000+0000" -> (known after apply) ~ qualified_arn = "arn:aws:lambda:us-east-1:223316951128:function:VotingAppApi-OnRequest-52bc3c17-c89daf14:7" -> (known after apply) ~ qualified_invoke_arn = "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:223316951128:function:VotingAppApi-OnRequest-52bc3c17-c89daf14:7/invocations" -> (known after apply) ~ s3_key = "asset.c89daf14978fb4fcb47ef703ae9610992b519c2727.4acc7b5910422db52aabfb2afe2f2c44.zip" -> "asset.c89daf14978fb4fcb47ef703ae9610992b519c2727.54c2494f1a458ea23a3769df338076d1.zip" tags = {} ~ version = "7" -> (known after apply) # (18 unchanged attributes hidden) # (3 unchanged blocks hidden) } # aws_lambda_function.VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_93510F52 will be updated in-place ~ resource "aws_lambda_function" "VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_93510F52" { id = "VotingAppApi-OnRequest-8d2e75ec-c8cf8e09" ~ last_modified = "2023-08-11T02:18:48.000+0000" -> (known after apply) ~ qualified_arn = "arn:aws:lambda:us-east-1:223316951128:function:VotingAppApi-OnRequest-8d2e75ec-c8cf8e09:9" -> (known after apply) ~ qualified_invoke_arn = "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:223316951128:function:VotingAppApi-OnRequest-8d2e75ec-c8cf8e09:9/invocations" -> (known after apply) ~ s3_key = "asset.c8cf8e09741b572c80a663f9c8cf9ce40395e87b08.a755aeb99c9877c1faafaf9b59e38da8.zip" -> "asset.c8cf8e09741b572c80a663f9c8cf9ce40395e87b08.acc6b59925e955cbc4dc1a1d3eb6ba42.zip" tags = {} ~ version = "9" -> (known after apply) # (18 unchanged attributes hidden) # (3 unchanged blocks hidden) } # aws_s3_object.InitializeTable_Function_S3Object_F5933D3B must be replaced -/+ resource "aws_s3_object" "InitializeTable_Function_S3Object_F5933D3B" { ~ bucket_key_enabled = false -> (known after apply) ~ content_type = "binary/octet-stream" -> (known after apply) ~ etag = "9d48ebaae79aba1bc96fb60a35a6b9aa" -> (known after apply) ~ id = "asset.c8e7055bb3773d297f63b5172fb6a571cddc069012.3b6614a20cf2ab64d7d13e42b726ad1a.zip" -> (known after apply) ~ key = "asset.c8e7055bb3773d297f63b5172fb6a571cddc069012.3b6614a20cf2ab64d7d13e42b726ad1a.zip" -> "asset.c8e7055bb3773d297f63b5172fb6a571cddc069012.66b0a4688cb408dd63504b058724888a.zip" # forces replacement + kms_key_id = (known after apply) - metadata = {} -> null ~ server_side_encryption = "AES256" -> (known after apply) ~ source = "assets/InitializeTable_Function_Asset_1A1B5BC3/3B6614A20CF2AB64D7D13E42B726AD1A/archive.zip" -> "assets/InitializeTable_Function_Asset_1A1B5BC3/66B0A4688CB408DD63504B058724888A/archive.zip" ~ storage_class = "STANDARD" -> (known after apply) - tags = {} -> null ~ tags_all = {} -> (known after apply) + version_id = (known after apply) # (3 unchanged attributes hidden) } # aws_s3_object.VotingAppApi_VotingAppApi-OnRequest-41f14472_S3Object_C95F6BA9 must be replaced +/- resource "aws_s3_object" "VotingAppApi_VotingAppApi-OnRequest-41f14472_S3Object_C95F6BA9" { ~ bucket_key_enabled = false -> (known after apply) ~ content_type = "binary/octet-stream" -> (known after apply) ~ etag = "ea96ebc302c72bbc7dcd39e3ad95f5d5" -> (known after apply) ~ id = "asset.c87bddf927b70f22f963a14d64ce5f4bf1372d398a.7af676d0bbd48d1c55cb3c2c1432c8a2.zip" -> (known after apply) ~ key = "asset.c87bddf927b70f22f963a14d64ce5f4bf1372d398a.7af676d0bbd48d1c55cb3c2c1432c8a2.zip" -> "asset.c87bddf927b70f22f963a14d64ce5f4bf1372d398a.10390246b2d747506474d595a9288d89.zip" # forces replacement + kms_key_id = (known after apply) - metadata = {} -> null ~ server_side_encryption = "AES256" -> (known after apply) ~ source = "assets/VotingAppApi_VotingAppApi-OnRequest-41f14472_Asset_94F55D63/7AF676D0BBD48D1C55CB3C2C1432C8A2/archive.zip" -> "assets/VotingAppApi_VotingAppApi-OnRequest-41f14472_Asset_94F55D63/10390246B2D747506474D595A9288D89/archive.zip" ~ storage_class = "STANDARD" -> (known after apply) - tags = {} -> null ~ tags_all = {} -> (known after apply) + version_id = (known after apply) # (3 unchanged attributes hidden) } # aws_s3_object.VotingAppApi_VotingAppApi-OnRequest-52bc3c17_S3Object_F3A42DC6 must be replaced +/- resource "aws_s3_object" "VotingAppApi_VotingAppApi-OnRequest-52bc3c17_S3Object_F3A42DC6" { ~ bucket_key_enabled = false -> (known after apply) ~ content_type = "binary/octet-stream" -> (known after apply) ~ etag = "7d50d9591a15fe864225f8257d27900b" -> (known after apply) ~ id = "asset.c89daf14978fb4fcb47ef703ae9610992b519c2727.4acc7b5910422db52aabfb2afe2f2c44.zip" -> (known after apply) ~ key = "asset.c89daf14978fb4fcb47ef703ae9610992b519c2727.4acc7b5910422db52aabfb2afe2f2c44.zip" -> "asset.c89daf14978fb4fcb47ef703ae9610992b519c2727.54c2494f1a458ea23a3769df338076d1.zip" # forces replacement + kms_key_id = (known after apply) - metadata = {} -> null ~ server_side_encryption = "AES256" -> (known after apply) ~ source = "assets/VotingAppApi_VotingAppApi-OnRequest-52bc3c17_Asset_FBAD96D6/4ACC7B5910422DB52AABFB2AFE2F2C44/archive.zip" -> "assets/VotingAppApi_VotingAppApi-OnRequest-52bc3c17_Asset_FBAD96D6/54C2494F1A458EA23A3769DF338076D1/archive.zip" ~ storage_class = "STANDARD" -> (known after apply) - tags = {} -> null ~ tags_all = {} -> (known after apply) + version_id = (known after apply) # (3 unchanged attributes hidden) } # aws_s3_object.VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_S3Object_F8CCE004 must be replaced +/- resource "aws_s3_object" "VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_S3Object_F8CCE004" { ~ bucket_key_enabled = false -> (known after apply) ~ content_type = "binary/octet-stream" -> (known after apply) ~ etag = "64d5b363474125d5e5f5034489869ec0" -> (known after apply) ~ id = "asset.c8cf8e09741b572c80a663f9c8cf9ce40395e87b08.a755aeb99c9877c1faafaf9b59e38da8.zip" -> (known after apply) ~ key = "asset.c8cf8e09741b572c80a663f9c8cf9ce40395e87b08.a755aeb99c9877c1faafaf9b59e38da8.zip" -> "asset.c8cf8e09741b572c80a663f9c8cf9ce40395e87b08.acc6b59925e955cbc4dc1a1d3eb6ba42.zip" # forces replacement + kms_key_id = (known after apply) - metadata = {} -> null ~ server_side_encryption = "AES256" -> (known after apply) ~ source = "assets/VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_Asset_4A29FD21/A755AEB99C9877C1FAAFAF9B59E38DA8/archive.zip" -> "assets/VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_Asset_4A29FD21/ACC6B59925E955CBC4DC1A1D3EB6BA42/archive.zip" ~ storage_class = "STANDARD" -> (known after apply) - tags = {} -> null ~ tags_all = {} -> (known after apply) + version_id = (known after apply) # (3 unchanged attributes hidden) } # aws_s3_object.cloudWebsite_File--asset-manifestjson_8187FE70 will be updated in-place ~ resource "aws_s3_object" "cloudWebsite_File--asset-manifestjson_8187FE70" { id = "/asset-manifest.json" ~ source_hash = "2c6e0a51e8abd920539b39b9cc9b6991" -> "0195e75e3d7517a71d101ffa5e494e7b" tags = {} + version_id = (known after apply) # (12 unchanged attributes hidden) } # aws_s3_object.cloudWebsite_File--indexhtml_2A2AE13C will be updated in-place ~ resource "aws_s3_object" "cloudWebsite_File--indexhtml_2A2AE13C" { id = "/index.html" ~ source_hash = "e9fde7184296c040a6d5759a0a0d33d5" -> "aeee29345e404ee793f1125022b018d4" tags = {} + version_id = (known after apply) # (12 unchanged attributes hidden) } # aws_s3_object.cloudWebsite_File--static--css--main3451cd13css_A369CB42 will be destroyed # (because aws_s3_object.cloudWebsite_File--static--css--main3451cd13css_A369CB42 is not in configuration) - resource "aws_s3_object" "cloudWebsite_File--static--css--main3451cd13css_A369CB42" { - acl = "private" -> null - bucket = "cloud-website-c8e58765-20230803215115368500000001" -> null - bucket_key_enabled = false -> null - content_type = "text/css; charset=utf-8" -> null - etag = "fd86480ccee91b0b6b842205b076e202" -> null - force_destroy = false -> null - id = "/static/css/main.3451cd13.css" -> null - key = "/static/css/main.3451cd13.css" -> null - metadata = {} -> null - server_side_encryption = "AES256" -> null - source = "/github/workspace/website/build/static/css/main.3451cd13.css" -> null - source_hash = "fd86480ccee91b0b6b842205b076e202" -> null - storage_class = "STANDARD" -> null - tags = {} -> null - tags_all = {} -> null } # aws_s3_object.cloudWebsite_File--static--css--main3451cd13cssmap_B24EB286 will be destroyed # (because aws_s3_object.cloudWebsite_File--static--css--main3451cd13cssmap_B24EB286 is not in configuration) - resource "aws_s3_object" "cloudWebsite_File--static--css--main3451cd13cssmap_B24EB286" { - acl = "private" -> null - bucket = "cloud-website-c8e58765-20230803215115368500000001" -> null - bucket_key_enabled = false -> null - content_type = "application/json; charset=utf-8" -> null - etag = "d4bb87eb45890d199cd88ac0945654d0" -> null - force_destroy = false -> null - id = "/static/css/main.3451cd13.css.map" -> null - key = "/static/css/main.3451cd13.css.map" -> null - metadata = {} -> null - server_side_encryption = "AES256" -> null - source = "/github/workspace/website/build/static/css/main.3451cd13.css.map" -> null - source_hash = "d4bb87eb45890d199cd88ac0945654d0" -> null - storage_class = "STANDARD" -> null - tags = {} -> null - tags_all = {} -> null } # aws_s3_object.cloudWebsite_File--static--css--maina8524dfbcss_D0278F46 will be created + resource "aws_s3_object" "cloudWebsite_File--static--css--maina8524dfbcss_D0278F46" { + acl = "private" + bucket = "cloud-website-c8e58765-20230803215115368500000001" + bucket_key_enabled = (known after apply) + content_type = "text/css; charset=utf-8" + etag = (known after apply) + force_destroy = false + id = (known after apply) + key = "/static/css/main.a8524dfb.css" + kms_key_id = (known after apply) + server_side_encryption = (known after apply) + source = "/github/workspace/website/build/static/css/main.a8524dfb.css" + source_hash = "01c3326aa494648f8df32b233890cda0" + storage_class = (known after apply) + tags_all = (known after apply) + version_id = (known after apply) } # aws_s3_object.cloudWebsite_File--static--css--maina8524dfbcssmap_865DA811 will be created + resource "aws_s3_object" "cloudWebsite_File--static--css--maina8524dfbcssmap_865DA811" { + acl = "private" + bucket = "cloud-website-c8e58765-20230803215115368500000001" + bucket_key_enabled = (known after apply) + content_type = "application/json; charset=utf-8" + etag = (known after apply) + force_destroy = false + id = (known after apply) + key = "/static/css/main.a8524dfb.css.map" + kms_key_id = (known after apply) + server_side_encryption = (known after apply) + source = "/github/workspace/website/build/static/css/main.a8524dfb.css.map" + source_hash = "c2967fa0f073ab82a053affe6fe2965c" + storage_class = (known after apply) + tags_all = (known after apply) + version_id = (known after apply) } # aws_s3_object.cloudWebsite_File--static--js--main2c6d2f2ejsLICENSEtxt_5EEBBF91 will be created + resource "aws_s3_object" "cloudWebsite_File--static--js--main2c6d2f2ejsLICENSEtxt_5EEBBF91" { + acl = "private" + bucket = "cloud-website-c8e58765-20230803215115368500000001" + bucket_key_enabled = (known after apply) + content_type = "text/plain; charset=utf-8" + etag = (known after apply) + force_destroy = false + id = (known after apply) + key = "/static/js/main.2c6d2f2e.js.LICENSE.txt" + kms_key_id = (known after apply) + server_side_encryption = (known after apply) + source = "/github/workspace/website/build/static/js/main.2c6d2f2e.js.LICENSE.txt" + source_hash = "8dffae291722641df11b29bdf4b1f953" + storage_class = (known after apply) + tags_all = (known after apply) + version_id = (known after apply) } # aws_s3_object.cloudWebsite_File--static--js--main2c6d2f2ejs_F81C7A9F will be created + resource "aws_s3_object" "cloudWebsite_File--static--js--main2c6d2f2ejs_F81C7A9F" { + acl = "private" + bucket = "cloud-website-c8e58765-20230803215115368500000001" + bucket_key_enabled = (known after apply) + content_type = "application/javascript; charset=utf-8" + etag = (known after apply) + force_destroy = false + id = (known after apply) + key = "/static/js/main.2c6d2f2e.js" + kms_key_id = (known after apply) + server_side_encryption = (known after apply) + source = "/github/workspace/website/build/static/js/main.2c6d2f2e.js" + source_hash = "fbc9fb2eb8738aea7ae4ce90b9f9f95b" + storage_class = (known after apply) + tags_all = (known after apply) + version_id = (known after apply) } # aws_s3_object.cloudWebsite_File--static--js--main2c6d2f2ejsmap_75D1F9D7 will be created + resource "aws_s3_object" "cloudWebsite_File--static--js--main2c6d2f2ejsmap_75D1F9D7" { + acl = "private" + bucket = "cloud-website-c8e58765-20230803215115368500000001" + bucket_key_enabled = (known after apply) + content_type = "application/json; charset=utf-8" + etag = (known after apply) + force_destroy = false + id = (known after apply) + key = "/static/js/main.2c6d2f2e.js.map" + kms_key_id = (known after apply) + server_side_encryption = (known after apply) + source = "/github/workspace/website/build/static/js/main.2c6d2f2e.js.map" + source_hash = "3142dc3c645b9afacac2acd1e3081dc1" + storage_class = (known after apply) + tags_all = (known after apply) + version_id = (known after apply) } # aws_s3_object.cloudWebsite_File--static--js--mainf1d03206jsLICENSEtxt_4D897431 will be destroyed # (because aws_s3_object.cloudWebsite_File--static--js--mainf1d03206jsLICENSEtxt_4D897431 is not in configuration) - resource "aws_s3_object" "cloudWebsite_File--static--js--mainf1d03206jsLICENSEtxt_4D897431" { - acl = "private" -> null - bucket = "cloud-website-c8e58765-20230803215115368500000001" -> null - bucket_key_enabled = false -> null - content_type = "text/plain; charset=utf-8" -> null - etag = "8dffae291722641df11b29bdf4b1f953" -> null - force_destroy = false -> null - id = "/static/js/main.f1d03206.js.LICENSE.txt" -> null - key = "/static/js/main.f1d03206.js.LICENSE.txt" -> null - metadata = {} -> null - server_side_encryption = "AES256" -> null - source = "/github/workspace/website/build/static/js/main.f1d03206.js.LICENSE.txt" -> null - source_hash = "8dffae291722641df11b29bdf4b1f953" -> null - storage_class = "STANDARD" -> null - tags = {} -> null - tags_all = {} -> null } # aws_s3_object.cloudWebsite_File--static--js--mainf1d03206js_5FB083CD will be destroyed # (because aws_s3_object.cloudWebsite_File--static--js--mainf1d03206js_5FB083CD is not in configuration) - resource "aws_s3_object" "cloudWebsite_File--static--js--mainf1d03206js_5FB083CD" { - acl = "private" -> null - bucket = "cloud-website-c8e58765-20230803215115368500000001" -> null - bucket_key_enabled = false -> null - content_type = "application/javascript; charset=utf-8" -> null - etag = "de828708e050a6f1c29d4fcd2d58ed6f" -> null - force_destroy = false -> null - id = "/static/js/main.f1d03206.js" -> null - key = "/static/js/main.f1d03206.js" -> null - metadata = {} -> null - server_side_encryption = "AES256" -> null - source = "/github/workspace/website/build/static/js/main.f1d03206.js" -> null - source_hash = "de828708e050a6f1c29d4fcd2d58ed6f" -> null - storage_class = "STANDARD" -> null - tags = {} -> null - tags_all = {} -> null } # aws_s3_object.cloudWebsite_File--static--js--mainf1d03206jsmap_6DC52951 will be destroyed # (because aws_s3_object.cloudWebsite_File--static--js--mainf1d03206jsmap_6DC52951 is not in configuration) - resource "aws_s3_object" "cloudWebsite_File--static--js--mainf1d03206jsmap_6DC52951" { - acl = "private" -> null - bucket = "cloud-website-c8e58765-20230803215115368500000001" -> null - bucket_key_enabled = false -> null - content_type = "application/json; charset=utf-8" -> null - etag = "b769bd1c3cd7c78022ab17baa6e2de75" -> null - force_destroy = false -> null - id = "/static/js/main.f1d03206.js.map" -> null - key = "/static/js/main.f1d03206.js.map" -> null - metadata = {} -> null - server_side_encryption = "AES256" -> null - source = "/github/workspace/website/build/static/js/main.f1d03206.js.map" -> null - source_hash = "b769bd1c3cd7c78022ab17baa6e2de75" -> null - storage_class = "STANDARD" -> null - tags = {} -> null - tags_all = {} -> null } Plan: 9 to add, 10 to change, 9 to destroy. ```
github-actions[bot]
commented
1 year ago
Terraform Plan
Show Plan
``` aws_s3_object.cloudWebsite_File--static--css--main3451cd13css_A369CB42: Refreshing state... [id=/static/css/main.3451cd13.css] aws_s3_object.cloudWebsite_File--static--css--main3451cd13cssmap_B24EB286: Refreshing state... [id=/static/css/main.3451cd13.css.map] aws_s3_bucket.cloudWebsite_WebsiteBucket_EB03D355: Refreshing state... [id=cloud-website-c8e58765-20230803215115368500000001] aws_iam_role.VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_IamRole_0FF833EF: Refreshing state... [id=terraform-20230803215115569800000002] aws_cloudfront_origin_access_control.cloudWebsite_CloudfrontOac_C956968B: Refreshing state... [id=E1J2GO7P2VQ2EZ] aws_s3_object.cloudWebsite_File--static--js--mainf1d03206jsLICENSEtxt_4D897431: Refreshing state... [id=/static/js/main.f1d03206.js.LICENSE.txt] aws_s3_object.cloudWebsite_File--static--js--mainf1d03206js_5FB083CD: Refreshing state... [id=/static/js/main.f1d03206.js] aws_dynamodb_table.VotingAppStore_Entries_tfawsdynamodbTableDynamodbTable_76D1C895: Refreshing state... [id=Entries-e91f54ab] aws_iam_role.InitializeTable_Function_IamRole_E3F0843D: Refreshing state... [id=terraform-20230727202411672600000001] aws_s3_object.cloudWebsite_File--static--js--mainf1d03206jsmap_6DC52951: Refreshing state... [id=/static/js/main.f1d03206.js.map] aws_s3_bucket.Code: Refreshing state... [id=code-c84a50b1-20230727202411678600000003] data.aws_region.Region: Reading... data.aws_region.Region: Read complete after 0s [id=us-east-1] aws_iam_role.VotingAppApi_VotingAppApi-OnRequest-41f14472_IamRole_5F3056C5: Refreshing state... [id=terraform-20230727204725916100000001] aws_iam_role.VotingAppApi_VotingAppApi-OnRequest-52bc3c17_IamRole_CBB68D47: Refreshing state... [id=terraform-20230808003212924500000001] aws_iam_role_policy_attachment.VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_IamRolePolicyAttachment_055C2EDA: Refreshing state... [id=terraform-20230803215115569800000002-20230803215115890800000004] aws_iam_role_policy.VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_IamRolePolicy_2D34FA97: Refreshing state... [id=terraform-20230803215115569800000002:terraform-20230803215115813700000003] aws_iam_role_policy_attachment.InitializeTable_Function_IamRolePolicyAttachment_4435DE19: Refreshing state... [id=terraform-20230727202411672600000001-20230727202411887400000005] aws_iam_role_policy.InitializeTable_Function_IamRolePolicy_2AD89519: Refreshing state... [id=terraform-20230727202411672600000001:terraform-20230727202424567600000008] aws_iam_role_policy_attachment.VotingAppApi_VotingAppApi-OnRequest-52bc3c17_IamRolePolicyAttachment_92A90320: Refreshing state... [id=terraform-20230808003212924500000001-20230808003213158800000002] aws_iam_role_policy.VotingAppApi_VotingAppApi-OnRequest-52bc3c17_IamRolePolicy_0F307DC9: Refreshing state... [id=terraform-20230808003212924500000001:terraform-20230808003225755300000003] aws_iam_role_policy.VotingAppApi_VotingAppApi-OnRequest-41f14472_IamRolePolicy_25C9720E: Refreshing state... [id=terraform-20230727204725916100000001:terraform-20230727204739773400000005] aws_iam_role_policy_attachment.VotingAppApi_VotingAppApi-OnRequest-41f14472_IamRolePolicyAttachment_E1980EB1: Refreshing state... [id=terraform-20230727204725916100000001-20230727204726450200000003] aws_s3_object.VotingAppApi_VotingAppApi-OnRequest-41f14472_S3Object_C95F6BA9: Refreshing state... [id=asset.c87bddf927b70f22f963a14d64ce5f4bf1372d398a.7af676d0bbd48d1c55cb3c2c1432c8a2.zip] aws_s3_object.VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_S3Object_F8CCE004: Refreshing state... [id=asset.c8cf8e09741b572c80a663f9c8cf9ce40395e87b08.a755aeb99c9877c1faafaf9b59e38da8.zip] aws_s3_object.VotingAppApi_VotingAppApi-OnRequest-52bc3c17_S3Object_F3A42DC6: Refreshing state... [id=asset.c89daf14978fb4fcb47ef703ae9610992b519c2727.4acc7b5910422db52aabfb2afe2f2c44.zip] aws_s3_object.InitializeTable_Function_S3Object_F5933D3B: Refreshing state... [id=asset.c8e7055bb3773d297f63b5172fb6a571cddc069012.3b6614a20cf2ab64d7d13e42b726ad1a.zip] aws_s3_object.cloudWebsite_File--static--js--78728cb0dcdchunkjs_40889769: Refreshing state... [id=/static/js/787.28cb0dcd.chunk.js] aws_cloudfront_distribution.cloudWebsite_Distribution_083B5AF9: Refreshing state... [id=E1QUV69RQ9ODON] aws_s3_object.cloudWebsite_File--static--js--78728cb0dcdchunkjsmap_F5D0643F: Refreshing state... [id=/static/js/787.28cb0dcd.chunk.js.map] aws_s3_object.cloudWebsite_File--faviconico_A86052F9: Refreshing state... [id=/favicon.ico] aws_s3_bucket_server_side_encryption_configuration.cloudWebsite_Encryption_6A8A4E29: Refreshing state... [id=cloud-website-c8e58765-20230803215115368500000001] aws_s3_object.cloudWebsite_File--robotstxt_F93900E9: Refreshing state... [id=/robots.txt] aws_s3_bucket_website_configuration.cloudWebsite_BucketWebsiteConfiguration_920E8E41: Refreshing state... [id=cloud-website-c8e58765-20230803215115368500000001] aws_s3_object.cloudWebsite_File--asset-manifestjson_8187FE70: Refreshing state... [id=/asset-manifest.json] aws_s3_object.cloudWebsite_File--logo192png_6E513B20: Refreshing state... [id=/logo192.png] aws_s3_object.cloudWebsite_File--indexhtml_2A2AE13C: Refreshing state... [id=/index.html] aws_s3_object.cloudWebsite_File--logo512png_E26C5AA3: Refreshing state... [id=/logo512.png] aws_s3_bucket_public_access_block.cloudWebsite_PublicAccessBlock_18A70311: Refreshing state... [id=cloud-website-c8e58765-20230803215115368500000001] aws_s3_object.cloudWebsite_File--manifestjson_5AC33197: Refreshing state... [id=/manifest.json] aws_lambda_function.VotingAppApi_VotingAppApi-OnRequest-41f14472_39478289: Refreshing state... [id=VotingAppApi-OnRequest-41f14472-c87bddf9] aws_lambda_function.VotingAppApi_VotingAppApi-OnRequest-52bc3c17_02CD08E6: Refreshing state... [id=VotingAppApi-OnRequest-52bc3c17-c89daf14] aws_lambda_function.InitializeTable_Function_FD00736D: Refreshing state... [id=Function-c8e7055b] aws_lambda_function.VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_93510F52: Refreshing state... [id=VotingAppApi-OnRequest-8d2e75ec-c8cf8e09] data.aws_iam_policy_document.cloudWebsite_AllowDistributionReadOnly_89DC4FD0: Reading... data.aws_iam_policy_document.cloudWebsite_AllowDistributionReadOnly_89DC4FD0: Read complete after 0s [id=573591717] aws_s3_bucket_policy.cloudWebsite_DistributionS3BucketPolicy_32B029AE: Refreshing state... [id=cloud-website-c8e58765-20230803215115368500000001] aws_api_gateway_rest_api.VotingAppApi_api_CB41EC98: Refreshing state... [id=dfh6uhtoa0] aws_lambda_permission.VotingAppApi_api_permission-GET-5969f3af_56B4A504: Refreshing state... [id=AllowExecutionFromAPIGateway-GET-5969f3af] aws_lambda_permission.VotingAppApi_api_permission-POST-57590acc_3E83C8F6: Refreshing state... [id=AllowExecutionFromAPIGateway-POST-57590acc] aws_lambda_permission.VotingAppApi_api_permission-POST-53dc1f64_98751060: Refreshing state... [id=AllowExecutionFromAPIGateway-POST-53dc1f64] aws_api_gateway_deployment.VotingAppApi_api_deployment_B9647894: Refreshing state... [id=q0wnc2] aws_api_gateway_stage.VotingAppApi_api_stage_9B2FA9EA: Refreshing state... [id=ags-dfh6uhtoa0-prod] aws_s3_object.cloudWebsite_File-configjson_591A81BA: Refreshing state... [id=config.json] Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: + create ~ update in-place - destroy -/+ destroy and then create replacement +/- create replacement and then destroy <= read (data resources) Terraform will perform the following actions: # data.aws_lambda_invocation.InitializeTable_Invocation_6E01246F will be read during apply # (depends on a resource or a module with changes pending) <= data "aws_lambda_invocation" "InitializeTable_Invocation_6E01246F" { + function_name = "Function-c8e7055b" + id = (known after apply) + input = jsonencode({}) + result = (known after apply) } # aws_iam_role_policy.InitializeTable_Function_IamRolePolicy_2AD89519 will be updated in-place ~ resource "aws_iam_role_policy" "InitializeTable_Function_IamRolePolicy_2AD89519" { id = "terraform-20230727202411672600000001:terraform-20230727202424567600000008" name = "terraform-20230727202424567600000008" ~ policy = jsonencode( ~ { ~ Statement = [ ~ { ~ Action = [ - "dynamodb:PutItem", ] -> "none:null" ~ Resource = [ - "arn:aws:dynamodb:us-east-1:223316951128:table/Entries-e91f54ab", ] -> "*" # (1 unchanged attribute hidden) }, ] # (1 unchanged attribute hidden) } ) # (1 unchanged attribute hidden) } # aws_iam_role_policy.VotingAppApi_VotingAppApi-OnRequest-41f14472_IamRolePolicy_25C9720E will be updated in-place ~ resource "aws_iam_role_policy" "VotingAppApi_VotingAppApi-OnRequest-41f14472_IamRolePolicy_25C9720E" { id = "terraform-20230727204725916100000001:terraform-20230727204739773400000005" name = "terraform-20230727204739773400000005" ~ policy = jsonencode( ~ { ~ Statement = [ ~ { ~ Action = [ - "dynamodb:PutItem", ] -> "none:null" ~ Resource = [ - "arn:aws:dynamodb:us-east-1:223316951128:table/Entries-e91f54ab", ] -> "*" # (1 unchanged attribute hidden) }, - { - Action = [ - "dynamodb:GetItem", ] - Effect = "Allow" - Resource = [ - "arn:aws:dynamodb:us-east-1:223316951128:table/Entries-e91f54ab", ] }, - { - Action = [ - "dynamodb:Scan", ] - Effect = "Allow" - Resource = [ - "arn:aws:dynamodb:us-east-1:223316951128:table/Entries-e91f54ab", ] }, ] # (1 unchanged attribute hidden) } ) # (1 unchanged attribute hidden) } # aws_iam_role_policy.VotingAppApi_VotingAppApi-OnRequest-52bc3c17_IamRolePolicy_0F307DC9 will be updated in-place ~ resource "aws_iam_role_policy" "VotingAppApi_VotingAppApi-OnRequest-52bc3c17_IamRolePolicy_0F307DC9" { id = "terraform-20230808003212924500000001:terraform-20230808003225755300000003" name = "terraform-20230808003225755300000003" ~ policy = jsonencode( ~ { ~ Statement = [ ~ { ~ Action = [ - "dynamodb:Scan", ] -> "none:null" ~ Resource = [ - "arn:aws:dynamodb:us-east-1:223316951128:table/Entries-e91f54ab", ] -> "*" # (1 unchanged attribute hidden) }, ] # (1 unchanged attribute hidden) } ) # (1 unchanged attribute hidden) } # aws_iam_role_policy.VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_IamRolePolicy_2D34FA97 will be updated in-place ~ resource "aws_iam_role_policy" "VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_IamRolePolicy_2D34FA97" { id = "terraform-20230803215115569800000002:terraform-20230803215115813700000003" name = "terraform-20230803215115813700000003" ~ policy = jsonencode( ~ { ~ Statement = [ ~ { ~ Action = [ - "dynamodb:Scan", ] -> "none:null" ~ Resource = [ - "arn:aws:dynamodb:us-east-1:223316951128:table/Entries-e91f54ab", ] -> "*" # (1 unchanged attribute hidden) }, ] # (1 unchanged attribute hidden) } ) # (1 unchanged attribute hidden) } # aws_lambda_function.InitializeTable_Function_FD00736D will be updated in-place ~ resource "aws_lambda_function" "InitializeTable_Function_FD00736D" { id = "Function-c8e7055b" ~ last_modified = "2023-08-11T02:18:48.000+0000" -> (known after apply) ~ qualified_arn = "arn:aws:lambda:us-east-1:223316951128:function:Function-c8e7055b:11" -> (known after apply) ~ qualified_invoke_arn = "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:223316951128:function:Function-c8e7055b:11/invocations" -> (known after apply) ~ s3_key = "asset.c8e7055bb3773d297f63b5172fb6a571cddc069012.3b6614a20cf2ab64d7d13e42b726ad1a.zip" -> "asset.c8e7055bb3773d297f63b5172fb6a571cddc069012.7b6ef91de86b13bb2876c1df4159d22e.zip" tags = {} ~ version = "11" -> (known after apply) # (18 unchanged attributes hidden) # (3 unchanged blocks hidden) } # aws_lambda_function.VotingAppApi_VotingAppApi-OnRequest-41f14472_39478289 will be updated in-place ~ resource "aws_lambda_function" "VotingAppApi_VotingAppApi-OnRequest-41f14472_39478289" { id = "VotingAppApi-OnRequest-41f14472-c87bddf9" ~ last_modified = "2023-08-11T02:18:48.000+0000" -> (known after apply) ~ qualified_arn = "arn:aws:lambda:us-east-1:223316951128:function:VotingAppApi-OnRequest-41f14472-c87bddf9:10" -> (known after apply) ~ qualified_invoke_arn = "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:223316951128:function:VotingAppApi-OnRequest-41f14472-c87bddf9:10/invocations" -> (known after apply) ~ s3_key = "asset.c87bddf927b70f22f963a14d64ce5f4bf1372d398a.7af676d0bbd48d1c55cb3c2c1432c8a2.zip" -> "asset.c87bddf927b70f22f963a14d64ce5f4bf1372d398a.c5a59b07a6643fd1d41ea3e041793e6e.zip" tags = {} ~ version = "10" -> (known after apply) # (18 unchanged attributes hidden) # (3 unchanged blocks hidden) } # aws_lambda_function.VotingAppApi_VotingAppApi-OnRequest-52bc3c17_02CD08E6 will be updated in-place ~ resource "aws_lambda_function" "VotingAppApi_VotingAppApi-OnRequest-52bc3c17_02CD08E6" { id = "VotingAppApi-OnRequest-52bc3c17-c89daf14" ~ last_modified = "2023-08-11T02:18:48.000+0000" -> (known after apply) ~ qualified_arn = "arn:aws:lambda:us-east-1:223316951128:function:VotingAppApi-OnRequest-52bc3c17-c89daf14:7" -> (known after apply) ~ qualified_invoke_arn = "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:223316951128:function:VotingAppApi-OnRequest-52bc3c17-c89daf14:7/invocations" -> (known after apply) ~ s3_key = "asset.c89daf14978fb4fcb47ef703ae9610992b519c2727.4acc7b5910422db52aabfb2afe2f2c44.zip" -> "asset.c89daf14978fb4fcb47ef703ae9610992b519c2727.827466c9b2f96034cea24c87f9a7bdc3.zip" tags = {} ~ version = "7" -> (known after apply) # (18 unchanged attributes hidden) # (3 unchanged blocks hidden) } # aws_lambda_function.VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_93510F52 will be updated in-place ~ resource "aws_lambda_function" "VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_93510F52" { id = "VotingAppApi-OnRequest-8d2e75ec-c8cf8e09" ~ last_modified = "2023-08-11T02:18:48.000+0000" -> (known after apply) ~ qualified_arn = "arn:aws:lambda:us-east-1:223316951128:function:VotingAppApi-OnRequest-8d2e75ec-c8cf8e09:9" -> (known after apply) ~ qualified_invoke_arn = "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:223316951128:function:VotingAppApi-OnRequest-8d2e75ec-c8cf8e09:9/invocations" -> (known after apply) ~ s3_key = "asset.c8cf8e09741b572c80a663f9c8cf9ce40395e87b08.a755aeb99c9877c1faafaf9b59e38da8.zip" -> "asset.c8cf8e09741b572c80a663f9c8cf9ce40395e87b08.f5e526ad17a0c17ce45c72d09e7adca7.zip" tags = {} ~ version = "9" -> (known after apply) # (18 unchanged attributes hidden) # (3 unchanged blocks hidden) } # aws_s3_object.InitializeTable_Function_S3Object_F5933D3B must be replaced -/+ resource "aws_s3_object" "InitializeTable_Function_S3Object_F5933D3B" { ~ bucket_key_enabled = false -> (known after apply) ~ content_type = "binary/octet-stream" -> (known after apply) ~ etag = "9d48ebaae79aba1bc96fb60a35a6b9aa" -> (known after apply) ~ id = "asset.c8e7055bb3773d297f63b5172fb6a571cddc069012.3b6614a20cf2ab64d7d13e42b726ad1a.zip" -> (known after apply) ~ key = "asset.c8e7055bb3773d297f63b5172fb6a571cddc069012.3b6614a20cf2ab64d7d13e42b726ad1a.zip" -> "asset.c8e7055bb3773d297f63b5172fb6a571cddc069012.7b6ef91de86b13bb2876c1df4159d22e.zip" # forces replacement + kms_key_id = (known after apply) - metadata = {} -> null ~ server_side_encryption = "AES256" -> (known after apply) ~ source = "assets/InitializeTable_Function_Asset_1A1B5BC3/3B6614A20CF2AB64D7D13E42B726AD1A/archive.zip" -> "assets/InitializeTable_Function_Asset_1A1B5BC3/7B6EF91DE86B13BB2876C1DF4159D22E/archive.zip" ~ storage_class = "STANDARD" -> (known after apply) - tags = {} -> null ~ tags_all = {} -> (known after apply) + version_id = (known after apply) # (3 unchanged attributes hidden) } # aws_s3_object.VotingAppApi_VotingAppApi-OnRequest-41f14472_S3Object_C95F6BA9 must be replaced +/- resource "aws_s3_object" "VotingAppApi_VotingAppApi-OnRequest-41f14472_S3Object_C95F6BA9" { ~ bucket_key_enabled = false -> (known after apply) ~ content_type = "binary/octet-stream" -> (known after apply) ~ etag = "ea96ebc302c72bbc7dcd39e3ad95f5d5" -> (known after apply) ~ id = "asset.c87bddf927b70f22f963a14d64ce5f4bf1372d398a.7af676d0bbd48d1c55cb3c2c1432c8a2.zip" -> (known after apply) ~ key = "asset.c87bddf927b70f22f963a14d64ce5f4bf1372d398a.7af676d0bbd48d1c55cb3c2c1432c8a2.zip" -> "asset.c87bddf927b70f22f963a14d64ce5f4bf1372d398a.c5a59b07a6643fd1d41ea3e041793e6e.zip" # forces replacement + kms_key_id = (known after apply) - metadata = {} -> null ~ server_side_encryption = "AES256" -> (known after apply) ~ source = "assets/VotingAppApi_VotingAppApi-OnRequest-41f14472_Asset_94F55D63/7AF676D0BBD48D1C55CB3C2C1432C8A2/archive.zip" -> "assets/VotingAppApi_VotingAppApi-OnRequest-41f14472_Asset_94F55D63/C5A59B07A6643FD1D41EA3E041793E6E/archive.zip" ~ storage_class = "STANDARD" -> (known after apply) - tags = {} -> null ~ tags_all = {} -> (known after apply) + version_id = (known after apply) # (3 unchanged attributes hidden) } # aws_s3_object.VotingAppApi_VotingAppApi-OnRequest-52bc3c17_S3Object_F3A42DC6 must be replaced +/- resource "aws_s3_object" "VotingAppApi_VotingAppApi-OnRequest-52bc3c17_S3Object_F3A42DC6" { ~ bucket_key_enabled = false -> (known after apply) ~ content_type = "binary/octet-stream" -> (known after apply) ~ etag = "7d50d9591a15fe864225f8257d27900b" -> (known after apply) ~ id = "asset.c89daf14978fb4fcb47ef703ae9610992b519c2727.4acc7b5910422db52aabfb2afe2f2c44.zip" -> (known after apply) ~ key = "asset.c89daf14978fb4fcb47ef703ae9610992b519c2727.4acc7b5910422db52aabfb2afe2f2c44.zip" -> "asset.c89daf14978fb4fcb47ef703ae9610992b519c2727.827466c9b2f96034cea24c87f9a7bdc3.zip" # forces replacement + kms_key_id = (known after apply) - metadata = {} -> null ~ server_side_encryption = "AES256" -> (known after apply) ~ source = "assets/VotingAppApi_VotingAppApi-OnRequest-52bc3c17_Asset_FBAD96D6/4ACC7B5910422DB52AABFB2AFE2F2C44/archive.zip" -> "assets/VotingAppApi_VotingAppApi-OnRequest-52bc3c17_Asset_FBAD96D6/827466C9B2F96034CEA24C87F9A7BDC3/archive.zip" ~ storage_class = "STANDARD" -> (known after apply) - tags = {} -> null ~ tags_all = {} -> (known after apply) + version_id = (known after apply) # (3 unchanged attributes hidden) } # aws_s3_object.VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_S3Object_F8CCE004 must be replaced +/- resource "aws_s3_object" "VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_S3Object_F8CCE004" { ~ bucket_key_enabled = false -> (known after apply) ~ content_type = "binary/octet-stream" -> (known after apply) ~ etag = "64d5b363474125d5e5f5034489869ec0" -> (known after apply) ~ id = "asset.c8cf8e09741b572c80a663f9c8cf9ce40395e87b08.a755aeb99c9877c1faafaf9b59e38da8.zip" -> (known after apply) ~ key = "asset.c8cf8e09741b572c80a663f9c8cf9ce40395e87b08.a755aeb99c9877c1faafaf9b59e38da8.zip" -> "asset.c8cf8e09741b572c80a663f9c8cf9ce40395e87b08.f5e526ad17a0c17ce45c72d09e7adca7.zip" # forces replacement + kms_key_id = (known after apply) - metadata = {} -> null ~ server_side_encryption = "AES256" -> (known after apply) ~ source = "assets/VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_Asset_4A29FD21/A755AEB99C9877C1FAAFAF9B59E38DA8/archive.zip" -> "assets/VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_Asset_4A29FD21/F5E526AD17A0C17CE45C72D09E7ADCA7/archive.zip" ~ storage_class = "STANDARD" -> (known after apply) - tags = {} -> null ~ tags_all = {} -> (known after apply) + version_id = (known after apply) # (3 unchanged attributes hidden) } # aws_s3_object.cloudWebsite_File--asset-manifestjson_8187FE70 will be updated in-place ~ resource "aws_s3_object" "cloudWebsite_File--asset-manifestjson_8187FE70" { id = "/asset-manifest.json" ~ source_hash = "2c6e0a51e8abd920539b39b9cc9b6991" -> "cda0d90376be039deb7a630c0fc8791b" tags = {} + version_id = (known after apply) # (12 unchanged attributes hidden) } # aws_s3_object.cloudWebsite_File--indexhtml_2A2AE13C will be updated in-place ~ resource "aws_s3_object" "cloudWebsite_File--indexhtml_2A2AE13C" { id = "/index.html" ~ source_hash = "e9fde7184296c040a6d5759a0a0d33d5" -> "93bb33e6f3828e1f289f6b4f6dfc6347" tags = {} + version_id = (known after apply) # (12 unchanged attributes hidden) } # aws_s3_object.cloudWebsite_File--static--css--main16906608css_D530E180 will be created + resource "aws_s3_object" "cloudWebsite_File--static--css--main16906608css_D530E180" { + acl = "private" + bucket = "cloud-website-c8e58765-20230803215115368500000001" + bucket_key_enabled = (known after apply) + content_type = "text/css; charset=utf-8" + etag = (known after apply) + force_destroy = false + id = (known after apply) + key = "/static/css/main.16906608.css" + kms_key_id = (known after apply) + server_side_encryption = (known after apply) + source = "/github/workspace/website/build/static/css/main.16906608.css" + source_hash = "6d165eb1ebad2e51671576bfd9f67131" + storage_class = (known after apply) + tags_all = (known after apply) + version_id = (known after apply) } # aws_s3_object.cloudWebsite_File--static--css--main16906608cssmap_BC0291B2 will be created + resource "aws_s3_object" "cloudWebsite_File--static--css--main16906608cssmap_BC0291B2" { + acl = "private" + bucket = "cloud-website-c8e58765-20230803215115368500000001" + bucket_key_enabled = (known after apply) + content_type = "application/json; charset=utf-8" + etag = (known after apply) + force_destroy = false + id = (known after apply) + key = "/static/css/main.16906608.css.map" + kms_key_id = (known after apply) + server_side_encryption = (known after apply) + source = "/github/workspace/website/build/static/css/main.16906608.css.map" + source_hash = "8d6bb3eda809839f43cd15d626fdee14" + storage_class = (known after apply) + tags_all = (known after apply) + version_id = (known after apply) } # aws_s3_object.cloudWebsite_File--static--css--main3451cd13css_A369CB42 will be destroyed # (because aws_s3_object.cloudWebsite_File--static--css--main3451cd13css_A369CB42 is not in configuration) - resource "aws_s3_object" "cloudWebsite_File--static--css--main3451cd13css_A369CB42" { - acl = "private" -> null - bucket = "cloud-website-c8e58765-20230803215115368500000001" -> null - bucket_key_enabled = false -> null - content_type = "text/css; charset=utf-8" -> null - etag = "fd86480ccee91b0b6b842205b076e202" -> null - force_destroy = false -> null - id = "/static/css/main.3451cd13.css" -> null - key = "/static/css/main.3451cd13.css" -> null - metadata = {} -> null - server_side_encryption = "AES256" -> null - source = "/github/workspace/website/build/static/css/main.3451cd13.css" -> null - source_hash = "fd86480ccee91b0b6b842205b076e202" -> null - storage_class = "STANDARD" -> null - tags = {} -> null - tags_all = {} -> null } # aws_s3_object.cloudWebsite_File--static--css--main3451cd13cssmap_B24EB286 will be destroyed # (because aws_s3_object.cloudWebsite_File--static--css--main3451cd13cssmap_B24EB286 is not in configuration) - resource "aws_s3_object" "cloudWebsite_File--static--css--main3451cd13cssmap_B24EB286" { - acl = "private" -> null - bucket = "cloud-website-c8e58765-20230803215115368500000001" -> null - bucket_key_enabled = false -> null - content_type = "application/json; charset=utf-8" -> null - etag = "d4bb87eb45890d199cd88ac0945654d0" -> null - force_destroy = false -> null - id = "/static/css/main.3451cd13.css.map" -> null - key = "/static/css/main.3451cd13.css.map" -> null - metadata = {} -> null - server_side_encryption = "AES256" -> null - source = "/github/workspace/website/build/static/css/main.3451cd13.css.map" -> null - source_hash = "d4bb87eb45890d199cd88ac0945654d0" -> null - storage_class = "STANDARD" -> null - tags = {} -> null - tags_all = {} -> null } # aws_s3_object.cloudWebsite_File--static--js--main5e7e39adjsLICENSEtxt_0029E053 will be created + resource "aws_s3_object" "cloudWebsite_File--static--js--main5e7e39adjsLICENSEtxt_0029E053" { + acl = "private" + bucket = "cloud-website-c8e58765-20230803215115368500000001" + bucket_key_enabled = (known after apply) + content_type = "text/plain; charset=utf-8" + etag = (known after apply) + force_destroy = false + id = (known after apply) + key = "/static/js/main.5e7e39ad.js.LICENSE.txt" + kms_key_id = (known after apply) + server_side_encryption = (known after apply) + source = "/github/workspace/website/build/static/js/main.5e7e39ad.js.LICENSE.txt" + source_hash = "8dffae291722641df11b29bdf4b1f953" + storage_class = (known after apply) + tags_all = (known after apply) + version_id = (known after apply) } # aws_s3_object.cloudWebsite_File--static--js--main5e7e39adjs_F7172533 will be created + resource "aws_s3_object" "cloudWebsite_File--static--js--main5e7e39adjs_F7172533" { + acl = "private" + bucket = "cloud-website-c8e58765-20230803215115368500000001" + bucket_key_enabled = (known after apply) + content_type = "application/javascript; charset=utf-8" + etag = (known after apply) + force_destroy = false + id = (known after apply) + key = "/static/js/main.5e7e39ad.js" + kms_key_id = (known after apply) + server_side_encryption = (known after apply) + source = "/github/workspace/website/build/static/js/main.5e7e39ad.js" + source_hash = "7d452b76284c93b6ebefdb25aba50024" + storage_class = (known after apply) + tags_all = (known after apply) + version_id = (known after apply) } # aws_s3_object.cloudWebsite_File--static--js--main5e7e39adjsmap_8FCDFA97 will be created + resource "aws_s3_object" "cloudWebsite_File--static--js--main5e7e39adjsmap_8FCDFA97" { + acl = "private" + bucket = "cloud-website-c8e58765-20230803215115368500000001" + bucket_key_enabled = (known after apply) + content_type = "application/json; charset=utf-8" + etag = (known after apply) + force_destroy = false + id = (known after apply) + key = "/static/js/main.5e7e39ad.js.map" + kms_key_id = (known after apply) + server_side_encryption = (known after apply) + source = "/github/workspace/website/build/static/js/main.5e7e39ad.js.map" + source_hash = "639b73934ced6ee7ff5b68d758c0e547" + storage_class = (known after apply) + tags_all = (known after apply) + version_id = (known after apply) } # aws_s3_object.cloudWebsite_File--static--js--mainf1d03206jsLICENSEtxt_4D897431 will be destroyed # (because aws_s3_object.cloudWebsite_File--static--js--mainf1d03206jsLICENSEtxt_4D897431 is not in configuration) - resource "aws_s3_object" "cloudWebsite_File--static--js--mainf1d03206jsLICENSEtxt_4D897431" { - acl = "private" -> null - bucket = "cloud-website-c8e58765-20230803215115368500000001" -> null - bucket_key_enabled = false -> null - content_type = "text/plain; charset=utf-8" -> null - etag = "8dffae291722641df11b29bdf4b1f953" -> null - force_destroy = false -> null - id = "/static/js/main.f1d03206.js.LICENSE.txt" -> null - key = "/static/js/main.f1d03206.js.LICENSE.txt" -> null - metadata = {} -> null - server_side_encryption = "AES256" -> null - source = "/github/workspace/website/build/static/js/main.f1d03206.js.LICENSE.txt" -> null - source_hash = "8dffae291722641df11b29bdf4b1f953" -> null - storage_class = "STANDARD" -> null - tags = {} -> null - tags_all = {} -> null } # aws_s3_object.cloudWebsite_File--static--js--mainf1d03206js_5FB083CD will be destroyed # (because aws_s3_object.cloudWebsite_File--static--js--mainf1d03206js_5FB083CD is not in configuration) - resource "aws_s3_object" "cloudWebsite_File--static--js--mainf1d03206js_5FB083CD" { - acl = "private" -> null - bucket = "cloud-website-c8e58765-20230803215115368500000001" -> null - bucket_key_enabled = false -> null - content_type = "application/javascript; charset=utf-8" -> null - etag = "de828708e050a6f1c29d4fcd2d58ed6f" -> null - force_destroy = false -> null - id = "/static/js/main.f1d03206.js" -> null - key = "/static/js/main.f1d03206.js" -> null - metadata = {} -> null - server_side_encryption = "AES256" -> null - source = "/github/workspace/website/build/static/js/main.f1d03206.js" -> null - source_hash = "de828708e050a6f1c29d4fcd2d58ed6f" -> null - storage_class = "STANDARD" -> null - tags = {} -> null - tags_all = {} -> null } # aws_s3_object.cloudWebsite_File--static--js--mainf1d03206jsmap_6DC52951 will be destroyed # (because aws_s3_object.cloudWebsite_File--static--js--mainf1d03206jsmap_6DC52951 is not in configuration) - resource "aws_s3_object" "cloudWebsite_File--static--js--mainf1d03206jsmap_6DC52951" { - acl = "private" -> null - bucket = "cloud-website-c8e58765-20230803215115368500000001" -> null - bucket_key_enabled = false -> null - content_type = "application/json; charset=utf-8" -> null - etag = "b769bd1c3cd7c78022ab17baa6e2de75" -> null - force_destroy = false -> null - id = "/static/js/main.f1d03206.js.map" -> null - key = "/static/js/main.f1d03206.js.map" -> null - metadata = {} -> null - server_side_encryption = "AES256" -> null - source = "/github/workspace/website/build/static/js/main.f1d03206.js.map" -> null - source_hash = "b769bd1c3cd7c78022ab17baa6e2de75" -> null - storage_class = "STANDARD" -> null - tags = {} -> null - tags_all = {} -> null } Plan: 9 to add, 10 to change, 9 to destroy. ```
github-actions[bot]
commented
1 year ago
Terraform Plan
Show Plan
``` aws_s3_object.cloudWebsite_File--static--css--main3451cd13cssmap_B24EB286: Refreshing state... [id=/static/css/main.3451cd13.css.map] aws_s3_object.cloudWebsite_File--static--css--main3451cd13css_A369CB42: Refreshing state... [id=/static/css/main.3451cd13.css] aws_s3_object.cloudWebsite_File--static--js--mainf1d03206jsLICENSEtxt_4D897431: Refreshing state... [id=/static/js/main.f1d03206.js.LICENSE.txt] aws_s3_object.cloudWebsite_File--static--js--mainf1d03206js_5FB083CD: Refreshing state... [id=/static/js/main.f1d03206.js] aws_s3_object.cloudWebsite_File--static--js--mainf1d03206jsmap_6DC52951: Refreshing state... [id=/static/js/main.f1d03206.js.map] data.aws_region.Region: Reading... aws_iam_role.InitializeTable_Function_IamRole_E3F0843D: Refreshing state... [id=terraform-20230727202411672600000001] aws_iam_role.VotingAppApi_VotingAppApi-OnRequest-41f14472_IamRole_5F3056C5: Refreshing state... [id=terraform-20230727204725916100000001] aws_s3_bucket.Code: Refreshing state... [id=code-c84a50b1-20230727202411678600000003] aws_cloudfront_origin_access_control.cloudWebsite_CloudfrontOac_C956968B: Refreshing state... [id=E1J2GO7P2VQ2EZ] data.aws_region.Region: Read complete after 0s [id=us-east-1] aws_iam_role.VotingAppApi_VotingAppApi-OnRequest-52bc3c17_IamRole_CBB68D47: Refreshing state... [id=terraform-20230808003212924500000001] aws_s3_bucket.cloudWebsite_WebsiteBucket_EB03D355: Refreshing state... [id=cloud-website-c8e58765-20230803215115368500000001] aws_dynamodb_table.VotingAppStore_Entries_tfawsdynamodbTableDynamodbTable_76D1C895: Refreshing state... [id=Entries-e91f54ab] aws_iam_role.VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_IamRole_0FF833EF: Refreshing state... [id=terraform-20230803215115569800000002] aws_iam_role_policy.VotingAppApi_VotingAppApi-OnRequest-52bc3c17_IamRolePolicy_0F307DC9: Refreshing state... [id=terraform-20230808003212924500000001:terraform-20230808003225755300000003] aws_iam_role_policy_attachment.VotingAppApi_VotingAppApi-OnRequest-52bc3c17_IamRolePolicyAttachment_92A90320: Refreshing state... [id=terraform-20230808003212924500000001-20230808003213158800000002] aws_iam_role_policy.InitializeTable_Function_IamRolePolicy_2AD89519: Refreshing state... [id=terraform-20230727202411672600000001:terraform-20230727202424567600000008] aws_iam_role_policy_attachment.InitializeTable_Function_IamRolePolicyAttachment_4435DE19: Refreshing state... [id=terraform-20230727202411672600000001-20230727202411887400000005] aws_iam_role_policy.VotingAppApi_VotingAppApi-OnRequest-41f14472_IamRolePolicy_25C9720E: Refreshing state... [id=terraform-20230727204725916100000001:terraform-20230727204739773400000005] aws_iam_role_policy_attachment.VotingAppApi_VotingAppApi-OnRequest-41f14472_IamRolePolicyAttachment_E1980EB1: Refreshing state... [id=terraform-20230727204725916100000001-20230727204726450200000003] aws_iam_role_policy_attachment.VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_IamRolePolicyAttachment_055C2EDA: Refreshing state... [id=terraform-20230803215115569800000002-20230803215115890800000004] aws_iam_role_policy.VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_IamRolePolicy_2D34FA97: Refreshing state... [id=terraform-20230803215115569800000002:terraform-20230803215115813700000003] aws_s3_object.InitializeTable_Function_S3Object_F5933D3B: Refreshing state... [id=asset.c8e7055bb3773d297f63b5172fb6a571cddc069012.3b6614a20cf2ab64d7d13e42b726ad1a.zip] aws_s3_object.VotingAppApi_VotingAppApi-OnRequest-52bc3c17_S3Object_F3A42DC6: Refreshing state... [id=asset.c89daf14978fb4fcb47ef703ae9610992b519c2727.4acc7b5910422db52aabfb2afe2f2c44.zip] aws_s3_object.VotingAppApi_VotingAppApi-OnRequest-41f14472_S3Object_C95F6BA9: Refreshing state... [id=asset.c87bddf927b70f22f963a14d64ce5f4bf1372d398a.7af676d0bbd48d1c55cb3c2c1432c8a2.zip] aws_s3_object.VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_S3Object_F8CCE004: Refreshing state... [id=asset.c8cf8e09741b572c80a663f9c8cf9ce40395e87b08.a755aeb99c9877c1faafaf9b59e38da8.zip] aws_lambda_function.VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_93510F52: Refreshing state... [id=VotingAppApi-OnRequest-8d2e75ec-c8cf8e09] aws_lambda_function.VotingAppApi_VotingAppApi-OnRequest-52bc3c17_02CD08E6: Refreshing state... [id=VotingAppApi-OnRequest-52bc3c17-c89daf14] aws_lambda_function.InitializeTable_Function_FD00736D: Refreshing state... [id=Function-c8e7055b] aws_lambda_function.VotingAppApi_VotingAppApi-OnRequest-41f14472_39478289: Refreshing state... [id=VotingAppApi-OnRequest-41f14472-c87bddf9] aws_cloudfront_distribution.cloudWebsite_Distribution_083B5AF9: Refreshing state... [id=E1QUV69RQ9ODON] aws_s3_object.cloudWebsite_File--asset-manifestjson_8187FE70: Refreshing state... [id=/asset-manifest.json] aws_s3_bucket_server_side_encryption_configuration.cloudWebsite_Encryption_6A8A4E29: Refreshing state... [id=cloud-website-c8e58765-20230803215115368500000001] aws_s3_object.cloudWebsite_File--logo192png_6E513B20: Refreshing state... [id=/logo192.png] aws_s3_object.cloudWebsite_File--static--js--78728cb0dcdchunkjsmap_F5D0643F: Refreshing state... [id=/static/js/787.28cb0dcd.chunk.js.map] aws_s3_bucket_website_configuration.cloudWebsite_BucketWebsiteConfiguration_920E8E41: Refreshing state... [id=cloud-website-c8e58765-20230803215115368500000001] aws_s3_object.cloudWebsite_File--logo512png_E26C5AA3: Refreshing state... [id=/logo512.png] aws_s3_object.cloudWebsite_File--robotstxt_F93900E9: Refreshing state... [id=/robots.txt] aws_s3_object.cloudWebsite_File--faviconico_A86052F9: Refreshing state... [id=/favicon.ico] aws_s3_object.cloudWebsite_File--manifestjson_5AC33197: Refreshing state... [id=/manifest.json] aws_s3_object.cloudWebsite_File--indexhtml_2A2AE13C: Refreshing state... [id=/index.html] aws_s3_bucket_public_access_block.cloudWebsite_PublicAccessBlock_18A70311: Refreshing state... [id=cloud-website-c8e58765-20230803215115368500000001] aws_s3_object.cloudWebsite_File--static--js--78728cb0dcdchunkjs_40889769: Refreshing state... [id=/static/js/787.28cb0dcd.chunk.js] data.aws_iam_policy_document.cloudWebsite_AllowDistributionReadOnly_89DC4FD0: Reading... data.aws_iam_policy_document.cloudWebsite_AllowDistributionReadOnly_89DC4FD0: Read complete after 0s [id=573591717] aws_s3_bucket_policy.cloudWebsite_DistributionS3BucketPolicy_32B029AE: Refreshing state... [id=cloud-website-c8e58765-20230803215115368500000001] aws_api_gateway_rest_api.VotingAppApi_api_CB41EC98: Refreshing state... [id=dfh6uhtoa0] aws_lambda_permission.VotingAppApi_api_permission-POST-57590acc_3E83C8F6: Refreshing state... [id=AllowExecutionFromAPIGateway-POST-57590acc] aws_lambda_permission.VotingAppApi_api_permission-GET-5969f3af_56B4A504: Refreshing state... [id=AllowExecutionFromAPIGateway-GET-5969f3af] aws_api_gateway_deployment.VotingAppApi_api_deployment_B9647894: Refreshing state... [id=q0wnc2] aws_lambda_permission.VotingAppApi_api_permission-POST-53dc1f64_98751060: Refreshing state... [id=AllowExecutionFromAPIGateway-POST-53dc1f64] aws_api_gateway_stage.VotingAppApi_api_stage_9B2FA9EA: Refreshing state... [id=ags-dfh6uhtoa0-prod] aws_s3_object.cloudWebsite_File-configjson_591A81BA: Refreshing state... [id=config.json] Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: + create ~ update in-place - destroy -/+ destroy and then create replacement +/- create replacement and then destroy <= read (data resources) Terraform will perform the following actions: # data.aws_lambda_invocation.InitializeTable_Invocation_6E01246F will be read during apply # (depends on a resource or a module with changes pending) <= data "aws_lambda_invocation" "InitializeTable_Invocation_6E01246F" { + function_name = "Function-c8e7055b" + id = (known after apply) + input = jsonencode({}) + result = (known after apply) } # aws_iam_role_policy.InitializeTable_Function_IamRolePolicy_2AD89519 will be updated in-place ~ resource "aws_iam_role_policy" "InitializeTable_Function_IamRolePolicy_2AD89519" { id = "terraform-20230727202411672600000001:terraform-20230727202424567600000008" name = "terraform-20230727202424567600000008" ~ policy = jsonencode( ~ { ~ Statement = [ ~ { ~ Action = [ - "dynamodb:PutItem", ] -> "none:null" ~ Resource = [ - "arn:aws:dynamodb:us-east-1:223316951128:table/Entries-e91f54ab", ] -> "*" # (1 unchanged attribute hidden) }, ] # (1 unchanged attribute hidden) } ) # (1 unchanged attribute hidden) } # aws_iam_role_policy.VotingAppApi_VotingAppApi-OnRequest-41f14472_IamRolePolicy_25C9720E will be updated in-place ~ resource "aws_iam_role_policy" "VotingAppApi_VotingAppApi-OnRequest-41f14472_IamRolePolicy_25C9720E" { id = "terraform-20230727204725916100000001:terraform-20230727204739773400000005" name = "terraform-20230727204739773400000005" ~ policy = jsonencode( ~ { ~ Statement = [ ~ { ~ Action = [ - "dynamodb:PutItem", ] -> "none:null" ~ Resource = [ - "arn:aws:dynamodb:us-east-1:223316951128:table/Entries-e91f54ab", ] -> "*" # (1 unchanged attribute hidden) }, - { - Action = [ - "dynamodb:GetItem", ] - Effect = "Allow" - Resource = [ - "arn:aws:dynamodb:us-east-1:223316951128:table/Entries-e91f54ab", ] }, - { - Action = [ - "dynamodb:Scan", ] - Effect = "Allow" - Resource = [ - "arn:aws:dynamodb:us-east-1:223316951128:table/Entries-e91f54ab", ] }, ] # (1 unchanged attribute hidden) } ) # (1 unchanged attribute hidden) } # aws_iam_role_policy.VotingAppApi_VotingAppApi-OnRequest-52bc3c17_IamRolePolicy_0F307DC9 will be updated in-place ~ resource "aws_iam_role_policy" "VotingAppApi_VotingAppApi-OnRequest-52bc3c17_IamRolePolicy_0F307DC9" { id = "terraform-20230808003212924500000001:terraform-20230808003225755300000003" name = "terraform-20230808003225755300000003" ~ policy = jsonencode( ~ { ~ Statement = [ ~ { ~ Action = [ - "dynamodb:Scan", ] -> "none:null" ~ Resource = [ - "arn:aws:dynamodb:us-east-1:223316951128:table/Entries-e91f54ab", ] -> "*" # (1 unchanged attribute hidden) }, ] # (1 unchanged attribute hidden) } ) # (1 unchanged attribute hidden) } # aws_iam_role_policy.VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_IamRolePolicy_2D34FA97 will be updated in-place ~ resource "aws_iam_role_policy" "VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_IamRolePolicy_2D34FA97" { id = "terraform-20230803215115569800000002:terraform-20230803215115813700000003" name = "terraform-20230803215115813700000003" ~ policy = jsonencode( ~ { ~ Statement = [ ~ { ~ Action = [ - "dynamodb:Scan", ] -> "none:null" ~ Resource = [ - "arn:aws:dynamodb:us-east-1:223316951128:table/Entries-e91f54ab", ] -> "*" # (1 unchanged attribute hidden) }, ] # (1 unchanged attribute hidden) } ) # (1 unchanged attribute hidden) } # aws_lambda_function.InitializeTable_Function_FD00736D will be updated in-place ~ resource "aws_lambda_function" "InitializeTable_Function_FD00736D" { id = "Function-c8e7055b" ~ last_modified = "2023-08-11T02:18:48.000+0000" -> (known after apply) ~ qualified_arn = "arn:aws:lambda:us-east-1:223316951128:function:Function-c8e7055b:11" -> (known after apply) ~ qualified_invoke_arn = "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:223316951128:function:Function-c8e7055b:11/invocations" -> (known after apply) ~ s3_key = "asset.c8e7055bb3773d297f63b5172fb6a571cddc069012.3b6614a20cf2ab64d7d13e42b726ad1a.zip" -> "asset.c8e7055bb3773d297f63b5172fb6a571cddc069012.c10beb670eb347cc3be726916ce88c4d.zip" tags = {} ~ version = "11" -> (known after apply) # (18 unchanged attributes hidden) # (3 unchanged blocks hidden) } # aws_lambda_function.VotingAppApi_VotingAppApi-OnRequest-41f14472_39478289 will be updated in-place ~ resource "aws_lambda_function" "VotingAppApi_VotingAppApi-OnRequest-41f14472_39478289" { id = "VotingAppApi-OnRequest-41f14472-c87bddf9" ~ last_modified = "2023-08-11T02:18:48.000+0000" -> (known after apply) ~ qualified_arn = "arn:aws:lambda:us-east-1:223316951128:function:VotingAppApi-OnRequest-41f14472-c87bddf9:10" -> (known after apply) ~ qualified_invoke_arn = "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:223316951128:function:VotingAppApi-OnRequest-41f14472-c87bddf9:10/invocations" -> (known after apply) ~ s3_key = "asset.c87bddf927b70f22f963a14d64ce5f4bf1372d398a.7af676d0bbd48d1c55cb3c2c1432c8a2.zip" -> "asset.c87bddf927b70f22f963a14d64ce5f4bf1372d398a.b31fd02ff0eda75e4ff180bb3e7ee15d.zip" tags = {} ~ version = "10" -> (known after apply) # (18 unchanged attributes hidden) # (3 unchanged blocks hidden) } # aws_lambda_function.VotingAppApi_VotingAppApi-OnRequest-52bc3c17_02CD08E6 will be updated in-place ~ resource "aws_lambda_function" "VotingAppApi_VotingAppApi-OnRequest-52bc3c17_02CD08E6" { id = "VotingAppApi-OnRequest-52bc3c17-c89daf14" ~ last_modified = "2023-08-11T02:18:48.000+0000" -> (known after apply) ~ qualified_arn = "arn:aws:lambda:us-east-1:223316951128:function:VotingAppApi-OnRequest-52bc3c17-c89daf14:7" -> (known after apply) ~ qualified_invoke_arn = "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:223316951128:function:VotingAppApi-OnRequest-52bc3c17-c89daf14:7/invocations" -> (known after apply) ~ s3_key = "asset.c89daf14978fb4fcb47ef703ae9610992b519c2727.4acc7b5910422db52aabfb2afe2f2c44.zip" -> "asset.c89daf14978fb4fcb47ef703ae9610992b519c2727.931207c627c0deaa36045b325b4bcbeb.zip" tags = {} ~ version = "7" -> (known after apply) # (18 unchanged attributes hidden) # (3 unchanged blocks hidden) } # aws_lambda_function.VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_93510F52 will be updated in-place ~ resource "aws_lambda_function" "VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_93510F52" { id = "VotingAppApi-OnRequest-8d2e75ec-c8cf8e09" ~ last_modified = "2023-08-11T02:18:48.000+0000" -> (known after apply) ~ qualified_arn = "arn:aws:lambda:us-east-1:223316951128:function:VotingAppApi-OnRequest-8d2e75ec-c8cf8e09:9" -> (known after apply) ~ qualified_invoke_arn = "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:223316951128:function:VotingAppApi-OnRequest-8d2e75ec-c8cf8e09:9/invocations" -> (known after apply) ~ s3_key = "asset.c8cf8e09741b572c80a663f9c8cf9ce40395e87b08.a755aeb99c9877c1faafaf9b59e38da8.zip" -> "asset.c8cf8e09741b572c80a663f9c8cf9ce40395e87b08.3983cc2590779fd9489ad053ee4e19b0.zip" tags = {} ~ version = "9" -> (known after apply) # (18 unchanged attributes hidden) # (3 unchanged blocks hidden) } # aws_s3_object.InitializeTable_Function_S3Object_F5933D3B must be replaced -/+ resource "aws_s3_object" "InitializeTable_Function_S3Object_F5933D3B" { ~ bucket_key_enabled = false -> (known after apply) ~ content_type = "binary/octet-stream" -> (known after apply) ~ etag = "9d48ebaae79aba1bc96fb60a35a6b9aa" -> (known after apply) ~ id = "asset.c8e7055bb3773d297f63b5172fb6a571cddc069012.3b6614a20cf2ab64d7d13e42b726ad1a.zip" -> (known after apply) ~ key = "asset.c8e7055bb3773d297f63b5172fb6a571cddc069012.3b6614a20cf2ab64d7d13e42b726ad1a.zip" -> "asset.c8e7055bb3773d297f63b5172fb6a571cddc069012.c10beb670eb347cc3be726916ce88c4d.zip" # forces replacement + kms_key_id = (known after apply) - metadata = {} -> null ~ server_side_encryption = "AES256" -> (known after apply) ~ source = "assets/InitializeTable_Function_Asset_1A1B5BC3/3B6614A20CF2AB64D7D13E42B726AD1A/archive.zip" -> "assets/InitializeTable_Function_Asset_1A1B5BC3/C10BEB670EB347CC3BE726916CE88C4D/archive.zip" ~ storage_class = "STANDARD" -> (known after apply) - tags = {} -> null ~ tags_all = {} -> (known after apply) + version_id = (known after apply) # (3 unchanged attributes hidden) } # aws_s3_object.VotingAppApi_VotingAppApi-OnRequest-41f14472_S3Object_C95F6BA9 must be replaced +/- resource "aws_s3_object" "VotingAppApi_VotingAppApi-OnRequest-41f14472_S3Object_C95F6BA9" { ~ bucket_key_enabled = false -> (known after apply) ~ content_type = "binary/octet-stream" -> (known after apply) ~ etag = "ea96ebc302c72bbc7dcd39e3ad95f5d5" -> (known after apply) ~ id = "asset.c87bddf927b70f22f963a14d64ce5f4bf1372d398a.7af676d0bbd48d1c55cb3c2c1432c8a2.zip" -> (known after apply) ~ key = "asset.c87bddf927b70f22f963a14d64ce5f4bf1372d398a.7af676d0bbd48d1c55cb3c2c1432c8a2.zip" -> "asset.c87bddf927b70f22f963a14d64ce5f4bf1372d398a.b31fd02ff0eda75e4ff180bb3e7ee15d.zip" # forces replacement + kms_key_id = (known after apply) - metadata = {} -> null ~ server_side_encryption = "AES256" -> (known after apply) ~ source = "assets/VotingAppApi_VotingAppApi-OnRequest-41f14472_Asset_94F55D63/7AF676D0BBD48D1C55CB3C2C1432C8A2/archive.zip" -> "assets/VotingAppApi_VotingAppApi-OnRequest-41f14472_Asset_94F55D63/B31FD02FF0EDA75E4FF180BB3E7EE15D/archive.zip" ~ storage_class = "STANDARD" -> (known after apply) - tags = {} -> null ~ tags_all = {} -> (known after apply) + version_id = (known after apply) # (3 unchanged attributes hidden) } # aws_s3_object.VotingAppApi_VotingAppApi-OnRequest-52bc3c17_S3Object_F3A42DC6 must be replaced +/- resource "aws_s3_object" "VotingAppApi_VotingAppApi-OnRequest-52bc3c17_S3Object_F3A42DC6" { ~ bucket_key_enabled = false -> (known after apply) ~ content_type = "binary/octet-stream" -> (known after apply) ~ etag = "7d50d9591a15fe864225f8257d27900b" -> (known after apply) ~ id = "asset.c89daf14978fb4fcb47ef703ae9610992b519c2727.4acc7b5910422db52aabfb2afe2f2c44.zip" -> (known after apply) ~ key = "asset.c89daf14978fb4fcb47ef703ae9610992b519c2727.4acc7b5910422db52aabfb2afe2f2c44.zip" -> "asset.c89daf14978fb4fcb47ef703ae9610992b519c2727.931207c627c0deaa36045b325b4bcbeb.zip" # forces replacement + kms_key_id = (known after apply) - metadata = {} -> null ~ server_side_encryption = "AES256" -> (known after apply) ~ source = "assets/VotingAppApi_VotingAppApi-OnRequest-52bc3c17_Asset_FBAD96D6/4ACC7B5910422DB52AABFB2AFE2F2C44/archive.zip" -> "assets/VotingAppApi_VotingAppApi-OnRequest-52bc3c17_Asset_FBAD96D6/931207C627C0DEAA36045B325B4BCBEB/archive.zip" ~ storage_class = "STANDARD" -> (known after apply) - tags = {} -> null ~ tags_all = {} -> (known after apply) + version_id = (known after apply) # (3 unchanged attributes hidden) } # aws_s3_object.VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_S3Object_F8CCE004 must be replaced +/- resource "aws_s3_object" "VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_S3Object_F8CCE004" { ~ bucket_key_enabled = false -> (known after apply) ~ content_type = "binary/octet-stream" -> (known after apply) ~ etag = "64d5b363474125d5e5f5034489869ec0" -> (known after apply) ~ id = "asset.c8cf8e09741b572c80a663f9c8cf9ce40395e87b08.a755aeb99c9877c1faafaf9b59e38da8.zip" -> (known after apply) ~ key = "asset.c8cf8e09741b572c80a663f9c8cf9ce40395e87b08.a755aeb99c9877c1faafaf9b59e38da8.zip" -> "asset.c8cf8e09741b572c80a663f9c8cf9ce40395e87b08.3983cc2590779fd9489ad053ee4e19b0.zip" # forces replacement + kms_key_id = (known after apply) - metadata = {} -> null ~ server_side_encryption = "AES256" -> (known after apply) ~ source = "assets/VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_Asset_4A29FD21/A755AEB99C9877C1FAAFAF9B59E38DA8/archive.zip" -> "assets/VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_Asset_4A29FD21/3983CC2590779FD9489AD053EE4E19B0/archive.zip" ~ storage_class = "STANDARD" -> (known after apply) - tags = {} -> null ~ tags_all = {} -> (known after apply) + version_id = (known after apply) # (3 unchanged attributes hidden) } # aws_s3_object.cloudWebsite_File--asset-manifestjson_8187FE70 will be updated in-place ~ resource "aws_s3_object" "cloudWebsite_File--asset-manifestjson_8187FE70" { id = "/asset-manifest.json" ~ source_hash = "2c6e0a51e8abd920539b39b9cc9b6991" -> "065e6e583f13262839c3619fd5445cdb" tags = {} + version_id = (known after apply) # (12 unchanged attributes hidden) } # aws_s3_object.cloudWebsite_File--indexhtml_2A2AE13C will be updated in-place ~ resource "aws_s3_object" "cloudWebsite_File--indexhtml_2A2AE13C" { id = "/index.html" ~ source_hash = "e9fde7184296c040a6d5759a0a0d33d5" -> "7575d2c67a9dd7ee2252bdd8c62089e7" tags = {} + version_id = (known after apply) # (12 unchanged attributes hidden) } # aws_s3_object.cloudWebsite_File--static--css--main16906608css_D530E180 will be created + resource "aws_s3_object" "cloudWebsite_File--static--css--main16906608css_D530E180" { + acl = "private" + bucket = "cloud-website-c8e58765-20230803215115368500000001" + bucket_key_enabled = (known after apply) + content_type = "text/css; charset=utf-8" + etag = (known after apply) + force_destroy = false + id = (known after apply) + key = "/static/css/main.16906608.css" + kms_key_id = (known after apply) + server_side_encryption = (known after apply) + source = "/github/workspace/website/build/static/css/main.16906608.css" + source_hash = "6d165eb1ebad2e51671576bfd9f67131" + storage_class = (known after apply) + tags_all = (known after apply) + version_id = (known after apply) } # aws_s3_object.cloudWebsite_File--static--css--main16906608cssmap_BC0291B2 will be created + resource "aws_s3_object" "cloudWebsite_File--static--css--main16906608cssmap_BC0291B2" { + acl = "private" + bucket = "cloud-website-c8e58765-20230803215115368500000001" + bucket_key_enabled = (known after apply) + content_type = "application/json; charset=utf-8" + etag = (known after apply) + force_destroy = false + id = (known after apply) + key = "/static/css/main.16906608.css.map" + kms_key_id = (known after apply) + server_side_encryption = (known after apply) + source = "/github/workspace/website/build/static/css/main.16906608.css.map" + source_hash = "8d6bb3eda809839f43cd15d626fdee14" + storage_class = (known after apply) + tags_all = (known after apply) + version_id = (known after apply) } # aws_s3_object.cloudWebsite_File--static--css--main3451cd13css_A369CB42 will be destroyed # (because aws_s3_object.cloudWebsite_File--static--css--main3451cd13css_A369CB42 is not in configuration) - resource "aws_s3_object" "cloudWebsite_File--static--css--main3451cd13css_A369CB42" { - acl = "private" -> null - bucket = "cloud-website-c8e58765-20230803215115368500000001" -> null - bucket_key_enabled = false -> null - content_type = "text/css; charset=utf-8" -> null - etag = "fd86480ccee91b0b6b842205b076e202" -> null - force_destroy = false -> null - id = "/static/css/main.3451cd13.css" -> null - key = "/static/css/main.3451cd13.css" -> null - metadata = {} -> null - server_side_encryption = "AES256" -> null - source = "/github/workspace/website/build/static/css/main.3451cd13.css" -> null - source_hash = "fd86480ccee91b0b6b842205b076e202" -> null - storage_class = "STANDARD" -> null - tags = {} -> null - tags_all = {} -> null } # aws_s3_object.cloudWebsite_File--static--css--main3451cd13cssmap_B24EB286 will be destroyed # (because aws_s3_object.cloudWebsite_File--static--css--main3451cd13cssmap_B24EB286 is not in configuration) - resource "aws_s3_object" "cloudWebsite_File--static--css--main3451cd13cssmap_B24EB286" { - acl = "private" -> null - bucket = "cloud-website-c8e58765-20230803215115368500000001" -> null - bucket_key_enabled = false -> null - content_type = "application/json; charset=utf-8" -> null - etag = "d4bb87eb45890d199cd88ac0945654d0" -> null - force_destroy = false -> null - id = "/static/css/main.3451cd13.css.map" -> null - key = "/static/css/main.3451cd13.css.map" -> null - metadata = {} -> null - server_side_encryption = "AES256" -> null - source = "/github/workspace/website/build/static/css/main.3451cd13.css.map" -> null - source_hash = "d4bb87eb45890d199cd88ac0945654d0" -> null - storage_class = "STANDARD" -> null - tags = {} -> null - tags_all = {} -> null } # aws_s3_object.cloudWebsite_File--static--js--main4334420ejsLICENSEtxt_2CDB0F8A will be created + resource "aws_s3_object" "cloudWebsite_File--static--js--main4334420ejsLICENSEtxt_2CDB0F8A" { + acl = "private" + bucket = "cloud-website-c8e58765-20230803215115368500000001" + bucket_key_enabled = (known after apply) + content_type = "text/plain; charset=utf-8" + etag = (known after apply) + force_destroy = false + id = (known after apply) + key = "/static/js/main.4334420e.js.LICENSE.txt" + kms_key_id = (known after apply) + server_side_encryption = (known after apply) + source = "/github/workspace/website/build/static/js/main.4334420e.js.LICENSE.txt" + source_hash = "8dffae291722641df11b29bdf4b1f953" + storage_class = (known after apply) + tags_all = (known after apply) + version_id = (known after apply) } # aws_s3_object.cloudWebsite_File--static--js--main4334420ejs_42E2C848 will be created + resource "aws_s3_object" "cloudWebsite_File--static--js--main4334420ejs_42E2C848" { + acl = "private" + bucket = "cloud-website-c8e58765-20230803215115368500000001" + bucket_key_enabled = (known after apply) + content_type = "application/javascript; charset=utf-8" + etag = (known after apply) + force_destroy = false + id = (known after apply) + key = "/static/js/main.4334420e.js" + kms_key_id = (known after apply) + server_side_encryption = (known after apply) + source = "/github/workspace/website/build/static/js/main.4334420e.js" + source_hash = "f7ee086ee48a9966a6b1b8542f0c0b75" + storage_class = (known after apply) + tags_all = (known after apply) + version_id = (known after apply) } # aws_s3_object.cloudWebsite_File--static--js--main4334420ejsmap_78CA8348 will be created + resource "aws_s3_object" "cloudWebsite_File--static--js--main4334420ejsmap_78CA8348" { + acl = "private" + bucket = "cloud-website-c8e58765-20230803215115368500000001" + bucket_key_enabled = (known after apply) + content_type = "application/json; charset=utf-8" + etag = (known after apply) + force_destroy = false + id = (known after apply) + key = "/static/js/main.4334420e.js.map" + kms_key_id = (known after apply) + server_side_encryption = (known after apply) + source = "/github/workspace/website/build/static/js/main.4334420e.js.map" + source_hash = "e465cabfa8a0e59ee62f267fb919b713" + storage_class = (known after apply) + tags_all = (known after apply) + version_id = (known after apply) } # aws_s3_object.cloudWebsite_File--static--js--mainf1d03206jsLICENSEtxt_4D897431 will be destroyed # (because aws_s3_object.cloudWebsite_File--static--js--mainf1d03206jsLICENSEtxt_4D897431 is not in configuration) - resource "aws_s3_object" "cloudWebsite_File--static--js--mainf1d03206jsLICENSEtxt_4D897431" { - acl = "private" -> null - bucket = "cloud-website-c8e58765-20230803215115368500000001" -> null - bucket_key_enabled = false -> null - content_type = "text/plain; charset=utf-8" -> null - etag = "8dffae291722641df11b29bdf4b1f953" -> null - force_destroy = false -> null - id = "/static/js/main.f1d03206.js.LICENSE.txt" -> null - key = "/static/js/main.f1d03206.js.LICENSE.txt" -> null - metadata = {} -> null - server_side_encryption = "AES256" -> null - source = "/github/workspace/website/build/static/js/main.f1d03206.js.LICENSE.txt" -> null - source_hash = "8dffae291722641df11b29bdf4b1f953" -> null - storage_class = "STANDARD" -> null - tags = {} -> null - tags_all = {} -> null } # aws_s3_object.cloudWebsite_File--static--js--mainf1d03206js_5FB083CD will be destroyed # (because aws_s3_object.cloudWebsite_File--static--js--mainf1d03206js_5FB083CD is not in configuration) - resource "aws_s3_object" "cloudWebsite_File--static--js--mainf1d03206js_5FB083CD" { - acl = "private" -> null - bucket = "cloud-website-c8e58765-20230803215115368500000001" -> null - bucket_key_enabled = false -> null - content_type = "application/javascript; charset=utf-8" -> null - etag = "de828708e050a6f1c29d4fcd2d58ed6f" -> null - force_destroy = false -> null - id = "/static/js/main.f1d03206.js" -> null - key = "/static/js/main.f1d03206.js" -> null - metadata = {} -> null - server_side_encryption = "AES256" -> null - source = "/github/workspace/website/build/static/js/main.f1d03206.js" -> null - source_hash = "de828708e050a6f1c29d4fcd2d58ed6f" -> null - storage_class = "STANDARD" -> null - tags = {} -> null - tags_all = {} -> null } # aws_s3_object.cloudWebsite_File--static--js--mainf1d03206jsmap_6DC52951 will be destroyed # (because aws_s3_object.cloudWebsite_File--static--js--mainf1d03206jsmap_6DC52951 is not in configuration) - resource "aws_s3_object" "cloudWebsite_File--static--js--mainf1d03206jsmap_6DC52951" { - acl = "private" -> null - bucket = "cloud-website-c8e58765-20230803215115368500000001" -> null - bucket_key_enabled = false -> null - content_type = "application/json; charset=utf-8" -> null - etag = "b769bd1c3cd7c78022ab17baa6e2de75" -> null - force_destroy = false -> null - id = "/static/js/main.f1d03206.js.map" -> null - key = "/static/js/main.f1d03206.js.map" -> null - metadata = {} -> null - server_side_encryption = "AES256" -> null - source = "/github/workspace/website/build/static/js/main.f1d03206.js.map" -> null - source_hash = "b769bd1c3cd7c78022ab17baa6e2de75" -> null - storage_class = "STANDARD" -> null - tags = {} -> null - tags_all = {} -> null } Plan: 9 to add, 10 to change, 9 to destroy. ```
github-actions[bot]
commented
1 year ago
Terraform Plan
Show Plan
``` aws_s3_object.cloudWebsite_File--static--css--main3451cd13css_A369CB42: Refreshing state... [id=/static/css/main.3451cd13.css] aws_s3_object.cloudWebsite_File--static--js--mainf1d03206js_5FB083CD: Refreshing state... [id=/static/js/main.f1d03206.js] aws_s3_object.cloudWebsite_File--static--js--mainf1d03206jsmap_6DC52951: Refreshing state... [id=/static/js/main.f1d03206.js.map] data.aws_region.Region: Reading... aws_s3_object.cloudWebsite_File--static--css--main3451cd13cssmap_B24EB286: Refreshing state... [id=/static/css/main.3451cd13.css.map] aws_s3_bucket.cloudWebsite_WebsiteBucket_EB03D355: Refreshing state... [id=cloud-website-c8e58765-20230803215115368500000001] aws_s3_object.cloudWebsite_File--static--js--mainf1d03206jsLICENSEtxt_4D897431: Refreshing state... [id=/static/js/main.f1d03206.js.LICENSE.txt] aws_iam_role.VotingAppApi_VotingAppApi-OnRequest-52bc3c17_IamRole_CBB68D47: Refreshing state... [id=terraform-20230808003212924500000001] aws_iam_role.InitializeTable_Function_IamRole_E3F0843D: Refreshing state... [id=terraform-20230727202411672600000001] aws_s3_bucket.Code: Refreshing state... [id=code-c84a50b1-20230727202411678600000003] data.aws_region.Region: Read complete after 0s [id=us-east-1] aws_iam_role.VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_IamRole_0FF833EF: Refreshing state... [id=terraform-20230803215115569800000002] aws_iam_role.VotingAppApi_VotingAppApi-OnRequest-41f14472_IamRole_5F3056C5: Refreshing state... [id=terraform-20230727204725916100000001] aws_dynamodb_table.VotingAppStore_Entries_tfawsdynamodbTableDynamodbTable_76D1C895: Refreshing state... [id=Entries-e91f54ab] aws_cloudfront_origin_access_control.cloudWebsite_CloudfrontOac_C956968B: Refreshing state... [id=E1J2GO7P2VQ2EZ] aws_iam_role_policy.VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_IamRolePolicy_2D34FA97: Refreshing state... [id=terraform-20230803215115569800000002:terraform-20230803215115813700000003] aws_iam_role_policy_attachment.VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_IamRolePolicyAttachment_055C2EDA: Refreshing state... [id=terraform-20230803215115569800000002-20230803215115890800000004] aws_iam_role_policy_attachment.VotingAppApi_VotingAppApi-OnRequest-52bc3c17_IamRolePolicyAttachment_92A90320: Refreshing state... [id=terraform-20230808003212924500000001-20230808003213158800000002] aws_iam_role_policy.VotingAppApi_VotingAppApi-OnRequest-52bc3c17_IamRolePolicy_0F307DC9: Refreshing state... [id=terraform-20230808003212924500000001:terraform-20230808003225755300000003] aws_iam_role_policy_attachment.InitializeTable_Function_IamRolePolicyAttachment_4435DE19: Refreshing state... [id=terraform-20230727202411672600000001-20230727202411887400000005] aws_iam_role_policy.InitializeTable_Function_IamRolePolicy_2AD89519: Refreshing state... [id=terraform-20230727202411672600000001:terraform-20230727202424567600000008] aws_iam_role_policy_attachment.VotingAppApi_VotingAppApi-OnRequest-41f14472_IamRolePolicyAttachment_E1980EB1: Refreshing state... [id=terraform-20230727204725916100000001-20230727204726450200000003] aws_iam_role_policy.VotingAppApi_VotingAppApi-OnRequest-41f14472_IamRolePolicy_25C9720E: Refreshing state... [id=terraform-20230727204725916100000001:terraform-20230727204739773400000005] aws_s3_object.VotingAppApi_VotingAppApi-OnRequest-41f14472_S3Object_C95F6BA9: Refreshing state... [id=asset.c87bddf927b70f22f963a14d64ce5f4bf1372d398a.7af676d0bbd48d1c55cb3c2c1432c8a2.zip] aws_s3_object.VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_S3Object_F8CCE004: Refreshing state... [id=asset.c8cf8e09741b572c80a663f9c8cf9ce40395e87b08.a755aeb99c9877c1faafaf9b59e38da8.zip] aws_s3_object.VotingAppApi_VotingAppApi-OnRequest-52bc3c17_S3Object_F3A42DC6: Refreshing state... [id=asset.c89daf14978fb4fcb47ef703ae9610992b519c2727.4acc7b5910422db52aabfb2afe2f2c44.zip] aws_s3_object.InitializeTable_Function_S3Object_F5933D3B: Refreshing state... [id=asset.c8e7055bb3773d297f63b5172fb6a571cddc069012.3b6614a20cf2ab64d7d13e42b726ad1a.zip] aws_lambda_function.InitializeTable_Function_FD00736D: Refreshing state... [id=Function-c8e7055b] aws_lambda_function.VotingAppApi_VotingAppApi-OnRequest-41f14472_39478289: Refreshing state... [id=VotingAppApi-OnRequest-41f14472-c87bddf9] aws_s3_bucket_public_access_block.cloudWebsite_PublicAccessBlock_18A70311: Refreshing state... [id=cloud-website-c8e58765-20230803215115368500000001] aws_s3_object.cloudWebsite_File--asset-manifestjson_8187FE70: Refreshing state... [id=/asset-manifest.json] aws_s3_object.cloudWebsite_File--static--js--78728cb0dcdchunkjsmap_F5D0643F: Refreshing state... [id=/static/js/787.28cb0dcd.chunk.js.map] aws_s3_object.cloudWebsite_File--static--js--78728cb0dcdchunkjs_40889769: Refreshing state... [id=/static/js/787.28cb0dcd.chunk.js] aws_s3_bucket_server_side_encryption_configuration.cloudWebsite_Encryption_6A8A4E29: Refreshing state... [id=cloud-website-c8e58765-20230803215115368500000001] aws_s3_object.cloudWebsite_File--logo192png_6E513B20: Refreshing state... [id=/logo192.png] aws_s3_object.cloudWebsite_File--manifestjson_5AC33197: Refreshing state... [id=/manifest.json] aws_cloudfront_distribution.cloudWebsite_Distribution_083B5AF9: Refreshing state... [id=E1QUV69RQ9ODON] aws_s3_object.cloudWebsite_File--robotstxt_F93900E9: Refreshing state... [id=/robots.txt] aws_s3_object.cloudWebsite_File--faviconico_A86052F9: Refreshing state... [id=/favicon.ico] aws_s3_object.cloudWebsite_File--indexhtml_2A2AE13C: Refreshing state... [id=/index.html] aws_s3_object.cloudWebsite_File--logo512png_E26C5AA3: Refreshing state... [id=/logo512.png] aws_s3_bucket_website_configuration.cloudWebsite_BucketWebsiteConfiguration_920E8E41: Refreshing state... [id=cloud-website-c8e58765-20230803215115368500000001] aws_lambda_function.VotingAppApi_VotingAppApi-OnRequest-52bc3c17_02CD08E6: Refreshing state... [id=VotingAppApi-OnRequest-52bc3c17-c89daf14] aws_lambda_function.VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_93510F52: Refreshing state... [id=VotingAppApi-OnRequest-8d2e75ec-c8cf8e09] data.aws_iam_policy_document.cloudWebsite_AllowDistributionReadOnly_89DC4FD0: Reading... data.aws_iam_policy_document.cloudWebsite_AllowDistributionReadOnly_89DC4FD0: Read complete after 0s [id=573591717] aws_s3_bucket_policy.cloudWebsite_DistributionS3BucketPolicy_32B029AE: Refreshing state... [id=cloud-website-c8e58765-20230803215115368500000001] aws_api_gateway_rest_api.VotingAppApi_api_CB41EC98: Refreshing state... [id=dfh6uhtoa0] aws_lambda_permission.VotingAppApi_api_permission-POST-53dc1f64_98751060: Refreshing state... [id=AllowExecutionFromAPIGateway-POST-53dc1f64] aws_lambda_permission.VotingAppApi_api_permission-POST-57590acc_3E83C8F6: Refreshing state... [id=AllowExecutionFromAPIGateway-POST-57590acc] aws_api_gateway_deployment.VotingAppApi_api_deployment_B9647894: Refreshing state... [id=q0wnc2] aws_lambda_permission.VotingAppApi_api_permission-GET-5969f3af_56B4A504: Refreshing state... [id=AllowExecutionFromAPIGateway-GET-5969f3af] aws_api_gateway_stage.VotingAppApi_api_stage_9B2FA9EA: Refreshing state... [id=ags-dfh6uhtoa0-prod] aws_s3_object.cloudWebsite_File-configjson_591A81BA: Refreshing state... [id=config.json] Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: + create ~ update in-place - destroy -/+ destroy and then create replacement +/- create replacement and then destroy <= read (data resources) Terraform will perform the following actions: # data.aws_lambda_invocation.InitializeTable_Invocation_6E01246F will be read during apply # (depends on a resource or a module with changes pending) <= data "aws_lambda_invocation" "InitializeTable_Invocation_6E01246F" { + function_name = "Function-c8e7055b" + id = (known after apply) + input = jsonencode({}) + result = (known after apply) } # aws_iam_role_policy.InitializeTable_Function_IamRolePolicy_2AD89519 will be updated in-place ~ resource "aws_iam_role_policy" "InitializeTable_Function_IamRolePolicy_2AD89519" { id = "terraform-20230727202411672600000001:terraform-20230727202424567600000008" name = "terraform-20230727202424567600000008" ~ policy = jsonencode( ~ { ~ Statement = [ ~ { ~ Action = [ - "dynamodb:PutItem", ] -> "none:null" ~ Resource = [ - "arn:aws:dynamodb:us-east-1:223316951128:table/Entries-e91f54ab", ] -> "*" # (1 unchanged attribute hidden) }, ] # (1 unchanged attribute hidden) } ) # (1 unchanged attribute hidden) } # aws_iam_role_policy.VotingAppApi_VotingAppApi-OnRequest-41f14472_IamRolePolicy_25C9720E will be updated in-place ~ resource "aws_iam_role_policy" "VotingAppApi_VotingAppApi-OnRequest-41f14472_IamRolePolicy_25C9720E" { id = "terraform-20230727204725916100000001:terraform-20230727204739773400000005" name = "terraform-20230727204739773400000005" ~ policy = jsonencode( ~ { ~ Statement = [ ~ { ~ Action = [ - "dynamodb:PutItem", ] -> "none:null" ~ Resource = [ - "arn:aws:dynamodb:us-east-1:223316951128:table/Entries-e91f54ab", ] -> "*" # (1 unchanged attribute hidden) }, - { - Action = [ - "dynamodb:GetItem", ] - Effect = "Allow" - Resource = [ - "arn:aws:dynamodb:us-east-1:223316951128:table/Entries-e91f54ab", ] }, - { - Action = [ - "dynamodb:Scan", ] - Effect = "Allow" - Resource = [ - "arn:aws:dynamodb:us-east-1:223316951128:table/Entries-e91f54ab", ] }, ] # (1 unchanged attribute hidden) } ) # (1 unchanged attribute hidden) } # aws_iam_role_policy.VotingAppApi_VotingAppApi-OnRequest-52bc3c17_IamRolePolicy_0F307DC9 will be updated in-place ~ resource "aws_iam_role_policy" "VotingAppApi_VotingAppApi-OnRequest-52bc3c17_IamRolePolicy_0F307DC9" { id = "terraform-20230808003212924500000001:terraform-20230808003225755300000003" name = "terraform-20230808003225755300000003" ~ policy = jsonencode( ~ { ~ Statement = [ ~ { ~ Action = [ - "dynamodb:Scan", ] -> "none:null" ~ Resource = [ - "arn:aws:dynamodb:us-east-1:223316951128:table/Entries-e91f54ab", ] -> "*" # (1 unchanged attribute hidden) }, ] # (1 unchanged attribute hidden) } ) # (1 unchanged attribute hidden) } # aws_iam_role_policy.VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_IamRolePolicy_2D34FA97 will be updated in-place ~ resource "aws_iam_role_policy" "VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_IamRolePolicy_2D34FA97" { id = "terraform-20230803215115569800000002:terraform-20230803215115813700000003" name = "terraform-20230803215115813700000003" ~ policy = jsonencode( ~ { ~ Statement = [ ~ { ~ Action = [ - "dynamodb:Scan", ] -> "none:null" ~ Resource = [ - "arn:aws:dynamodb:us-east-1:223316951128:table/Entries-e91f54ab", ] -> "*" # (1 unchanged attribute hidden) }, ] # (1 unchanged attribute hidden) } ) # (1 unchanged attribute hidden) } # aws_lambda_function.InitializeTable_Function_FD00736D will be updated in-place ~ resource "aws_lambda_function" "InitializeTable_Function_FD00736D" { id = "Function-c8e7055b" ~ last_modified = "2023-08-11T02:18:48.000+0000" -> (known after apply) ~ qualified_arn = "arn:aws:lambda:us-east-1:223316951128:function:Function-c8e7055b:11" -> (known after apply) ~ qualified_invoke_arn = "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:223316951128:function:Function-c8e7055b:11/invocations" -> (known after apply) ~ s3_key = "asset.c8e7055bb3773d297f63b5172fb6a571cddc069012.3b6614a20cf2ab64d7d13e42b726ad1a.zip" -> "asset.c8e7055bb3773d297f63b5172fb6a571cddc069012.2ffd247b7ff9a15adc4e3fc15964613d.zip" tags = {} ~ version = "11" -> (known after apply) # (18 unchanged attributes hidden) # (3 unchanged blocks hidden) } # aws_lambda_function.VotingAppApi_VotingAppApi-OnRequest-41f14472_39478289 will be updated in-place ~ resource "aws_lambda_function" "VotingAppApi_VotingAppApi-OnRequest-41f14472_39478289" { id = "VotingAppApi-OnRequest-41f14472-c87bddf9" ~ last_modified = "2023-08-11T02:18:48.000+0000" -> (known after apply) ~ qualified_arn = "arn:aws:lambda:us-east-1:223316951128:function:VotingAppApi-OnRequest-41f14472-c87bddf9:10" -> (known after apply) ~ qualified_invoke_arn = "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:223316951128:function:VotingAppApi-OnRequest-41f14472-c87bddf9:10/invocations" -> (known after apply) ~ s3_key = "asset.c87bddf927b70f22f963a14d64ce5f4bf1372d398a.7af676d0bbd48d1c55cb3c2c1432c8a2.zip" -> "asset.c87bddf927b70f22f963a14d64ce5f4bf1372d398a.3cf69cd1add2b31999ed1368f09bb475.zip" tags = {} ~ version = "10" -> (known after apply) # (18 unchanged attributes hidden) # (3 unchanged blocks hidden) } # aws_lambda_function.VotingAppApi_VotingAppApi-OnRequest-52bc3c17_02CD08E6 will be updated in-place ~ resource "aws_lambda_function" "VotingAppApi_VotingAppApi-OnRequest-52bc3c17_02CD08E6" { id = "VotingAppApi-OnRequest-52bc3c17-c89daf14" ~ last_modified = "2023-08-11T02:18:48.000+0000" -> (known after apply) ~ qualified_arn = "arn:aws:lambda:us-east-1:223316951128:function:VotingAppApi-OnRequest-52bc3c17-c89daf14:7" -> (known after apply) ~ qualified_invoke_arn = "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:223316951128:function:VotingAppApi-OnRequest-52bc3c17-c89daf14:7/invocations" -> (known after apply) ~ s3_key = "asset.c89daf14978fb4fcb47ef703ae9610992b519c2727.4acc7b5910422db52aabfb2afe2f2c44.zip" -> "asset.c89daf14978fb4fcb47ef703ae9610992b519c2727.7258b9b6cd4946c892321a8b89e8f541.zip" tags = {} ~ version = "7" -> (known after apply) # (18 unchanged attributes hidden) # (3 unchanged blocks hidden) } # aws_lambda_function.VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_93510F52 will be updated in-place ~ resource "aws_lambda_function" "VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_93510F52" { id = "VotingAppApi-OnRequest-8d2e75ec-c8cf8e09" ~ last_modified = "2023-08-11T02:18:48.000+0000" -> (known after apply) ~ qualified_arn = "arn:aws:lambda:us-east-1:223316951128:function:VotingAppApi-OnRequest-8d2e75ec-c8cf8e09:9" -> (known after apply) ~ qualified_invoke_arn = "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:223316951128:function:VotingAppApi-OnRequest-8d2e75ec-c8cf8e09:9/invocations" -> (known after apply) ~ s3_key = "asset.c8cf8e09741b572c80a663f9c8cf9ce40395e87b08.a755aeb99c9877c1faafaf9b59e38da8.zip" -> "asset.c8cf8e09741b572c80a663f9c8cf9ce40395e87b08.c15e47e85f6342e627c7c90adb0719e0.zip" tags = {} ~ version = "9" -> (known after apply) # (18 unchanged attributes hidden) # (3 unchanged blocks hidden) } # aws_s3_object.InitializeTable_Function_S3Object_F5933D3B must be replaced -/+ resource "aws_s3_object" "InitializeTable_Function_S3Object_F5933D3B" { ~ bucket_key_enabled = false -> (known after apply) ~ content_type = "binary/octet-stream" -> (known after apply) ~ etag = "9d48ebaae79aba1bc96fb60a35a6b9aa" -> (known after apply) ~ id = "asset.c8e7055bb3773d297f63b5172fb6a571cddc069012.3b6614a20cf2ab64d7d13e42b726ad1a.zip" -> (known after apply) ~ key = "asset.c8e7055bb3773d297f63b5172fb6a571cddc069012.3b6614a20cf2ab64d7d13e42b726ad1a.zip" -> "asset.c8e7055bb3773d297f63b5172fb6a571cddc069012.2ffd247b7ff9a15adc4e3fc15964613d.zip" # forces replacement + kms_key_id = (known after apply) - metadata = {} -> null ~ server_side_encryption = "AES256" -> (known after apply) ~ source = "assets/InitializeTable_Function_Asset_1A1B5BC3/3B6614A20CF2AB64D7D13E42B726AD1A/archive.zip" -> "assets/InitializeTable_Function_Asset_1A1B5BC3/2FFD247B7FF9A15ADC4E3FC15964613D/archive.zip" ~ storage_class = "STANDARD" -> (known after apply) - tags = {} -> null ~ tags_all = {} -> (known after apply) + version_id = (known after apply) # (3 unchanged attributes hidden) } # aws_s3_object.VotingAppApi_VotingAppApi-OnRequest-41f14472_S3Object_C95F6BA9 must be replaced +/- resource "aws_s3_object" "VotingAppApi_VotingAppApi-OnRequest-41f14472_S3Object_C95F6BA9" { ~ bucket_key_enabled = false -> (known after apply) ~ content_type = "binary/octet-stream" -> (known after apply) ~ etag = "ea96ebc302c72bbc7dcd39e3ad95f5d5" -> (known after apply) ~ id = "asset.c87bddf927b70f22f963a14d64ce5f4bf1372d398a.7af676d0bbd48d1c55cb3c2c1432c8a2.zip" -> (known after apply) ~ key = "asset.c87bddf927b70f22f963a14d64ce5f4bf1372d398a.7af676d0bbd48d1c55cb3c2c1432c8a2.zip" -> "asset.c87bddf927b70f22f963a14d64ce5f4bf1372d398a.3cf69cd1add2b31999ed1368f09bb475.zip" # forces replacement + kms_key_id = (known after apply) - metadata = {} -> null ~ server_side_encryption = "AES256" -> (known after apply) ~ source = "assets/VotingAppApi_VotingAppApi-OnRequest-41f14472_Asset_94F55D63/7AF676D0BBD48D1C55CB3C2C1432C8A2/archive.zip" -> "assets/VotingAppApi_VotingAppApi-OnRequest-41f14472_Asset_94F55D63/3CF69CD1ADD2B31999ED1368F09BB475/archive.zip" ~ storage_class = "STANDARD" -> (known after apply) - tags = {} -> null ~ tags_all = {} -> (known after apply) + version_id = (known after apply) # (3 unchanged attributes hidden) } # aws_s3_object.VotingAppApi_VotingAppApi-OnRequest-52bc3c17_S3Object_F3A42DC6 must be replaced +/- resource "aws_s3_object" "VotingAppApi_VotingAppApi-OnRequest-52bc3c17_S3Object_F3A42DC6" { ~ bucket_key_enabled = false -> (known after apply) ~ content_type = "binary/octet-stream" -> (known after apply) ~ etag = "7d50d9591a15fe864225f8257d27900b" -> (known after apply) ~ id = "asset.c89daf14978fb4fcb47ef703ae9610992b519c2727.4acc7b5910422db52aabfb2afe2f2c44.zip" -> (known after apply) ~ key = "asset.c89daf14978fb4fcb47ef703ae9610992b519c2727.4acc7b5910422db52aabfb2afe2f2c44.zip" -> "asset.c89daf14978fb4fcb47ef703ae9610992b519c2727.7258b9b6cd4946c892321a8b89e8f541.zip" # forces replacement + kms_key_id = (known after apply) - metadata = {} -> null ~ server_side_encryption = "AES256" -> (known after apply) ~ source = "assets/VotingAppApi_VotingAppApi-OnRequest-52bc3c17_Asset_FBAD96D6/4ACC7B5910422DB52AABFB2AFE2F2C44/archive.zip" -> "assets/VotingAppApi_VotingAppApi-OnRequest-52bc3c17_Asset_FBAD96D6/7258B9B6CD4946C892321A8B89E8F541/archive.zip" ~ storage_class = "STANDARD" -> (known after apply) - tags = {} -> null ~ tags_all = {} -> (known after apply) + version_id = (known after apply) # (3 unchanged attributes hidden) } # aws_s3_object.VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_S3Object_F8CCE004 must be replaced +/- resource "aws_s3_object" "VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_S3Object_F8CCE004" { ~ bucket_key_enabled = false -> (known after apply) ~ content_type = "binary/octet-stream" -> (known after apply) ~ etag = "64d5b363474125d5e5f5034489869ec0" -> (known after apply) ~ id = "asset.c8cf8e09741b572c80a663f9c8cf9ce40395e87b08.a755aeb99c9877c1faafaf9b59e38da8.zip" -> (known after apply) ~ key = "asset.c8cf8e09741b572c80a663f9c8cf9ce40395e87b08.a755aeb99c9877c1faafaf9b59e38da8.zip" -> "asset.c8cf8e09741b572c80a663f9c8cf9ce40395e87b08.c15e47e85f6342e627c7c90adb0719e0.zip" # forces replacement + kms_key_id = (known after apply) - metadata = {} -> null ~ server_side_encryption = "AES256" -> (known after apply) ~ source = "assets/VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_Asset_4A29FD21/A755AEB99C9877C1FAAFAF9B59E38DA8/archive.zip" -> "assets/VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_Asset_4A29FD21/C15E47E85F6342E627C7C90ADB0719E0/archive.zip" ~ storage_class = "STANDARD" -> (known after apply) - tags = {} -> null ~ tags_all = {} -> (known after apply) + version_id = (known after apply) # (3 unchanged attributes hidden) } # aws_s3_object.cloudWebsite_File--asset-manifestjson_8187FE70 will be updated in-place ~ resource "aws_s3_object" "cloudWebsite_File--asset-manifestjson_8187FE70" { id = "/asset-manifest.json" ~ source_hash = "2c6e0a51e8abd920539b39b9cc9b6991" -> "a5e34833ed23aa1815d0ae903cf6f738" tags = {} + version_id = (known after apply) # (12 unchanged attributes hidden) } # aws_s3_object.cloudWebsite_File--indexhtml_2A2AE13C will be updated in-place ~ resource "aws_s3_object" "cloudWebsite_File--indexhtml_2A2AE13C" { id = "/index.html" ~ source_hash = "e9fde7184296c040a6d5759a0a0d33d5" -> "418cb05845688b42b6f78fc376d0cea4" tags = {} + version_id = (known after apply) # (12 unchanged attributes hidden) } # aws_s3_object.cloudWebsite_File--static--css--main3451cd13css_A369CB42 will be destroyed # (because aws_s3_object.cloudWebsite_File--static--css--main3451cd13css_A369CB42 is not in configuration) - resource "aws_s3_object" "cloudWebsite_File--static--css--main3451cd13css_A369CB42" { - acl = "private" -> null - bucket = "cloud-website-c8e58765-20230803215115368500000001" -> null - bucket_key_enabled = false -> null - content_type = "text/css; charset=utf-8" -> null - etag = "fd86480ccee91b0b6b842205b076e202" -> null - force_destroy = false -> null - id = "/static/css/main.3451cd13.css" -> null - key = "/static/css/main.3451cd13.css" -> null - metadata = {} -> null - server_side_encryption = "AES256" -> null - source = "/github/workspace/website/build/static/css/main.3451cd13.css" -> null - source_hash = "fd86480ccee91b0b6b842205b076e202" -> null - storage_class = "STANDARD" -> null - tags = {} -> null - tags_all = {} -> null } # aws_s3_object.cloudWebsite_File--static--css--main3451cd13cssmap_B24EB286 will be destroyed # (because aws_s3_object.cloudWebsite_File--static--css--main3451cd13cssmap_B24EB286 is not in configuration) - resource "aws_s3_object" "cloudWebsite_File--static--css--main3451cd13cssmap_B24EB286" { - acl = "private" -> null - bucket = "cloud-website-c8e58765-20230803215115368500000001" -> null - bucket_key_enabled = false -> null - content_type = "application/json; charset=utf-8" -> null - etag = "d4bb87eb45890d199cd88ac0945654d0" -> null - force_destroy = false -> null - id = "/static/css/main.3451cd13.css.map" -> null - key = "/static/css/main.3451cd13.css.map" -> null - metadata = {} -> null - server_side_encryption = "AES256" -> null - source = "/github/workspace/website/build/static/css/main.3451cd13.css.map" -> null - source_hash = "d4bb87eb45890d199cd88ac0945654d0" -> null - storage_class = "STANDARD" -> null - tags = {} -> null - tags_all = {} -> null } # aws_s3_object.cloudWebsite_File--static--css--mainbc8dc0a9css_ABAEC285 will be created + resource "aws_s3_object" "cloudWebsite_File--static--css--mainbc8dc0a9css_ABAEC285" { + acl = "private" + bucket = "cloud-website-c8e58765-20230803215115368500000001" + bucket_key_enabled = (known after apply) + content_type = "text/css; charset=utf-8" + etag = (known after apply) + force_destroy = false + id = (known after apply) + key = "/static/css/main.bc8dc0a9.css" + kms_key_id = (known after apply) + server_side_encryption = (known after apply) + source = "/github/workspace/website/build/static/css/main.bc8dc0a9.css" + source_hash = "54ec4ff3369108e3623984a09700699f" + storage_class = (known after apply) + tags_all = (known after apply) + version_id = (known after apply) } # aws_s3_object.cloudWebsite_File--static--css--mainbc8dc0a9cssmap_D475E55B will be created + resource "aws_s3_object" "cloudWebsite_File--static--css--mainbc8dc0a9cssmap_D475E55B" { + acl = "private" + bucket = "cloud-website-c8e58765-20230803215115368500000001" + bucket_key_enabled = (known after apply) + content_type = "application/json; charset=utf-8" + etag = (known after apply) + force_destroy = false + id = (known after apply) + key = "/static/css/main.bc8dc0a9.css.map" + kms_key_id = (known after apply) + server_side_encryption = (known after apply) + source = "/github/workspace/website/build/static/css/main.bc8dc0a9.css.map" + source_hash = "d904f7a427a1856c82da69353e402c81" + storage_class = (known after apply) + tags_all = (known after apply) + version_id = (known after apply) } # aws_s3_object.cloudWebsite_File--static--js--main18097b91jsLICENSEtxt_622B060C will be created + resource "aws_s3_object" "cloudWebsite_File--static--js--main18097b91jsLICENSEtxt_622B060C" { + acl = "private" + bucket = "cloud-website-c8e58765-20230803215115368500000001" + bucket_key_enabled = (known after apply) + content_type = "text/plain; charset=utf-8" + etag = (known after apply) + force_destroy = false + id = (known after apply) + key = "/static/js/main.18097b91.js.LICENSE.txt" + kms_key_id = (known after apply) + server_side_encryption = (known after apply) + source = "/github/workspace/website/build/static/js/main.18097b91.js.LICENSE.txt" + source_hash = "8dffae291722641df11b29bdf4b1f953" + storage_class = (known after apply) + tags_all = (known after apply) + version_id = (known after apply) } # aws_s3_object.cloudWebsite_File--static--js--main18097b91js_BE1C3BD1 will be created + resource "aws_s3_object" "cloudWebsite_File--static--js--main18097b91js_BE1C3BD1" { + acl = "private" + bucket = "cloud-website-c8e58765-20230803215115368500000001" + bucket_key_enabled = (known after apply) + content_type = "application/javascript; charset=utf-8" + etag = (known after apply) + force_destroy = false + id = (known after apply) + key = "/static/js/main.18097b91.js" + kms_key_id = (known after apply) + server_side_encryption = (known after apply) + source = "/github/workspace/website/build/static/js/main.18097b91.js" + source_hash = "31674f7fbc2e3ccd43d22662e3f2dbd8" + storage_class = (known after apply) + tags_all = (known after apply) + version_id = (known after apply) } # aws_s3_object.cloudWebsite_File--static--js--main18097b91jsmap_7BB52F34 will be created + resource "aws_s3_object" "cloudWebsite_File--static--js--main18097b91jsmap_7BB52F34" { + acl = "private" + bucket = "cloud-website-c8e58765-20230803215115368500000001" + bucket_key_enabled = (known after apply) + content_type = "application/json; charset=utf-8" + etag = (known after apply) + force_destroy = false + id = (known after apply) + key = "/static/js/main.18097b91.js.map" + kms_key_id = (known after apply) + server_side_encryption = (known after apply) + source = "/github/workspace/website/build/static/js/main.18097b91.js.map" + source_hash = "6a947cba39e4756a57c980dc94d5ab42" + storage_class = (known after apply) + tags_all = (known after apply) + version_id = (known after apply) } # aws_s3_object.cloudWebsite_File--static--js--mainf1d03206jsLICENSEtxt_4D897431 will be destroyed # (because aws_s3_object.cloudWebsite_File--static--js--mainf1d03206jsLICENSEtxt_4D897431 is not in configuration) - resource "aws_s3_object" "cloudWebsite_File--static--js--mainf1d03206jsLICENSEtxt_4D897431" { - acl = "private" -> null - bucket = "cloud-website-c8e58765-20230803215115368500000001" -> null - bucket_key_enabled = false -> null - content_type = "text/plain; charset=utf-8" -> null - etag = "8dffae291722641df11b29bdf4b1f953" -> null - force_destroy = false -> null - id = "/static/js/main.f1d03206.js.LICENSE.txt" -> null - key = "/static/js/main.f1d03206.js.LICENSE.txt" -> null - metadata = {} -> null - server_side_encryption = "AES256" -> null - source = "/github/workspace/website/build/static/js/main.f1d03206.js.LICENSE.txt" -> null - source_hash = "8dffae291722641df11b29bdf4b1f953" -> null - storage_class = "STANDARD" -> null - tags = {} -> null - tags_all = {} -> null } # aws_s3_object.cloudWebsite_File--static--js--mainf1d03206js_5FB083CD will be destroyed # (because aws_s3_object.cloudWebsite_File--static--js--mainf1d03206js_5FB083CD is not in configuration) - resource "aws_s3_object" "cloudWebsite_File--static--js--mainf1d03206js_5FB083CD" { - acl = "private" -> null - bucket = "cloud-website-c8e58765-20230803215115368500000001" -> null - bucket_key_enabled = false -> null - content_type = "application/javascript; charset=utf-8" -> null - etag = "de828708e050a6f1c29d4fcd2d58ed6f" -> null - force_destroy = false -> null - id = "/static/js/main.f1d03206.js" -> null - key = "/static/js/main.f1d03206.js" -> null - metadata = {} -> null - server_side_encryption = "AES256" -> null - source = "/github/workspace/website/build/static/js/main.f1d03206.js" -> null - source_hash = "de828708e050a6f1c29d4fcd2d58ed6f" -> null - storage_class = "STANDARD" -> null - tags = {} -> null - tags_all = {} -> null } # aws_s3_object.cloudWebsite_File--static--js--mainf1d03206jsmap_6DC52951 will be destroyed # (because aws_s3_object.cloudWebsite_File--static--js--mainf1d03206jsmap_6DC52951 is not in configuration) - resource "aws_s3_object" "cloudWebsite_File--static--js--mainf1d03206jsmap_6DC52951" { - acl = "private" -> null - bucket = "cloud-website-c8e58765-20230803215115368500000001" -> null - bucket_key_enabled = false -> null - content_type = "application/json; charset=utf-8" -> null - etag = "b769bd1c3cd7c78022ab17baa6e2de75" -> null - force_destroy = false -> null - id = "/static/js/main.f1d03206.js.map" -> null - key = "/static/js/main.f1d03206.js.map" -> null - metadata = {} -> null - server_side_encryption = "AES256" -> null - source = "/github/workspace/website/build/static/js/main.f1d03206.js.map" -> null - source_hash = "b769bd1c3cd7c78022ab17baa6e2de75" -> null - storage_class = "STANDARD" -> null - tags = {} -> null - tags_all = {} -> null } Plan: 9 to add, 10 to change, 9 to destroy. ```
Terraform Plan
Show Plan
``` data.aws_region.Region: Reading... aws_cloudfront_origin_access_control.cloudWebsite_CloudfrontOac_C956968B: Refreshing state... [id=E1J2GO7P2VQ2EZ] aws_s3_object.cloudWebsite_File--static--js--mainf1d03206js_5FB083CD: Refreshing state... [id=/static/js/main.f1d03206.js] aws_iam_role.VotingAppApi_VotingAppApi-OnRequest-41f14472_IamRole_5F3056C5: Refreshing state... [id=terraform-20230727204725916100000001] data.aws_region.Region: Read complete after 0s [id=us-east-1] aws_s3_object.cloudWebsite_File--static--css--main3451cd13css_A369CB42: Refreshing state... [id=/static/css/main.3451cd13.css] aws_s3_object.cloudWebsite_File--static--js--mainf1d03206jsLICENSEtxt_4D897431: Refreshing state... [id=/static/js/main.f1d03206.js.LICENSE.txt] aws_s3_object.cloudWebsite_File--static--css--main3451cd13cssmap_B24EB286: Refreshing state... [id=/static/css/main.3451cd13.css.map] aws_iam_role.VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_IamRole_0FF833EF: Refreshing state... [id=terraform-20230803215115569800000002] aws_s3_object.cloudWebsite_File--static--js--mainf1d03206jsmap_6DC52951: Refreshing state... [id=/static/js/main.f1d03206.js.map] aws_dynamodb_table.VotingAppStore_Entries_tfawsdynamodbTableDynamodbTable_76D1C895: Refreshing state... [id=Entries-e91f54ab] aws_iam_role.VotingAppApi_VotingAppApi-OnRequest-52bc3c17_IamRole_CBB68D47: Refreshing state... [id=terraform-20230808003212924500000001] aws_iam_role.InitializeTable_Function_IamRole_E3F0843D: Refreshing state... [id=terraform-20230727202411672600000001] aws_s3_bucket.Code: Refreshing state... [id=code-c84a50b1-20230727202411678600000003] aws_s3_bucket.cloudWebsite_WebsiteBucket_EB03D355: Refreshing state... [id=cloud-website-c8e58765-20230803215115368500000001] aws_iam_role_policy.VotingAppApi_VotingAppApi-OnRequest-41f14472_IamRolePolicy_25C9720E: Refreshing state... [id=terraform-20230727204725916100000001:terraform-20230727204739773400000005] aws_iam_role_policy_attachment.VotingAppApi_VotingAppApi-OnRequest-41f14472_IamRolePolicyAttachment_E1980EB1: Refreshing state... [id=terraform-20230727204725916100000001-20230727204726450200000003] aws_iam_role_policy_attachment.VotingAppApi_VotingAppApi-OnRequest-52bc3c17_IamRolePolicyAttachment_92A90320: Refreshing state... [id=terraform-20230808003212924500000001-20230808003213158800000002] aws_iam_role_policy.VotingAppApi_VotingAppApi-OnRequest-52bc3c17_IamRolePolicy_0F307DC9: Refreshing state... [id=terraform-20230808003212924500000001:terraform-20230808003225755300000003] aws_iam_role_policy_attachment.VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_IamRolePolicyAttachment_055C2EDA: Refreshing state... [id=terraform-20230803215115569800000002-20230803215115890800000004] aws_iam_role_policy.VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_IamRolePolicy_2D34FA97: Refreshing state... [id=terraform-20230803215115569800000002:terraform-20230803215115813700000003] aws_iam_role_policy.InitializeTable_Function_IamRolePolicy_2AD89519: Refreshing state... [id=terraform-20230727202411672600000001:terraform-20230727202424567600000008] aws_iam_role_policy_attachment.InitializeTable_Function_IamRolePolicyAttachment_4435DE19: Refreshing state... [id=terraform-20230727202411672600000001-20230727202411887400000005] aws_s3_object.VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_S3Object_F8CCE004: Refreshing state... [id=asset.c8cf8e09741b572c80a663f9c8cf9ce40395e87b08.a755aeb99c9877c1faafaf9b59e38da8.zip] aws_s3_object.VotingAppApi_VotingAppApi-OnRequest-52bc3c17_S3Object_F3A42DC6: Refreshing state... [id=asset.c89daf14978fb4fcb47ef703ae9610992b519c2727.4acc7b5910422db52aabfb2afe2f2c44.zip] aws_s3_object.InitializeTable_Function_S3Object_F5933D3B: Refreshing state... [id=asset.c8e7055bb3773d297f63b5172fb6a571cddc069012.3b6614a20cf2ab64d7d13e42b726ad1a.zip] aws_s3_object.VotingAppApi_VotingAppApi-OnRequest-41f14472_S3Object_C95F6BA9: Refreshing state... [id=asset.c87bddf927b70f22f963a14d64ce5f4bf1372d398a.7af676d0bbd48d1c55cb3c2c1432c8a2.zip] aws_s3_object.cloudWebsite_File--logo512png_E26C5AA3: Refreshing state... [id=/logo512.png] aws_s3_object.cloudWebsite_File--asset-manifestjson_8187FE70: Refreshing state... [id=/asset-manifest.json] aws_cloudfront_distribution.cloudWebsite_Distribution_083B5AF9: Refreshing state... [id=E1QUV69RQ9ODON] aws_s3_object.cloudWebsite_File--static--js--78728cb0dcdchunkjs_40889769: Refreshing state... [id=/static/js/787.28cb0dcd.chunk.js] aws_s3_object.cloudWebsite_File--logo192png_6E513B20: Refreshing state... [id=/logo192.png] aws_s3_bucket_server_side_encryption_configuration.cloudWebsite_Encryption_6A8A4E29: Refreshing state... [id=cloud-website-c8e58765-20230803215115368500000001] aws_s3_bucket_website_configuration.cloudWebsite_BucketWebsiteConfiguration_920E8E41: Refreshing state... [id=cloud-website-c8e58765-20230803215115368500000001] aws_s3_object.cloudWebsite_File--indexhtml_2A2AE13C: Refreshing state... [id=/index.html] aws_s3_object.cloudWebsite_File--manifestjson_5AC33197: Refreshing state... [id=/manifest.json] aws_s3_bucket_public_access_block.cloudWebsite_PublicAccessBlock_18A70311: Refreshing state... [id=cloud-website-c8e58765-20230803215115368500000001] aws_s3_object.cloudWebsite_File--static--js--78728cb0dcdchunkjsmap_F5D0643F: Refreshing state... [id=/static/js/787.28cb0dcd.chunk.js.map] aws_s3_object.cloudWebsite_File--faviconico_A86052F9: Refreshing state... [id=/favicon.ico] aws_s3_object.cloudWebsite_File--robotstxt_F93900E9: Refreshing state... [id=/robots.txt] aws_lambda_function.VotingAppApi_VotingAppApi-OnRequest-52bc3c17_02CD08E6: Refreshing state... [id=VotingAppApi-OnRequest-52bc3c17-c89daf14] aws_lambda_function.VotingAppApi_VotingAppApi-OnRequest-41f14472_39478289: Refreshing state... [id=VotingAppApi-OnRequest-41f14472-c87bddf9] aws_lambda_function.InitializeTable_Function_FD00736D: Refreshing state... [id=Function-c8e7055b] aws_lambda_function.VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_93510F52: Refreshing state... [id=VotingAppApi-OnRequest-8d2e75ec-c8cf8e09] data.aws_iam_policy_document.cloudWebsite_AllowDistributionReadOnly_89DC4FD0: Reading... data.aws_iam_policy_document.cloudWebsite_AllowDistributionReadOnly_89DC4FD0: Read complete after 0s [id=573591717] aws_s3_bucket_policy.cloudWebsite_DistributionS3BucketPolicy_32B029AE: Refreshing state... [id=cloud-website-c8e58765-20230803215115368500000001] aws_api_gateway_rest_api.VotingAppApi_api_CB41EC98: Refreshing state... [id=dfh6uhtoa0] aws_lambda_permission.VotingAppApi_api_permission-POST-53dc1f64_98751060: Refreshing state... [id=AllowExecutionFromAPIGateway-POST-53dc1f64] aws_api_gateway_deployment.VotingAppApi_api_deployment_B9647894: Refreshing state... [id=q0wnc2] aws_lambda_permission.VotingAppApi_api_permission-POST-57590acc_3E83C8F6: Refreshing state... [id=AllowExecutionFromAPIGateway-POST-57590acc] aws_lambda_permission.VotingAppApi_api_permission-GET-5969f3af_56B4A504: Refreshing state... [id=AllowExecutionFromAPIGateway-GET-5969f3af] aws_api_gateway_stage.VotingAppApi_api_stage_9B2FA9EA: Refreshing state... [id=ags-dfh6uhtoa0-prod] aws_s3_object.cloudWebsite_File-configjson_591A81BA: Refreshing state... [id=config.json] Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: + create ~ update in-place - destroy -/+ destroy and then create replacement +/- create replacement and then destroy <= read (data resources) Terraform will perform the following actions: # data.aws_lambda_invocation.InitializeTable_Invocation_6E01246F will be read during apply # (depends on a resource or a module with changes pending) <= data "aws_lambda_invocation" "InitializeTable_Invocation_6E01246F" { + function_name = "Function-c8e7055b" + id = (known after apply) + input = jsonencode({}) + result = (known after apply) } # aws_iam_role_policy.InitializeTable_Function_IamRolePolicy_2AD89519 will be updated in-place ~ resource "aws_iam_role_policy" "InitializeTable_Function_IamRolePolicy_2AD89519" { id = "terraform-20230727202411672600000001:terraform-20230727202424567600000008" name = "terraform-20230727202424567600000008" ~ policy = jsonencode( ~ { ~ Statement = [ ~ { ~ Action = [ - "dynamodb:PutItem", ] -> "none:null" ~ Resource = [ - "arn:aws:dynamodb:us-east-1:223316951128:table/Entries-e91f54ab", ] -> "*" # (1 unchanged attribute hidden) }, ] # (1 unchanged attribute hidden) } ) # (1 unchanged attribute hidden) } # aws_iam_role_policy.VotingAppApi_VotingAppApi-OnRequest-41f14472_IamRolePolicy_25C9720E will be updated in-place ~ resource "aws_iam_role_policy" "VotingAppApi_VotingAppApi-OnRequest-41f14472_IamRolePolicy_25C9720E" { id = "terraform-20230727204725916100000001:terraform-20230727204739773400000005" name = "terraform-20230727204739773400000005" ~ policy = jsonencode( ~ { ~ Statement = [ ~ { ~ Action = [ - "dynamodb:PutItem", ] -> "none:null" ~ Resource = [ - "arn:aws:dynamodb:us-east-1:223316951128:table/Entries-e91f54ab", ] -> "*" # (1 unchanged attribute hidden) }, - { - Action = [ - "dynamodb:GetItem", ] - Effect = "Allow" - Resource = [ - "arn:aws:dynamodb:us-east-1:223316951128:table/Entries-e91f54ab", ] }, - { - Action = [ - "dynamodb:Scan", ] - Effect = "Allow" - Resource = [ - "arn:aws:dynamodb:us-east-1:223316951128:table/Entries-e91f54ab", ] }, ] # (1 unchanged attribute hidden) } ) # (1 unchanged attribute hidden) } # aws_iam_role_policy.VotingAppApi_VotingAppApi-OnRequest-52bc3c17_IamRolePolicy_0F307DC9 will be updated in-place ~ resource "aws_iam_role_policy" "VotingAppApi_VotingAppApi-OnRequest-52bc3c17_IamRolePolicy_0F307DC9" { id = "terraform-20230808003212924500000001:terraform-20230808003225755300000003" name = "terraform-20230808003225755300000003" ~ policy = jsonencode( ~ { ~ Statement = [ ~ { ~ Action = [ - "dynamodb:Scan", ] -> "none:null" ~ Resource = [ - "arn:aws:dynamodb:us-east-1:223316951128:table/Entries-e91f54ab", ] -> "*" # (1 unchanged attribute hidden) }, ] # (1 unchanged attribute hidden) } ) # (1 unchanged attribute hidden) } # aws_iam_role_policy.VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_IamRolePolicy_2D34FA97 will be updated in-place ~ resource "aws_iam_role_policy" "VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_IamRolePolicy_2D34FA97" { id = "terraform-20230803215115569800000002:terraform-20230803215115813700000003" name = "terraform-20230803215115813700000003" ~ policy = jsonencode( ~ { ~ Statement = [ ~ { ~ Action = [ - "dynamodb:Scan", ] -> "none:null" ~ Resource = [ - "arn:aws:dynamodb:us-east-1:223316951128:table/Entries-e91f54ab", ] -> "*" # (1 unchanged attribute hidden) }, ] # (1 unchanged attribute hidden) } ) # (1 unchanged attribute hidden) } # aws_lambda_function.InitializeTable_Function_FD00736D will be updated in-place ~ resource "aws_lambda_function" "InitializeTable_Function_FD00736D" { id = "Function-c8e7055b" ~ last_modified = "2023-08-11T02:18:48.000+0000" -> (known after apply) ~ qualified_arn = "arn:aws:lambda:us-east-1:223316951128:function:Function-c8e7055b:11" -> (known after apply) ~ qualified_invoke_arn = "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:223316951128:function:Function-c8e7055b:11/invocations" -> (known after apply) ~ s3_key = "asset.c8e7055bb3773d297f63b5172fb6a571cddc069012.3b6614a20cf2ab64d7d13e42b726ad1a.zip" -> "asset.c8e7055bb3773d297f63b5172fb6a571cddc069012.234daee6072477001d1d7c0b9f2e7cbc.zip" tags = {} ~ version = "11" -> (known after apply) # (18 unchanged attributes hidden) # (3 unchanged blocks hidden) } # aws_lambda_function.VotingAppApi_VotingAppApi-OnRequest-41f14472_39478289 will be updated in-place ~ resource "aws_lambda_function" "VotingAppApi_VotingAppApi-OnRequest-41f14472_39478289" { id = "VotingAppApi-OnRequest-41f14472-c87bddf9" ~ last_modified = "2023-08-11T02:18:48.000+0000" -> (known after apply) ~ qualified_arn = "arn:aws:lambda:us-east-1:223316951128:function:VotingAppApi-OnRequest-41f14472-c87bddf9:10" -> (known after apply) ~ qualified_invoke_arn = "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:223316951128:function:VotingAppApi-OnRequest-41f14472-c87bddf9:10/invocations" -> (known after apply) ~ s3_key = "asset.c87bddf927b70f22f963a14d64ce5f4bf1372d398a.7af676d0bbd48d1c55cb3c2c1432c8a2.zip" -> "asset.c87bddf927b70f22f963a14d64ce5f4bf1372d398a.86a7f7300f1be61beaea8ce8a0586702.zip" tags = {} ~ version = "10" -> (known after apply) # (18 unchanged attributes hidden) # (3 unchanged blocks hidden) } # aws_lambda_function.VotingAppApi_VotingAppApi-OnRequest-52bc3c17_02CD08E6 will be updated in-place ~ resource "aws_lambda_function" "VotingAppApi_VotingAppApi-OnRequest-52bc3c17_02CD08E6" { id = "VotingAppApi-OnRequest-52bc3c17-c89daf14" ~ last_modified = "2023-08-11T02:18:48.000+0000" -> (known after apply) ~ qualified_arn = "arn:aws:lambda:us-east-1:223316951128:function:VotingAppApi-OnRequest-52bc3c17-c89daf14:7" -> (known after apply) ~ qualified_invoke_arn = "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:223316951128:function:VotingAppApi-OnRequest-52bc3c17-c89daf14:7/invocations" -> (known after apply) ~ s3_key = "asset.c89daf14978fb4fcb47ef703ae9610992b519c2727.4acc7b5910422db52aabfb2afe2f2c44.zip" -> "asset.c89daf14978fb4fcb47ef703ae9610992b519c2727.606521aec4eda5a0e915779ca5dcc0f6.zip" tags = {} ~ version = "7" -> (known after apply) # (18 unchanged attributes hidden) # (3 unchanged blocks hidden) } # aws_lambda_function.VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_93510F52 will be updated in-place ~ resource "aws_lambda_function" "VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_93510F52" { id = "VotingAppApi-OnRequest-8d2e75ec-c8cf8e09" ~ last_modified = "2023-08-11T02:18:48.000+0000" -> (known after apply) ~ qualified_arn = "arn:aws:lambda:us-east-1:223316951128:function:VotingAppApi-OnRequest-8d2e75ec-c8cf8e09:9" -> (known after apply) ~ qualified_invoke_arn = "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:223316951128:function:VotingAppApi-OnRequest-8d2e75ec-c8cf8e09:9/invocations" -> (known after apply) ~ s3_key = "asset.c8cf8e09741b572c80a663f9c8cf9ce40395e87b08.a755aeb99c9877c1faafaf9b59e38da8.zip" -> "asset.c8cf8e09741b572c80a663f9c8cf9ce40395e87b08.d9ac7785aa2f64a2ff7f4f869a52eaeb.zip" tags = {} ~ version = "9" -> (known after apply) # (18 unchanged attributes hidden) # (3 unchanged blocks hidden) } # aws_s3_object.InitializeTable_Function_S3Object_F5933D3B must be replaced -/+ resource "aws_s3_object" "InitializeTable_Function_S3Object_F5933D3B" { ~ bucket_key_enabled = false -> (known after apply) ~ content_type = "binary/octet-stream" -> (known after apply) ~ etag = "9d48ebaae79aba1bc96fb60a35a6b9aa" -> (known after apply) ~ id = "asset.c8e7055bb3773d297f63b5172fb6a571cddc069012.3b6614a20cf2ab64d7d13e42b726ad1a.zip" -> (known after apply) ~ key = "asset.c8e7055bb3773d297f63b5172fb6a571cddc069012.3b6614a20cf2ab64d7d13e42b726ad1a.zip" -> "asset.c8e7055bb3773d297f63b5172fb6a571cddc069012.234daee6072477001d1d7c0b9f2e7cbc.zip" # forces replacement + kms_key_id = (known after apply) - metadata = {} -> null ~ server_side_encryption = "AES256" -> (known after apply) ~ source = "assets/InitializeTable_Function_Asset_1A1B5BC3/3B6614A20CF2AB64D7D13E42B726AD1A/archive.zip" -> "assets/InitializeTable_Function_Asset_1A1B5BC3/234DAEE6072477001D1D7C0B9F2E7CBC/archive.zip" ~ storage_class = "STANDARD" -> (known after apply) - tags = {} -> null ~ tags_all = {} -> (known after apply) + version_id = (known after apply) # (3 unchanged attributes hidden) } # aws_s3_object.VotingAppApi_VotingAppApi-OnRequest-41f14472_S3Object_C95F6BA9 must be replaced +/- resource "aws_s3_object" "VotingAppApi_VotingAppApi-OnRequest-41f14472_S3Object_C95F6BA9" { ~ bucket_key_enabled = false -> (known after apply) ~ content_type = "binary/octet-stream" -> (known after apply) ~ etag = "ea96ebc302c72bbc7dcd39e3ad95f5d5" -> (known after apply) ~ id = "asset.c87bddf927b70f22f963a14d64ce5f4bf1372d398a.7af676d0bbd48d1c55cb3c2c1432c8a2.zip" -> (known after apply) ~ key = "asset.c87bddf927b70f22f963a14d64ce5f4bf1372d398a.7af676d0bbd48d1c55cb3c2c1432c8a2.zip" -> "asset.c87bddf927b70f22f963a14d64ce5f4bf1372d398a.86a7f7300f1be61beaea8ce8a0586702.zip" # forces replacement + kms_key_id = (known after apply) - metadata = {} -> null ~ server_side_encryption = "AES256" -> (known after apply) ~ source = "assets/VotingAppApi_VotingAppApi-OnRequest-41f14472_Asset_94F55D63/7AF676D0BBD48D1C55CB3C2C1432C8A2/archive.zip" -> "assets/VotingAppApi_VotingAppApi-OnRequest-41f14472_Asset_94F55D63/86A7F7300F1BE61BEAEA8CE8A0586702/archive.zip" ~ storage_class = "STANDARD" -> (known after apply) - tags = {} -> null ~ tags_all = {} -> (known after apply) + version_id = (known after apply) # (3 unchanged attributes hidden) } # aws_s3_object.VotingAppApi_VotingAppApi-OnRequest-52bc3c17_S3Object_F3A42DC6 must be replaced +/- resource "aws_s3_object" "VotingAppApi_VotingAppApi-OnRequest-52bc3c17_S3Object_F3A42DC6" { ~ bucket_key_enabled = false -> (known after apply) ~ content_type = "binary/octet-stream" -> (known after apply) ~ etag = "7d50d9591a15fe864225f8257d27900b" -> (known after apply) ~ id = "asset.c89daf14978fb4fcb47ef703ae9610992b519c2727.4acc7b5910422db52aabfb2afe2f2c44.zip" -> (known after apply) ~ key = "asset.c89daf14978fb4fcb47ef703ae9610992b519c2727.4acc7b5910422db52aabfb2afe2f2c44.zip" -> "asset.c89daf14978fb4fcb47ef703ae9610992b519c2727.606521aec4eda5a0e915779ca5dcc0f6.zip" # forces replacement + kms_key_id = (known after apply) - metadata = {} -> null ~ server_side_encryption = "AES256" -> (known after apply) ~ source = "assets/VotingAppApi_VotingAppApi-OnRequest-52bc3c17_Asset_FBAD96D6/4ACC7B5910422DB52AABFB2AFE2F2C44/archive.zip" -> "assets/VotingAppApi_VotingAppApi-OnRequest-52bc3c17_Asset_FBAD96D6/606521AEC4EDA5A0E915779CA5DCC0F6/archive.zip" ~ storage_class = "STANDARD" -> (known after apply) - tags = {} -> null ~ tags_all = {} -> (known after apply) + version_id = (known after apply) # (3 unchanged attributes hidden) } # aws_s3_object.VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_S3Object_F8CCE004 must be replaced +/- resource "aws_s3_object" "VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_S3Object_F8CCE004" { ~ bucket_key_enabled = false -> (known after apply) ~ content_type = "binary/octet-stream" -> (known after apply) ~ etag = "64d5b363474125d5e5f5034489869ec0" -> (known after apply) ~ id = "asset.c8cf8e09741b572c80a663f9c8cf9ce40395e87b08.a755aeb99c9877c1faafaf9b59e38da8.zip" -> (known after apply) ~ key = "asset.c8cf8e09741b572c80a663f9c8cf9ce40395e87b08.a755aeb99c9877c1faafaf9b59e38da8.zip" -> "asset.c8cf8e09741b572c80a663f9c8cf9ce40395e87b08.d9ac7785aa2f64a2ff7f4f869a52eaeb.zip" # forces replacement + kms_key_id = (known after apply) - metadata = {} -> null ~ server_side_encryption = "AES256" -> (known after apply) ~ source = "assets/VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_Asset_4A29FD21/A755AEB99C9877C1FAAFAF9B59E38DA8/archive.zip" -> "assets/VotingAppApi_VotingAppApi-OnRequest-8d2e75ec_Asset_4A29FD21/D9AC7785AA2F64A2FF7F4F869A52EAEB/archive.zip" ~ storage_class = "STANDARD" -> (known after apply) - tags = {} -> null ~ tags_all = {} -> (known after apply) + version_id = (known after apply) # (3 unchanged attributes hidden) } # aws_s3_object.cloudWebsite_File--asset-manifestjson_8187FE70 will be updated in-place ~ resource "aws_s3_object" "cloudWebsite_File--asset-manifestjson_8187FE70" { id = "/asset-manifest.json" ~ source_hash = "2c6e0a51e8abd920539b39b9cc9b6991" -> "fcbd0a1e97001b130a95a96d644ed79a" tags = {} + version_id = (known after apply) # (12 unchanged attributes hidden) } # aws_s3_object.cloudWebsite_File--indexhtml_2A2AE13C will be updated in-place ~ resource "aws_s3_object" "cloudWebsite_File--indexhtml_2A2AE13C" { id = "/index.html" ~ source_hash = "e9fde7184296c040a6d5759a0a0d33d5" -> "1d2425f281397311a4f0e5e1f41ab29f" tags = {} + version_id = (known after apply) # (12 unchanged attributes hidden) } # aws_s3_object.cloudWebsite_File--static--css--main3451cd13css_A369CB42 will be destroyed # (because aws_s3_object.cloudWebsite_File--static--css--main3451cd13css_A369CB42 is not in configuration) - resource "aws_s3_object" "cloudWebsite_File--static--css--main3451cd13css_A369CB42" { - acl = "private" -> null - bucket = "cloud-website-c8e58765-20230803215115368500000001" -> null - bucket_key_enabled = false -> null - content_type = "text/css; charset=utf-8" -> null - etag = "fd86480ccee91b0b6b842205b076e202" -> null - force_destroy = false -> null - id = "/static/css/main.3451cd13.css" -> null - key = "/static/css/main.3451cd13.css" -> null - metadata = {} -> null - server_side_encryption = "AES256" -> null - source = "/github/workspace/website/build/static/css/main.3451cd13.css" -> null - source_hash = "fd86480ccee91b0b6b842205b076e202" -> null - storage_class = "STANDARD" -> null - tags = {} -> null - tags_all = {} -> null } # aws_s3_object.cloudWebsite_File--static--css--main3451cd13cssmap_B24EB286 will be destroyed # (because aws_s3_object.cloudWebsite_File--static--css--main3451cd13cssmap_B24EB286 is not in configuration) - resource "aws_s3_object" "cloudWebsite_File--static--css--main3451cd13cssmap_B24EB286" { - acl = "private" -> null - bucket = "cloud-website-c8e58765-20230803215115368500000001" -> null - bucket_key_enabled = false -> null - content_type = "application/json; charset=utf-8" -> null - etag = "d4bb87eb45890d199cd88ac0945654d0" -> null - force_destroy = false -> null - id = "/static/css/main.3451cd13.css.map" -> null - key = "/static/css/main.3451cd13.css.map" -> null - metadata = {} -> null - server_side_encryption = "AES256" -> null - source = "/github/workspace/website/build/static/css/main.3451cd13.css.map" -> null - source_hash = "d4bb87eb45890d199cd88ac0945654d0" -> null - storage_class = "STANDARD" -> null - tags = {} -> null - tags_all = {} -> null } # aws_s3_object.cloudWebsite_File--static--css--main7bcb2e70css_357E6CB3 will be created + resource "aws_s3_object" "cloudWebsite_File--static--css--main7bcb2e70css_357E6CB3" { + acl = "private" + bucket = "cloud-website-c8e58765-20230803215115368500000001" + bucket_key_enabled = (known after apply) + content_type = "text/css; charset=utf-8" + etag = (known after apply) + force_destroy = false + id = (known after apply) + key = "/static/css/main.7bcb2e70.css" + kms_key_id = (known after apply) + server_side_encryption = (known after apply) + source = "/github/workspace/website/build/static/css/main.7bcb2e70.css" + source_hash = "99341430a8a2af835e461bd854ea44b2" + storage_class = (known after apply) + tags_all = (known after apply) + version_id = (known after apply) } # aws_s3_object.cloudWebsite_File--static--css--main7bcb2e70cssmap_27FD35F4 will be created + resource "aws_s3_object" "cloudWebsite_File--static--css--main7bcb2e70cssmap_27FD35F4" { + acl = "private" + bucket = "cloud-website-c8e58765-20230803215115368500000001" + bucket_key_enabled = (known after apply) + content_type = "application/json; charset=utf-8" + etag = (known after apply) + force_destroy = false + id = (known after apply) + key = "/static/css/main.7bcb2e70.css.map" + kms_key_id = (known after apply) + server_side_encryption = (known after apply) + source = "/github/workspace/website/build/static/css/main.7bcb2e70.css.map" + source_hash = "c96ee9960a68f6b40b8a54cfe9badd63" + storage_class = (known after apply) + tags_all = (known after apply) + version_id = (known after apply) } # aws_s3_object.cloudWebsite_File--static--js--mainf1c34774jsLICENSEtxt_88CC288C will be created + resource "aws_s3_object" "cloudWebsite_File--static--js--mainf1c34774jsLICENSEtxt_88CC288C" { + acl = "private" + bucket = "cloud-website-c8e58765-20230803215115368500000001" + bucket_key_enabled = (known after apply) + content_type = "text/plain; charset=utf-8" + etag = (known after apply) + force_destroy = false + id = (known after apply) + key = "/static/js/main.f1c34774.js.LICENSE.txt" + kms_key_id = (known after apply) + server_side_encryption = (known after apply) + source = "/github/workspace/website/build/static/js/main.f1c34774.js.LICENSE.txt" + source_hash = "8dffae291722641df11b29bdf4b1f953" + storage_class = (known after apply) + tags_all = (known after apply) + version_id = (known after apply) } # aws_s3_object.cloudWebsite_File--static--js--mainf1c34774js_EBAC87F4 will be created + resource "aws_s3_object" "cloudWebsite_File--static--js--mainf1c34774js_EBAC87F4" { + acl = "private" + bucket = "cloud-website-c8e58765-20230803215115368500000001" + bucket_key_enabled = (known after apply) + content_type = "application/javascript; charset=utf-8" + etag = (known after apply) + force_destroy = false + id = (known after apply) + key = "/static/js/main.f1c34774.js" + kms_key_id = (known after apply) + server_side_encryption = (known after apply) + source = "/github/workspace/website/build/static/js/main.f1c34774.js" + source_hash = "26f7646508520a6c1800972e2b7f296d" + storage_class = (known after apply) + tags_all = (known after apply) + version_id = (known after apply) } # aws_s3_object.cloudWebsite_File--static--js--mainf1c34774jsmap_1AC53054 will be created + resource "aws_s3_object" "cloudWebsite_File--static--js--mainf1c34774jsmap_1AC53054" { + acl = "private" + bucket = "cloud-website-c8e58765-20230803215115368500000001" + bucket_key_enabled = (known after apply) + content_type = "application/json; charset=utf-8" + etag = (known after apply) + force_destroy = false + id = (known after apply) + key = "/static/js/main.f1c34774.js.map" + kms_key_id = (known after apply) + server_side_encryption = (known after apply) + source = "/github/workspace/website/build/static/js/main.f1c34774.js.map" + source_hash = "fa6446597ed01bc854175af6cf105642" + storage_class = (known after apply) + tags_all = (known after apply) + version_id = (known after apply) } # aws_s3_object.cloudWebsite_File--static--js--mainf1d03206jsLICENSEtxt_4D897431 will be destroyed # (because aws_s3_object.cloudWebsite_File--static--js--mainf1d03206jsLICENSEtxt_4D897431 is not in configuration) - resource "aws_s3_object" "cloudWebsite_File--static--js--mainf1d03206jsLICENSEtxt_4D897431" { - acl = "private" -> null - bucket = "cloud-website-c8e58765-20230803215115368500000001" -> null - bucket_key_enabled = false -> null - content_type = "text/plain; charset=utf-8" -> null - etag = "8dffae291722641df11b29bdf4b1f953" -> null - force_destroy = false -> null - id = "/static/js/main.f1d03206.js.LICENSE.txt" -> null - key = "/static/js/main.f1d03206.js.LICENSE.txt" -> null - metadata = {} -> null - server_side_encryption = "AES256" -> null - source = "/github/workspace/website/build/static/js/main.f1d03206.js.LICENSE.txt" -> null - source_hash = "8dffae291722641df11b29bdf4b1f953" -> null - storage_class = "STANDARD" -> null - tags = {} -> null - tags_all = {} -> null } # aws_s3_object.cloudWebsite_File--static--js--mainf1d03206js_5FB083CD will be destroyed # (because aws_s3_object.cloudWebsite_File--static--js--mainf1d03206js_5FB083CD is not in configuration) - resource "aws_s3_object" "cloudWebsite_File--static--js--mainf1d03206js_5FB083CD" { - acl = "private" -> null - bucket = "cloud-website-c8e58765-20230803215115368500000001" -> null - bucket_key_enabled = false -> null - content_type = "application/javascript; charset=utf-8" -> null - etag = "de828708e050a6f1c29d4fcd2d58ed6f" -> null - force_destroy = false -> null - id = "/static/js/main.f1d03206.js" -> null - key = "/static/js/main.f1d03206.js" -> null - metadata = {} -> null - server_side_encryption = "AES256" -> null - source = "/github/workspace/website/build/static/js/main.f1d03206.js" -> null - source_hash = "de828708e050a6f1c29d4fcd2d58ed6f" -> null - storage_class = "STANDARD" -> null - tags = {} -> null - tags_all = {} -> null } # aws_s3_object.cloudWebsite_File--static--js--mainf1d03206jsmap_6DC52951 will be destroyed # (because aws_s3_object.cloudWebsite_File--static--js--mainf1d03206jsmap_6DC52951 is not in configuration) - resource "aws_s3_object" "cloudWebsite_File--static--js--mainf1d03206jsmap_6DC52951" { - acl = "private" -> null - bucket = "cloud-website-c8e58765-20230803215115368500000001" -> null - bucket_key_enabled = false -> null - content_type = "application/json; charset=utf-8" -> null - etag = "b769bd1c3cd7c78022ab17baa6e2de75" -> null - force_destroy = false -> null - id = "/static/js/main.f1d03206.js.map" -> null - key = "/static/js/main.f1d03206.js.map" -> null - metadata = {} -> null - server_side_encryption = "AES256" -> null - source = "/github/workspace/website/build/static/js/main.f1d03206.js.map" -> null - source_hash = "b769bd1c3cd7c78022ab17baa6e2de75" -> null - storage_class = "STANDARD" -> null - tags = {} -> null - tags_all = {} -> null } Plan: 9 to add, 10 to change, 9 to destroy. ```