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-DuhuaHmG3Kky7s4c Waiting for the plan to start... Terraform v1.1.2 on linux_amd64 Configuring remote state backend... Initializing Terraform configuration... 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.proxy.module.edge_proxy.aws_iam_role.lambda[0]: Refreshing state... [id=tf-nextjs-micropay-web_tfn-proxy] 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.proxy.module.edge_proxy.aws_iam_policy_attachment.logs[0]: Refreshing state... [id=tf-nextjs-micropay-web_tfn-proxy-logs] 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.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.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_s3_bucket.static_deploy: Refreshing state... [id=tf-nextjs-micropay-web-tfn-static20220104052826240900000004] 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_sns_topic.this: Refreshing state... [id=arn:aws:sns:us-west-2:213662483306:tf-nextjs-micropay-web20220104052826386200000008] module.tf_next.module.api_gateway.aws_apigatewayv2_api.this[0]: Refreshing state... [id=o95zp4j33d] 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_cloudfront_cache_policy.this: Refreshing state... [id=03c510fc-451e-45ab-a107-ab84ec34c7af] 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.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.aws_iam_role.lambda["__NEXT_API_LAMBDA_0"]: Refreshing state... [id=tf-nextjs-micropay-web___NEXT_API_LAMBDA_0] module.tf_next.module.next_image[0].module.api_gateway.aws_apigatewayv2_stage.default[0]: Refreshing state... [id=$default] module.tf_next.aws_iam_policy.lambda_logging: Refreshing state... [id=arn:aws:iam::213662483306:policy/terraform-20220104052826249600000005] module.tf_next.module.api_gateway.aws_apigatewayv2_stage.default[0]: Refreshing state... [id=$default] module.tf_next.aws_lambda_permission.current_version_triggers["__NEXT_API_LAMBDA_0"]: Refreshing state... [id=AllowInvokeFromApiGateway] 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.aws_iam_role_policy_attachment.lambda_logs["__NEXT_API_LAMBDA_0"]: Refreshing state... [id=tf-nextjs-micropay-web___NEXT_API_LAMBDA_0-20220104052827304300000009] 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.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.cloudfront_cert.aws_acm_certificate_validation.this[0]: Refreshing state... [id=2022-01-04 05:28:44.925 +0000 UTC] 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].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.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].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.statics_deploy.aws_s3_bucket_policy.origin_access: Refreshing state... [id=tf-nextjs-micropay-web-tfn-static20220104052826240900000004] 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_object.config_json: Refreshing state... [id=proxy-config.json] 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_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.current_version_triggers["AllowExecutionFromAPIGateway"]: Refreshing state... [id=AllowExecutionFromAPIGateway] 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.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[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.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.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[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[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[2]: Refreshing state... [id=tf-nextjs-micropay-web_tfn-deploy-2] 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.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.current_version_triggers["InvalidationQueue"]: Refreshing state... [id=InvalidationQueue] 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.current_version_triggers["AllowExecutionFromS3Bucket"]: Refreshing state... [id=AllowExecutionFromS3Bucket] 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.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=5192787919326618400] Note: Objects have changed outside of Terraform Terraform detected the following changes made outside of Terraform since the last "terraform apply": # aws_cloudfront_distribution.distribution has changed ~ resource "aws_cloudfront_distribution" "distribution" { id = "E1MK4HMLCZBB68" + tags = {} # (19 unchanged attributes hidden) ~ ordered_cache_behavior { + trusted_key_groups = [] + trusted_signers = [] # (12 unchanged attributes hidden) } ~ ordered_cache_behavior { + trusted_key_groups = [] + trusted_signers = [] # (12 unchanged attributes hidden) } # (6 unchanged blocks hidden) } # aws_route53_record.cloudfront_alias_domain has changed ~ resource "aws_route53_record" "cloudfront_alias_domain" { id = "Z0654085V5EAR601WU0T_micropay.gg_A" name = "micropay.gg" + records = [] + ttl = 0 # (3 unchanged attributes hidden) # (1 unchanged block hidden) } # module.cloudfront_cert.aws_acm_certificate.this[0] has changed ~ resource "aws_acm_certificate" "this" { id = "arn:aws:acm:us-east-1:213662483306:certificate/22849ad3-844b-4094-a555-b3d29c66e806" ~ status = "PENDING_VALIDATION" -> "ISSUED" tags = { "Name" = "CloudFront micropay.gg" } # (7 unchanged attributes hidden) # (1 unchanged block hidden) } # module.cloudfront_cert.aws_route53_record.validation[0] has changed ~ resource "aws_route53_record" "validation" { id = "Z0654085V5EAR601WU0T__3a1501977e5670168cfbf58d835dda06.micropay.gg._CNAME" name = "_3a1501977e5670168cfbf58d835dda06.micropay.gg" # (6 unchanged attributes hidden) } # module.tf_next.aws_cloudwatch_log_group.this["__NEXT_API_LAMBDA_0"] has changed ~ resource "aws_cloudwatch_log_group" "this" { id = "/aws/lambda/tf-nextjs-micropay-web___NEXT_API_LAMBDA_0" name = "/aws/lambda/tf-nextjs-micropay-web___NEXT_API_LAMBDA_0" + tags = {} # (3 unchanged attributes hidden) } # module.tf_next.aws_iam_policy.lambda_logging has changed ~ resource "aws_iam_policy" "lambda_logging" { id = "arn:aws:iam::213662483306:policy/terraform-20220104052826249600000005" name = "terraform-20220104052826249600000005" + tags = {} # (6 unchanged attributes hidden) } # module.tf_next.aws_iam_role.lambda["__NEXT_API_LAMBDA_0"] has changed ~ resource "aws_iam_role" "lambda" { id = "tf-nextjs-micropay-web___NEXT_API_LAMBDA_0" ~ managed_policy_arns = [ + "arn:aws:iam::213662483306:policy/terraform-20220104052826249600000005", ] name = "tf-nextjs-micropay-web___NEXT_API_LAMBDA_0" + tags = {} # (9 unchanged attributes hidden) # (1 unchanged block hidden) } # module.tf_next.aws_lambda_function.this["__NEXT_API_LAMBDA_0"] has changed ~ resource "aws_lambda_function" "this" { id = "tf-nextjs-micropay-web___NEXT_API_LAMBDA_0" ~ last_modified = "2022-01-04T05:28:38.358+0000" -> "2022-01-04T05:28:45.406+0000" + layers = [] + tags = {} # (19 unchanged attributes hidden) # (1 unchanged block hidden) } # module.tf_next.module.api_gateway.aws_apigatewayv2_api.this[0] has changed ~ resource "aws_apigatewayv2_api" "this" { id = "o95zp4j33d" name = "tf-nextjs-micropay-web" + tags = {} # (9 unchanged attributes hidden) } # module.tf_next.module.api_gateway.aws_apigatewayv2_integration.this["ANY /__NEXT_API_LAMBDA_0/{proxy+}"] has changed ~ resource "aws_apigatewayv2_integration" "this" { id = "8xckvkj" + request_parameters = {} + request_templates = {} # (7 unchanged attributes hidden) } # module.tf_next.module.api_gateway.aws_apigatewayv2_route.this["ANY /__NEXT_API_LAMBDA_0/{proxy+}"] has changed ~ resource "aws_apigatewayv2_route" "this" { + authorization_scopes = [] id = "mb6z5f8" + request_models = {} # (5 unchanged attributes hidden) } # module.tf_next.module.api_gateway.aws_apigatewayv2_stage.default[0] has changed ~ resource "aws_apigatewayv2_stage" "default" { + deployment_id = "typpa1" id = "$default" name = "$default" + stage_variables = {} + tags = {} # (6 unchanged attributes hidden) # (1 unchanged block hidden) } # module.tf_next.module.proxy_config.aws_cloudfront_distribution.distribution has changed ~ resource "aws_cloudfront_distribution" "distribution" { + aliases = [] id = "E4B4I49WHO5JR" + tags = {} # (18 unchanged attributes hidden) # (4 unchanged blocks hidden) } # module.tf_next.module.proxy_config.aws_s3_bucket.proxy_config_store has changed ~ resource "aws_s3_bucket" "proxy_config_store" { id = "tf-nextjs-micropay-web-tfn-config20220104052825412400000001" + tags = {} # (11 unchanged attributes hidden) # (1 unchanged block hidden) } # module.tf_next.module.proxy_config.aws_s3_bucket_object.config_json has changed ~ resource "aws_s3_bucket_object" "config_json" { id = "proxy-config.json" + metadata = {} + tags = {} # (11 unchanged attributes hidden) } # module.tf_next.module.proxy_config.aws_s3_bucket_policy.proxy_config_store_origin_access has changed ~ resource "aws_s3_bucket_policy" "proxy_config_store_origin_access" { id = "tf-nextjs-micropay-web-tfn-config20220104052825412400000001" ~ policy = jsonencode( # whitespace changes { Statement = [ { Action = "s3:GetObject" Effect = "Allow" Principal = { AWS = "arn:aws:iam::cloudfront:user/CloudFront Origin Access Identity E33J0NDMQF4126" } Resource = "arn:aws:s3:::tf-nextjs-micropay-web-tfn-config20220104052825412400000001/*" Sid = "" }, ] Version = "2012-10-17" } ) # (1 unchanged attribute hidden) } # module.tf_next.module.statics_deploy.aws_s3_bucket.static_deploy has changed ~ resource "aws_s3_bucket" "static_deploy" { id = "tf-nextjs-micropay-web-tfn-static20220104052826240900000004" + tags = {} # (11 unchanged attributes hidden) # (2 unchanged blocks hidden) } # module.tf_next.module.statics_deploy.aws_s3_bucket.static_upload has changed ~ resource "aws_s3_bucket" "static_upload" { id = "tf-nextjs-micropay-web-tfn-deploy20220104052826355900000006" + tags = {} # (11 unchanged attributes hidden) # (1 unchanged block hidden) } # module.tf_next.module.statics_deploy.aws_s3_bucket_policy.origin_access has changed ~ resource "aws_s3_bucket_policy" "origin_access" { id = "tf-nextjs-micropay-web-tfn-static20220104052826240900000004" ~ policy = jsonencode( # whitespace changes { Statement = [ { Action = "s3:GetObject" Effect = "Allow" Principal = { AWS = "arn:aws:iam::cloudfront:user/CloudFront Origin Access Identity E1XZ6N3L1GKI4I" } Resource = "arn:aws:s3:::tf-nextjs-micropay-web-tfn-static20220104052826240900000004/*" Sid = "" }, { Action = "s3:GetObject" Effect = "Deny" Principal = { AWS = "arn:aws:iam::cloudfront:user/CloudFront Origin Access Identity E1XZ6N3L1GKI4I" } Resource = "arn:aws:s3:::tf-nextjs-micropay-web-tfn-static20220104052826240900000004/_tf-next/deployment.json" Sid = "" }, ] Version = "2012-10-17" } ) # (1 unchanged attribute hidden) } # module.tf_next.module.statics_deploy.aws_sns_topic.this has changed ~ resource "aws_sns_topic" "this" { id = "arn:aws:sns:us-west-2:213662483306:tf-nextjs-micropay-web20220104052826386200000008" name = "tf-nextjs-micropay-web20220104052826386200000008" + tags = {} # (7 unchanged attributes hidden) } # module.tf_next.module.statics_deploy.aws_sqs_queue.this has changed ~ resource "aws_sqs_queue" "this" { id = "https://sqs.us-west-2.amazonaws.com/213662483306/tf-nextjs-micropay-web20220104052825624700000003" name = "tf-nextjs-micropay-web20220104052825624700000003" + policy = jsonencode( { + Statement = [ + { + Action = "sqs:SendMessage" + Condition = { + ArnEquals = { + aws:SourceArn = [ + "arn:aws:sns:us-west-2:213662483306:tf-nextjs-micropay-web20220104052826386200000008", + "arn:aws:lambda:us-west-2:213662483306:function:tf-nextjs-micropay-web_tfn-deploy", ] } } + Effect = "Allow" + Principal = { + AWS = "*" } + Resource = "arn:aws:lambda:us-west-2:213662483306:function:tf-nextjs-micropay-web_tfn-deploy" + Sid = "" }, ] + Version = "2012-10-17" } ) + tags = {} # (13 unchanged attributes hidden) } # module.tf_next.module.next_image[0].module.api_gateway.aws_apigatewayv2_api.this[0] has changed ~ resource "aws_apigatewayv2_api" "this" { id = "11onayrqk5" name = "tf-nextjs-micropay-web_tfn-image" + tags = {} # (9 unchanged attributes hidden) } # module.tf_next.module.next_image[0].module.api_gateway.aws_apigatewayv2_integration.this["GET /_next/{proxy+}"] has changed ~ resource "aws_apigatewayv2_integration" "this" { id = "epiu3jd" + request_parameters = {} + request_templates = {} # (7 unchanged attributes hidden) } # module.tf_next.module.next_image[0].module.api_gateway.aws_apigatewayv2_route.this["GET /_next/{proxy+}"] has changed ~ resource "aws_apigatewayv2_route" "this" { + authorization_scopes = [] id = "01ehs0o" + request_models = {} # (5 unchanged attributes hidden) } # module.tf_next.module.next_image[0].module.api_gateway.aws_apigatewayv2_stage.default[0] has changed ~ resource "aws_apigatewayv2_stage" "default" { + deployment_id = "qyqihd" id = "$default" name = "$default" + stage_variables = {} + tags = {} # (6 unchanged attributes hidden) # (1 unchanged block hidden) } # module.tf_next.module.next_image[0].module.image_optimizer.aws_cloudwatch_log_group.lambda[0] has changed ~ resource "aws_cloudwatch_log_group" "lambda" { id = "/aws/lambda/tf-nextjs-micropay-web_tfn-image" name = "/aws/lambda/tf-nextjs-micropay-web_tfn-image" + tags = {} # (3 unchanged attributes hidden) } # module.tf_next.module.next_image[0].module.image_optimizer.aws_iam_policy.additional_json[0] has changed ~ resource "aws_iam_policy" "additional_json" { id = "arn:aws:iam::213662483306:policy/tf-nextjs-micropay-web_tfn-image" name = "tf-nextjs-micropay-web_tfn-image" + tags = {} # (5 unchanged attributes hidden) } # module.tf_next.module.next_image[0].module.image_optimizer.aws_iam_policy.logs[0] has changed ~ resource "aws_iam_policy" "logs" { id = "arn:aws:iam::213662483306:policy/tf-nextjs-micropay-web_tfn-image-logs" name = "tf-nextjs-micropay-web_tfn-image-logs" + tags = {} # (5 unchanged attributes hidden) } # module.tf_next.module.next_image[0].module.image_optimizer.aws_iam_role.lambda[0] has changed ~ resource "aws_iam_role" "lambda" { id = "tf-nextjs-micropay-web_tfn-image" ~ managed_policy_arns = [ + "arn:aws:iam::213662483306:policy/tf-nextjs-micropay-web_tfn-image", + "arn:aws:iam::213662483306:policy/tf-nextjs-micropay-web_tfn-image-logs", ] name = "tf-nextjs-micropay-web_tfn-image" + tags = {} # (8 unchanged attributes hidden) # (1 unchanged block hidden) } # module.tf_next.module.next_image[0].module.image_optimizer.aws_lambda_function.this[0] has changed ~ resource "aws_lambda_function" "this" { id = "tf-nextjs-micropay-web_tfn-image" ~ last_modified = "2022-01-04T05:28:45.573+0000" -> "2022-01-04T05:28:52.923+0000" + layers = [] + tags = {} # (19 unchanged attributes hidden) # (2 unchanged blocks hidden) } # module.tf_next.module.proxy.module.edge_proxy.aws_cloudwatch_log_group.lambda[0] has changed ~ resource "aws_cloudwatch_log_group" "lambda" { id = "/aws/lambda/us-east-1.tf-nextjs-micropay-web_tfn-proxy" name = "/aws/lambda/us-east-1.tf-nextjs-micropay-web_tfn-proxy" + tags = {} # (3 unchanged attributes hidden) } # module.tf_next.module.proxy.module.edge_proxy.aws_iam_policy.logs[0] has changed ~ resource "aws_iam_policy" "logs" { id = "arn:aws:iam::213662483306:policy/tf-nextjs-micropay-web_tfn-proxy-logs" name = "tf-nextjs-micropay-web_tfn-proxy-logs" + tags = {} # (5 unchanged attributes hidden) } # module.tf_next.module.proxy.module.edge_proxy.aws_iam_policy_attachment.logs[0] has changed ~ resource "aws_iam_policy_attachment" "logs" { + groups = [] id = "tf-nextjs-micropay-web_tfn-proxy-logs" name = "tf-nextjs-micropay-web_tfn-proxy-logs" + users = [] # (2 unchanged attributes hidden) } # module.tf_next.module.proxy.module.edge_proxy.aws_iam_role.lambda[0] has changed ~ resource "aws_iam_role" "lambda" { id = "tf-nextjs-micropay-web_tfn-proxy" ~ managed_policy_arns = [ + "arn:aws:iam::213662483306:policy/tf-nextjs-micropay-web_tfn-proxy-logs", ] name = "tf-nextjs-micropay-web_tfn-proxy" + tags = {} # (8 unchanged attributes hidden) # (1 unchanged block hidden) } # module.tf_next.module.proxy.module.edge_proxy.aws_lambda_function.this[0] has changed ~ resource "aws_lambda_function" "this" { id = "tf-nextjs-micropay-web_tfn-proxy" + layers = [] + tags = {} # (20 unchanged attributes hidden) # (1 unchanged block hidden) } # module.tf_next.module.statics_deploy.module.deploy_trigger.aws_cloudwatch_log_group.lambda[0] has changed ~ resource "aws_cloudwatch_log_group" "lambda" { id = "/aws/lambda/tf-nextjs-micropay-web_tfn-deploy" name = "/aws/lambda/tf-nextjs-micropay-web_tfn-deploy" + tags = {} # (3 unchanged attributes hidden) } # module.tf_next.module.statics_deploy.module.deploy_trigger.aws_iam_policy.additional_jsons[0] has changed ~ resource "aws_iam_policy" "additional_jsons" { id = "arn:aws:iam::213662483306:policy/tf-nextjs-micropay-web_tfn-deploy-0" name = "tf-nextjs-micropay-web_tfn-deploy-0" + tags = {} # (5 unchanged attributes hidden) } # module.tf_next.module.statics_deploy.module.deploy_trigger.aws_iam_policy.additional_jsons[1] has changed ~ resource "aws_iam_policy" "additional_jsons" { id = "arn:aws:iam::213662483306:policy/tf-nextjs-micropay-web_tfn-deploy-1" name = "tf-nextjs-micropay-web_tfn-deploy-1" + tags = {} # (5 unchanged attributes hidden) } # module.tf_next.module.statics_deploy.module.deploy_trigger.aws_iam_policy.additional_jsons[2] has changed ~ resource "aws_iam_policy" "additional_jsons" { id = "arn:aws:iam::213662483306:policy/tf-nextjs-micropay-web_tfn-deploy-2" name = "tf-nextjs-micropay-web_tfn-deploy-2" + tags = {} # (5 unchanged attributes hidden) } # module.tf_next.module.statics_deploy.module.deploy_trigger.aws_iam_policy.logs[0] has changed ~ resource "aws_iam_policy" "logs" { id = "arn:aws:iam::213662483306:policy/tf-nextjs-micropay-web_tfn-deploy-logs" name = "tf-nextjs-micropay-web_tfn-deploy-logs" + tags = {} # (5 unchanged attributes hidden) } # module.tf_next.module.statics_deploy.module.deploy_trigger.aws_iam_policy_attachment.additional_jsons[0] has changed ~ resource "aws_iam_policy_attachment" "additional_jsons" { + groups = [] id = "tf-nextjs-micropay-web_tfn-deploy-0" name = "tf-nextjs-micropay-web_tfn-deploy-0" + users = [] # (2 unchanged attributes hidden) } # module.tf_next.module.statics_deploy.module.deploy_trigger.aws_iam_policy_attachment.additional_jsons[1] has changed ~ resource "aws_iam_policy_attachment" "additional_jsons" { + groups = [] id = "tf-nextjs-micropay-web_tfn-deploy-1" name = "tf-nextjs-micropay-web_tfn-deploy-1" + users = [] # (2 unchanged attributes hidden) } # module.tf_next.module.statics_deploy.module.deploy_trigger.aws_iam_policy_attachment.additional_jsons[2] has changed ~ resource "aws_iam_policy_attachment" "additional_jsons" { + groups = [] id = "tf-nextjs-micropay-web_tfn-deploy-2" name = "tf-nextjs-micropay-web_tfn-deploy-2" + users = [] # (2 unchanged attributes hidden) } # module.tf_next.module.statics_deploy.module.deploy_trigger.aws_iam_policy_attachment.logs[0] has changed ~ resource "aws_iam_policy_attachment" "logs" { + groups = [] id = "tf-nextjs-micropay-web_tfn-deploy-logs" name = "tf-nextjs-micropay-web_tfn-deploy-logs" + users = [] # (2 unchanged attributes hidden) } # module.tf_next.module.statics_deploy.module.deploy_trigger.aws_iam_role.lambda[0] has changed ~ resource "aws_iam_role" "lambda" { id = "tf-nextjs-micropay-web_tfn-deploy" ~ managed_policy_arns = [ + "arn:aws:iam::213662483306:policy/tf-nextjs-micropay-web_tfn-deploy-0", + "arn:aws:iam::213662483306:policy/tf-nextjs-micropay-web_tfn-deploy-1", + "arn:aws:iam::213662483306:policy/tf-nextjs-micropay-web_tfn-deploy-2", + "arn:aws:iam::213662483306:policy/tf-nextjs-micropay-web_tfn-deploy-logs", ] name = "tf-nextjs-micropay-web_tfn-deploy" + tags = {} # (8 unchanged attributes hidden) # (1 unchanged block hidden) } # module.tf_next.module.statics_deploy.module.deploy_trigger.aws_lambda_event_source_mapping.this["sqs_source"] has changed ~ resource "aws_lambda_event_source_mapping" "this" { + function_response_types = [] id = "3a7c0c5e-2bb6-4d92-ba28-4bc8a85565e2" + queues = [] + topics = [] # (15 unchanged attributes hidden) } # module.tf_next.module.statics_deploy.module.deploy_trigger.aws_lambda_function.this[0] has changed ~ resource "aws_lambda_function" "this" { id = "tf-nextjs-micropay-web_tfn-deploy" ~ last_modified = "2022-01-04T05:34:46.300+0000" -> "2022-01-04T05:34:53.571+0000" + layers = [] + tags = {} # (19 unchanged attributes hidden) # (2 unchanged blocks hidden) } Unless you have made equivalent changes to your configuration, or ignored the relevant attributes using ignore_changes, the following plan may include actions to undo or respond to these changes. ───────────────────────────────────────────────────────────────────────────── 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-04T05:28:45.406+0000" -> (known after apply) ~ source_code_hash = "QjkI5s+UlyV4sMNn54ghI7eVNw8TjQWM8S05G0d3ZP8=" -> "9DmUd0VnE/n4CU7CpE3j+xoaXBd67wP+ousHtHQBC6A=" tags = {} # (19 unchanged attributes hidden) # (1 unchanged block hidden) } # module.tf_next.module.statics_deploy.null_resource.static_s3_upload[0] must be replaced -/+ resource "null_resource" "static_s3_upload" { ~ id = "5192787919326618400" -> (known after apply) ~ triggers = { # forces replacement ~ "static_files_archive" = "c5e2b2a6181a74de6326f7da947ac2cd" -> "9746242294786bb6e45e35a9d24421ff" } } Plan: 1 to add, 1 to change, 1 to destroy. ```Pusher: @notjustinshaw, Action:
pull_request