Closed notjustinshaw closed 2 years ago
success
Pusher: @notjustinshaw, Action: pull_request
pull_request
Terraform Format and Style 🖌
success
Terraform Initialization ⚙️
success
Terraform Validation 🤖
success
Terraform Plan 📖
success
Show Plan
``` terraform Running plan in Terraform Cloud. Output will stream here. Pressing Ctrl-C will stop streaming the logs, but will not stop the plan running remotely. Preparing the remote plan... To view this run in a browser, visit: https://app.terraform.io/app/micropay/gh-actions/runs/run-XZDGafPqrQ79Hb2y Waiting for the plan to start... Terraform v1.1.2 on linux_amd64 Configuring remote state backend... Initializing Terraform configuration... module.tf_next.module.statics_deploy.aws_sns_topic.this: Refreshing state... [id=arn:aws:sns:us-west-2:213662483306:tf-nextjs-micropay-web20220104052826386200000008] module.tf_next.module.next_image[0].module.api_gateway.aws_apigatewayv2_api.this[0]: Refreshing state... [id=11onayrqk5] module.tf_next.module.next_image[0].module.image_optimizer.aws_cloudwatch_log_group.lambda[0]: Refreshing state... [id=/aws/lambda/tf-nextjs-micropay-web_tfn-image] module.tf_next.module.api_gateway.aws_apigatewayv2_api.this[0]: Refreshing state... [id=o95zp4j33d] module.tf_next.module.statics_deploy.aws_s3_bucket.static_upload: Refreshing state... [id=tf-nextjs-micropay-web-tfn-deploy20220104052826355900000006] module.tf_next.module.statics_deploy.aws_s3_bucket.static_deploy: Refreshing state... [id=tf-nextjs-micropay-web-tfn-static20220104052826240900000004] module.tf_next.aws_cloudfront_cache_policy.this: Refreshing state... [id=03c510fc-451e-45ab-a107-ab84ec34c7af] module.tf_next.module.statics_deploy.module.deploy_trigger.aws_cloudwatch_log_group.lambda[0]: Refreshing state... [id=/aws/lambda/tf-nextjs-micropay-web_tfn-deploy] module.tf_next.module.statics_deploy.aws_sqs_queue.this: Refreshing state... [id=https://sqs.us-west-2.amazonaws.com/213662483306/tf-nextjs-micropay-web20220104052825624700000003] module.tf_next.module.proxy_config.aws_s3_bucket.proxy_config_store: Refreshing state... [id=tf-nextjs-micropay-web-tfn-config20220104052825412400000001] module.tf_next.aws_cloudwatch_log_group.this["__NEXT_API_LAMBDA_0"]: Refreshing state... [id=/aws/lambda/tf-nextjs-micropay-web___NEXT_API_LAMBDA_0] module.tf_next.aws_iam_policy.lambda_logging: Refreshing state... [id=arn:aws:iam::213662483306:policy/terraform-20220104052826249600000005] module.tf_next.module.statics_deploy.module.deploy_trigger.aws_iam_role.lambda[0]: Refreshing state... [id=tf-nextjs-micropay-web_tfn-deploy] module.tf_next.module.next_image[0].module.image_optimizer.aws_iam_role.lambda[0]: Refreshing state... [id=tf-nextjs-micropay-web_tfn-image] module.tf_next.module.proxy.module.edge_proxy.aws_cloudwatch_log_group.lambda[0]: Refreshing state... [id=/aws/lambda/us-east-1.tf-nextjs-micropay-web_tfn-proxy] module.cloudfront_cert.aws_acm_certificate.this[0]: Refreshing state... [id=arn:aws:acm:us-east-1:213662483306:certificate/22849ad3-844b-4094-a555-b3d29c66e806] module.tf_next.module.api_gateway.aws_apigatewayv2_stage.default[0]: Refreshing state... [id=$default] module.tf_next.module.next_image[0].module.api_gateway.aws_apigatewayv2_stage.default[0]: Refreshing state... [id=$default] module.tf_next.aws_iam_role.lambda["__NEXT_API_LAMBDA_0"]: Refreshing state... [id=tf-nextjs-micropay-web___NEXT_API_LAMBDA_0] module.tf_next.aws_lambda_permission.current_version_triggers["__NEXT_API_LAMBDA_0"]: Refreshing state... [id=AllowInvokeFromApiGateway] module.tf_next.module.proxy.module.edge_proxy.aws_iam_role.lambda[0]: Refreshing state... [id=tf-nextjs-micropay-web_tfn-proxy] module.tf_next.module.statics_deploy.aws_sns_topic_subscription.this: Refreshing state... [id=arn:aws:sns:us-west-2:213662483306:tf-nextjs-micropay-web20220104052826386200000008:2a1e87bd-bb11-4380-8869-60ae0c7cdb31] module.cloudfront_cert.aws_route53_record.validation[0]: Refreshing state... [id=Z0654085V5EAR601WU0T__3a1501977e5670168cfbf58d835dda06.micropay.gg._CNAME] module.tf_next.module.next_image[0].module.image_optimizer.aws_iam_policy.logs[0]: Refreshing state... [id=arn:aws:iam::213662483306:policy/tf-nextjs-micropay-web_tfn-image-logs] module.tf_next.module.statics_deploy.module.deploy_trigger.aws_iam_policy.logs[0]: Refreshing state... [id=arn:aws:iam::213662483306:policy/tf-nextjs-micropay-web_tfn-deploy-logs] module.tf_next.module.proxy.module.edge_proxy.aws_iam_policy.logs[0]: Refreshing state... [id=arn:aws:iam::213662483306:policy/tf-nextjs-micropay-web_tfn-proxy-logs] module.tf_next.module.next_image[0].module.image_optimizer.aws_iam_role_policy_attachment.logs[0]: Refreshing state... [id=tf-nextjs-micropay-web_tfn-image-2022010405282788760000000a] module.tf_next.module.statics_deploy.module.deploy_trigger.aws_iam_policy_attachment.logs[0]: Refreshing state... [id=tf-nextjs-micropay-web_tfn-deploy-logs] module.tf_next.aws_iam_role_policy_attachment.lambda_logs["__NEXT_API_LAMBDA_0"]: Refreshing state... [id=tf-nextjs-micropay-web___NEXT_API_LAMBDA_0-20220104052827304300000009] module.cloudfront_cert.aws_acm_certificate_validation.this[0]: Refreshing state... [id=2022-01-04 05:28:44.925 +0000 UTC] module.tf_next.aws_lambda_function.this["__NEXT_API_LAMBDA_0"]: Refreshing state... [id=tf-nextjs-micropay-web___NEXT_API_LAMBDA_0] module.tf_next.module.proxy.module.edge_proxy.aws_lambda_function.this[0]: Refreshing state... [id=tf-nextjs-micropay-web_tfn-proxy] module.tf_next.module.proxy.module.edge_proxy.aws_iam_policy_attachment.logs[0]: Refreshing state... [id=tf-nextjs-micropay-web_tfn-proxy-logs] module.tf_next.module.api_gateway.aws_apigatewayv2_integration.this["ANY /__NEXT_API_LAMBDA_0/{proxy+}"]: Refreshing state... [id=8xckvkj] module.tf_next.module.api_gateway.aws_apigatewayv2_route.this["ANY /__NEXT_API_LAMBDA_0/{proxy+}"]: Refreshing state... [id=mb6z5f8] module.tf_next.module.statics_deploy.aws_cloudfront_origin_access_identity.this: Refreshing state... [id=E1XZ6N3L1GKI4I] module.tf_next.module.next_image[0].module.image_optimizer.aws_iam_policy.additional_json[0]: Refreshing state... [id=arn:aws:iam::213662483306:policy/tf-nextjs-micropay-web_tfn-image] module.tf_next.module.next_image[0].module.image_optimizer.aws_lambda_function.this[0]: Refreshing state... [id=tf-nextjs-micropay-web_tfn-image] module.tf_next.module.next_image[0].aws_cloudfront_cache_policy.this: Refreshing state... [id=4bd88fac-57e6-4aab-9e07-1d913c93beaf] module.tf_next.module.next_image[0].aws_cloudfront_origin_request_policy.this: Refreshing state... [id=b49ad859-a556-4cb3-8125-234cd7791e44] module.tf_next.module.statics_deploy.aws_s3_bucket_policy.origin_access: Refreshing state... [id=tf-nextjs-micropay-web-tfn-static20220104052826240900000004] module.tf_next.module.next_image[0].module.image_optimizer.aws_iam_role_policy_attachment.additional_json[0]: Refreshing state... [id=tf-nextjs-micropay-web_tfn-image-2022010405283165800000000e] module.tf_next.module.proxy_config.aws_s3_bucket_object.config_json: Refreshing state... [id=proxy-config.json] module.tf_next.module.proxy_config.aws_cloudfront_origin_access_identity.this: Refreshing state... [id=E33J0NDMQF4126] module.tf_next.module.proxy_config.aws_s3_bucket_policy.proxy_config_store_origin_access: Refreshing state... [id=tf-nextjs-micropay-web-tfn-config20220104052825412400000001] module.tf_next.module.proxy_config.aws_cloudfront_distribution.distribution: Refreshing state... [id=E4B4I49WHO5JR] aws_cloudfront_distribution.distribution: Refreshing state... [id=E1MK4HMLCZBB68] module.tf_next.module.next_image[0].module.image_optimizer.aws_lambda_permission.unqualified_alias_triggers["AllowExecutionFromAPIGateway"]: Refreshing state... [id=AllowExecutionFromAPIGateway] module.tf_next.module.next_image[0].module.image_optimizer.aws_lambda_permission.current_version_triggers["AllowExecutionFromAPIGateway"]: Refreshing state... [id=AllowExecutionFromAPIGateway] module.tf_next.module.next_image[0].module.api_gateway.aws_apigatewayv2_integration.this["GET /_next/{proxy+}"]: Refreshing state... [id=epiu3jd] aws_route53_record.cloudfront_alias_domain: Refreshing state... [id=Z0654085V5EAR601WU0T_micropay.gg_A] module.tf_next.module.statics_deploy.module.deploy_trigger.aws_lambda_function.this[0]: Refreshing state... [id=tf-nextjs-micropay-web_tfn-deploy] module.tf_next.module.statics_deploy.module.deploy_trigger.aws_iam_policy.additional_jsons[2]: Refreshing state... [id=arn:aws:iam::213662483306:policy/tf-nextjs-micropay-web_tfn-deploy-2] module.tf_next.module.statics_deploy.module.deploy_trigger.aws_iam_policy.additional_jsons[0]: Refreshing state... [id=arn:aws:iam::213662483306:policy/tf-nextjs-micropay-web_tfn-deploy-0] module.tf_next.module.statics_deploy.module.deploy_trigger.aws_iam_policy.additional_jsons[1]: Refreshing state... [id=arn:aws:iam::213662483306:policy/tf-nextjs-micropay-web_tfn-deploy-1] module.tf_next.module.next_image[0].module.api_gateway.aws_apigatewayv2_route.this["GET /_next/{proxy+}"]: Refreshing state... [id=01ehs0o] module.tf_next.module.statics_deploy.module.deploy_trigger.aws_iam_policy_attachment.additional_jsons[1]: Refreshing state... [id=tf-nextjs-micropay-web_tfn-deploy-1] module.tf_next.module.statics_deploy.module.deploy_trigger.aws_iam_policy_attachment.additional_jsons[0]: Refreshing state... [id=tf-nextjs-micropay-web_tfn-deploy-0] module.tf_next.module.statics_deploy.module.deploy_trigger.aws_iam_policy_attachment.additional_jsons[2]: Refreshing state... [id=tf-nextjs-micropay-web_tfn-deploy-2] module.tf_next.module.statics_deploy.module.deploy_trigger.aws_lambda_permission.current_version_triggers["AllowExecutionFromS3Bucket"]: Refreshing state... [id=AllowExecutionFromS3Bucket] module.tf_next.module.statics_deploy.module.deploy_trigger.aws_lambda_event_source_mapping.this["sqs_source"]: Refreshing state... [id=3a7c0c5e-2bb6-4d92-ba28-4bc8a85565e2] module.tf_next.module.statics_deploy.module.deploy_trigger.aws_lambda_permission.unqualified_alias_triggers["AllowExecutionFromS3Bucket"]: Refreshing state... [id=AllowExecutionFromS3Bucket] module.tf_next.module.statics_deploy.module.deploy_trigger.aws_lambda_permission.unqualified_alias_triggers["InvalidationQueue"]: Refreshing state... [id=InvalidationQueue] module.tf_next.module.statics_deploy.aws_s3_bucket_notification.on_create: Refreshing state... [id=tf-nextjs-micropay-web-tfn-deploy20220104052826355900000006] module.tf_next.module.statics_deploy.module.deploy_trigger.aws_lambda_permission.current_version_triggers["InvalidationQueue"]: Refreshing state... [id=InvalidationQueue] module.tf_next.module.statics_deploy.aws_sqs_queue_policy.this: Refreshing state... [id=https://sqs.us-west-2.amazonaws.com/213662483306/tf-nextjs-micropay-web20220104052825624700000003] module.tf_next.module.statics_deploy.null_resource.static_s3_upload[0]: Refreshing state... [id=4723931861254109153] Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: ~ update in-place -/+ destroy and then create replacement Terraform will perform the following actions: # module.tf_next.aws_lambda_function.this["__NEXT_API_LAMBDA_0"] will be updated in-place ~ resource "aws_lambda_function" "this" { id = "tf-nextjs-micropay-web___NEXT_API_LAMBDA_0" ~ last_modified = "2022-01-08T05:10:40.000+0000" -> (known after apply) ~ source_code_hash = "KVQ6+L4xh2S11btNWvvICVBQmvM41fwaUzZJwTpmCIo=" -> "IgQLSGwyW+FQ66LPw8/t/tZtAjlDT6EHf4jf/o5jvoA=" tags = {} # (24 unchanged attributes hidden) # (2 unchanged blocks hidden) } # module.tf_next.module.statics_deploy.null_resource.static_s3_upload[0] must be replaced -/+ resource "null_resource" "static_s3_upload" { ~ id = "4723931861254109153" -> (known after apply) ~ triggers = { # forces replacement ~ "static_files_archive" = "bc6e99dba3161a664e2cb2432df0ebcf" -> "1d54e986b8258f9d9d7897efb4f156aa" } } Plan: 1 to add, 1 to change, 1 to destroy. ╷ │ Warning: Value for undeclared variable │ │ The root module does not declare a variable named "TF_VAR_jwt_secret" but a │ value was found in file "/terraform/terraform.tfvars". If you meant to use │ this value, add a "variable" block to the configuration. │ │ To silence these warnings, use TF_VAR_... environment variables to provide │ certain "global" settings to all configurations in your organization. To │ reduce the verbosity of these warnings, use the -compact-warnings option. ╵ ```Pusher: @notjustinshaw, Action:
pull_request