-
Notifications
You must be signed in to change notification settings - Fork 6
chore: update prisma to latest (5.20.0) #205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Plan Result (curated-corpus-api-cdk)
|
Plan Result (corpus-scheduler-lambda-cdk)
Change Result (Click me) # aws_lambda_function.corpus-scheduler-sqs-lambda_F2ECDF9F will be updated in-place
~ resource "aws_lambda_function" "corpus-scheduler-sqs-lambda_F2ECDF9F" {
id = "CorpusSchedulerLambda-Prod-SQS-Function"
~ qualified_arn = "arn:aws:lambda:us-east-1:996905175585:function:CorpusSchedulerLambda-Prod-SQS-Function:149" -> (known after apply)
~ qualified_invoke_arn = "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:996905175585:function:CorpusSchedulerLambda-Prod-SQS-Function:149/invocations" -> (known after apply)
tags = {
"app_code" = "content"
"component_code" = "content-corpusschedulerlambda"
"env_code" = "prod"
"environment" = "Prod"
"service" = "CorpusSchedulerLambda"
}
~ version = "149" -> (known after apply)
# (19 unchanged attributes hidden)
~ environment {
~ variables = {
~ "GIT_SHA" = (sensitive value)
# (7 unchanged elements hidden)
}
}
# (4 unchanged blocks hidden)
}
Plan: 0 to add, 1 to change, 0 to destroy. |
Plan Result (prospect-translation-lambda-cdk)
Change Result (Click me) # aws_lambda_function.translation-lambda_translation-sqs-lambda_B9BDF6BA will be updated in-place
~ resource "aws_lambda_function" "translation-lambda_translation-sqs-lambda_B9BDF6BA" {
id = "ProspectAPI-Prod-Sqs-Translation-Function"
tags = {
"app_code" = "content"
"component_code" = "content-prospectapi"
"env_code" = "prod"
"environment" = "Prod"
"service" = "ProspectAPI-Sqs-Translation"
}
# (21 unchanged attributes hidden)
~ environment {
~ variables = {
~ "GIT_SHA" = (sensitive value)
# (4 unchanged elements hidden)
}
}
# (4 unchanged blocks hidden)
}
Plan: 0 to add, 1 to change, 0 to destroy. |
Plan Result (prospect-api-cdk)
Change Result (Click me) # data.aws_iam_policy_document.application_ecs_service_ecs-iam_data-ecs-task-role-policy_090CC3AD will be read during apply
# (depends on a resource or a module with changes pending)
<= data "aws_iam_policy_document" "application_ecs_service_ecs-iam_data-ecs-task-role-policy_090CC3AD" {
+ id = (known after apply)
+ json = (known after apply)
+ version = "2012-10-17"
+ statement {
+ actions = [
+ "dynamodb:BatchGet*",
+ "dynamodb:DescribeTable",
+ "dynamodb:Get*",
+ "dynamodb:Query",
+ "dynamodb:Scan",
+ "dynamodb:UpdateItem",
]
+ effect = "Allow"
+ resources = [
+ "arn:aws:dynamodb:us-east-1:996905175585:table/PROAPI-Prod-Prospects",
+ "arn:aws:dynamodb:us-east-1:996905175585:table/PROAPI-Prod-Prospects/*",
]
}
+ statement {
+ actions = [
+ "s3:*",
]
+ effect = "Allow"
+ resources = [
+ "arn:aws:s3:::pocket-prospectapi-prod-images",
+ "arn:aws:s3:::pocket-prospectapi-prod-images/*",
]
}
+ statement {
+ actions = [
+ "events:PutEvents",
]
+ effect = "Allow"
+ resources = [
+ "arn:aws:events:us-east-1:996905175585:event-bus/PocketEventBridge-Prod-Shared-Event-Bus",
]
}
+ statement {
+ actions = [
+ "logs:CreateLogGroup",
+ "logs:CreateLogStream",
+ "logs:DescribeLogGroups",
+ "logs:DescribeLogStreams",
+ "logs:PutLogEvents",
+ "xray:GetSamplingRules",
+ "xray:GetSamplingStatisticSummaries",
+ "xray:GetSamplingTargets",
+ "xray:PutTelemetryRecords",
+ "xray:PutTraceSegments",
]
+ effect = "Allow"
+ resources = [
+ "*",
]
}
}
# aws_dynamodb_table.dynamodb_prospects_dynamodb_table_9854E41E will be updated in-place
~ resource "aws_dynamodb_table" "dynamodb_prospects_dynamodb_table_9854E41E" {
id = "PROAPI-Prod-Prospects"
name = "PROAPI-Prod-Prospects"
tags = {
"app_code" = "content"
"component_code" = "content-prospectapi"
"env_code" = "prod"
"environment" = "Prod"
"service" = "ProspectAPI"
}
# (9 unchanged attributes hidden)
- global_secondary_index {
- hash_key = "scheduledSurfaceGuid" -> null
- name = "scheduledSurfaceGuid-prospectType" -> null
- non_key_attributes = [] -> null
- projection_type = "ALL" -> null
- range_key = "prospectType" -> null
- read_capacity = 0 -> null
- write_capacity = 0 -> null
}
+ global_secondary_index {
+ hash_key = "scheduledSurfaceGuid"
+ name = "scheduledSurfaceGuid-prospectType"
+ non_key_attributes = []
+ projection_type = "ALL"
+ range_key = "prospectType"
+ read_capacity = 5
+ write_capacity = 5
}
# (5 unchanged blocks hidden)
}
# aws_iam_policy.application_ecs_service_ecs-iam_ecs-task-role-policy_6FC89FB6 will be updated in-place
~ resource "aws_iam_policy" "application_ecs_service_ecs-iam_ecs-task-role-policy_6FC89FB6" {
id = "arn:aws:iam::996905175585:policy/ProspectAPI-Prod-TaskRolePolicy"
name = "ProspectAPI-Prod-TaskRolePolicy"
~ policy = jsonencode(
{
- Statement = [
- {
- Action = [
- "dynamodb:UpdateItem",
- "dynamodb:Scan",
- "dynamodb:Query",
- "dynamodb:Get*",
- "dynamodb:DescribeTable",
- "dynamodb:BatchGet*",
]
- Effect = "Allow"
- Resource = [
- "arn:aws:dynamodb:us-east-1:996905175585:table/PROAPI-Prod-Prospects/*",
- "arn:aws:dynamodb:us-east-1:996905175585:table/PROAPI-Prod-Prospects",
]
},
- {
- Action = "s3:*"
- Effect = "Allow"
- Resource = [
- "arn:aws:s3:::pocket-prospectapi-prod-images/*",
- "arn:aws:s3:::pocket-prospectapi-prod-images",
]
},
- {
- Action = "events:PutEvents"
- Effect = "Allow"
- Resource = "arn:aws:events:us-east-1:996905175585:event-bus/PocketEventBridge-Prod-Shared-Event-Bus"
},
- {
- Action = [
- "xray:PutTraceSegments",
- "xray:PutTelemetryRecords",
- "xray:GetSamplingTargets",
- "xray:GetSamplingStatisticSummaries",
- "xray:GetSamplingRules",
- "logs:PutLogEvents",
- "logs:DescribeLogStreams",
- "logs:DescribeLogGroups",
- "logs:CreateLogStream",
- "logs:CreateLogGroup",
]
- Effect = "Allow"
- Resource = "*"
},
]
- Version = "2012-10-17"
}
) -> (known after apply)
tags = {
"app_code" = "content"
"component_code" = "content-prospectapi"
"env_code" = "prod"
"environment" = "Prod"
"service" = "ProspectAPI"
}
# (4 unchanged attributes hidden)
}
# aws_lambda_function.bridge-lambda_bridge-sqs-lambda_343B543A will be updated in-place
~ resource "aws_lambda_function" "bridge-lambda_bridge-sqs-lambda_343B543A" {
id = "ProspectAPI-Prod-Sqs-Bridge-Function"
~ qualified_arn = "arn:aws:lambda:us-east-1:996905175585:function:ProspectAPI-Prod-Sqs-Bridge-Function:193" -> (known after apply)
~ qualified_invoke_arn = "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:996905175585:function:ProspectAPI-Prod-Sqs-Bridge-Function:193/invocations" -> (known after apply)
tags = {
"app_code" = "content"
"component_code" = "content-prospectapi"
"env_code" = "prod"
"environment" = "Prod"
"service" = "ProspectAPI"
}
~ version = "193" -> (known after apply)
# (19 unchanged attributes hidden)
~ environment {
~ variables = {
~ "GIT_SHA" = (sensitive value)
# (5 unchanged elements hidden)
}
}
# (4 unchanged blocks hidden)
}
# local_file.application_ecs_service_appspec_94386B9C will be created
+ resource "local_file" "application_ecs_service_appspec_94386B9C" {
+ content = jsonencode(
{
+ Resources = [
+ {
+ TargetService = {
+ Properties = {
+ LoadBalancerInfo = {
+ ContainerName = "app"
+ ContainerPort = 4026
}
+ TaskDefinition = "arn:aws:ecs:us-east-1:996905175585:task-definition/ProspectAPI-Prod:401"
}
+ Type = "AWS::ECS::Service"
}
},
]
+ version = 1
}
)
+ content_base64sha256 = (known after apply)
+ content_base64sha512 = (known after apply)
+ content_md5 = (known after apply)
+ content_sha1 = (known after apply)
+ content_sha256 = (known after apply)
+ content_sha512 = (known after apply)
+ directory_permission = "0777"
+ file_permission = "0777"
+ filename = "appspec.json"
+ id = (known after apply)
}
# pagerduty_service.pagerduty_pagerduty-critical_464EE7CD will be updated in-place
~ resource "pagerduty_service" "pagerduty_pagerduty-critical_464EE7CD" {
~ alert_creation = "create_alerts_and_incidents" -> "create_incidents"
id = "PTPUWNY"
name = "ProspectAPI-Prod-PagerDuty-Critical"
# (9 unchanged attributes hidden)
# (2 unchanged blocks hidden)
}
# pagerduty_service.pagerduty_pagerduty-non-critical_B4CB3938 will be updated in-place
~ resource "pagerduty_service" "pagerduty_pagerduty-non-critical_B4CB3938" {
~ alert_creation = "create_alerts_and_incidents" -> "create_incidents"
id = "PWLFWML"
name = "ProspectAPI-Prod-PagerDuty-Non-Critical"
# (9 unchanged attributes hidden)
# (2 unchanged blocks hidden)
}
Plan: 1 to add, 5 to change, 0 to destroy. |
Plan Result (collection-api-cdk)
|
✅ Apply Succeeded (prospect-api-cdk-dev)
Details (Click me)data.terraform_remote_state.incident_management: Reading...
data.archive_file.bridge-lambda_bridge-sqs-lambda_lambda-default-file_0C88C3E5: Reading...
data.archive_file.bridge-lambda_bridge-sqs-lambda_lambda-default-file_0C88C3E5: Read complete after 0s [id=2b764d3b21b3c9f088f043bc205556d3519be551]
data.terraform_remote_state.incident_management: Read complete after 0s
data.aws_kms_alias.bridge-lambda_pocket-shared-vpc_secrets_manager_key_5CE4350D: Reading...
data.aws_ssm_parameter.pocket-vpc_private_subnets_75BAFB11: Reading...
data.aws_ssm_parameter.application_pocket_vpc_public_subnets_282A59F4: Reading...
aws_ecr_repository.application_ecs_service_ecr-app_ecr-repo_ABFE17F0: Refreshing state... [id=prospectapi-dev-app]
data.aws_ssm_parameter.application_pocket_vpc_private_subnets_424C83F8: Reading...
data.aws_ssm_parameter.application_pocket_vpc_vpc_ssm_param_DD9C7A4F: Reading...
data.aws_iam_policy_document.bridge-lambda_bridge-sqs-lambda_assume-policy-document_8B36637A: Reading...
aws_sqs_queue.bridge-lambda_bridge-sqs-lambda_lambda_sqs_queue_redrive_sqs_queue_E8DA1FF4: Refreshing state... [id=https://sqs.us-east-1.amazonaws.com/410318598490/ProspectAPI-Dev-Sqs-Bridge-Queue-Deadletter]
aws_codedeploy_app.application_ecs_service_ecs_codedeploy_ecs_code_deploy_C2F7CBCF: Refreshing state... [id=4ee018c2-d5c1-4bf8-b940-2f4894b7a04b:ProspectAPI-Dev-ECS]
data.aws_iam_policy_document.bridge-lambda_bridge-sqs-lambda_assume-policy-document_8B36637A: Read complete after 0s [id=1349007126]
aws_cloudwatch_log_group.aws-otel-collector-log-group: Refreshing state... [id=/Backend/ProspectAPI-Dev/ecs/aws-otel-collector]
data.aws_ssm_parameter.application_pocket_vpc_public_subnets_282A59F4: Read complete after 0s [id=/Shared/PublicSubnets]
data.aws_ssm_parameter.application_pocket_vpc_vpc_ssm_param_DD9C7A4F: Read complete after 0s [id=/Shared/Vpc]
data.aws_ssm_parameter.application_pocket_vpc_private_subnets_424C83F8: Read complete after 0s [id=/Shared/PrivateSubnets]
data.aws_ssm_parameter.pocket-vpc_private_subnets_75BAFB11: Read complete after 0s [id=/Shared/PrivateSubnets]
data.aws_ssm_parameter.bridge-lambda_service-hash_BACE0E97: Reading...
data.aws_kms_alias.application_pocket_vpc_secrets_manager_key_2C3C8766: Reading...
data.aws_iam_policy_document.application_ecs_service_ecs_codedeploy_codedeploy_assume_role_C76E7224: Reading...
aws_s3_bucket.bridge-lambda_bridge-sqs-lambda_code-bucket_8EFA52B9: Refreshing state... [id=pocket-prospectapi-dev-sqs-bridge]
data.aws_kms_alias.bridge-lambda_pocket-shared-vpc_secrets_manager_key_5CE4350D: Read complete after 0s [id=arn:aws:kms:us-east-1:410318598490:alias/aws/secretsmanager]
data.aws_iam_policy_document.application_ecs_service_ecs_codedeploy_codedeploy_assume_role_C76E7224: Read complete after 0s [id=4250039221]
data.aws_caller_identity.bridge-lambda_pocket-shared-vpc_current_identity_3422E253: Reading...
aws_sns_topic.pagerduty_alarm-non-critical-topic_53C1A3B3: Refreshing state... [id=arn:aws:sns:us-east-1:410318598490:ProspectAPI-Dev-Infrastructure-Alarm-Non-Critical]
data.aws_caller_identity.caller: Reading...
data.aws_caller_identity.bridge-lambda_pocket-shared-vpc_current_identity_3422E253: Read complete after 0s [id=410318598490]
data.aws_kinesis_firehose_delivery_stream.bridge-lambda_metaflow-firehose_F5AB78B3: Reading...
data.aws_ssm_parameter.bridge-lambda_sentry-dsn_6923D1E6: Reading...
data.aws_kms_alias.application_pocket_vpc_secrets_manager_key_2C3C8766: Read complete after 0s [id=arn:aws:kms:us-east-1:410318598490:alias/aws/secretsmanager]
data.aws_caller_identity.caller: Read complete after 0s [id=410318598490]
data.aws_ssm_parameter.bridge-lambda_pocket-shared-vpc_private_subnets_A014BE06: Reading...
data.aws_caller_identity.application_pocket_vpc_current_identity_0A422301: Reading...
data.aws_caller_identity.application_pocket_vpc_current_identity_0A422301: Read complete after 0s [id=410318598490]
data.aws_ssm_parameter.bridge-lambda_service-hash_BACE0E97: Read complete after 0s [id=/ProspectAPI/CircleCI/Dev/SERVICE_HASH]
data.aws_ssm_parameter.pocket-vpc_vpc_ssm_param_17802658: Reading...
data.aws_ssm_parameter.bridge-lambda_sentry-dsn_6923D1E6: Read complete after 0s [id=/ProspectAPI/Dev/SENTRY_DSN]
data.aws_ssm_parameter.bridge-lambda_pocket-shared-vpc_private_subnets_A014BE06: Read complete after 0s [id=/Shared/PrivateSubnets]
data.aws_kinesis_firehose_delivery_stream.bridge-lambda_metaflow-firehose_F5AB78B3: Read complete after 0s [id=arn:aws:firehose:us-east-1:410318598490:deliverystream/MetaflowTools-Dev-firehose]
data.aws_caller_identity.pocket-vpc_current_identity_8303C1C9: Reading...
data.aws_caller_identity.application_ecs_service_ecs_codedeploy_current_account_110B92B7: Reading...
data.aws_ssm_parameter.bridge-lambda_pocket-shared-vpc_public_subnets_144B4EA0: Reading...
aws_route53_zone.application_base_dns_subhosted_zone_77521D1C: Refreshing state... [id=Z07747349K0HE9ZG8VFL]
data.aws_sns_topic.backend_notifications: Reading...
data.aws_caller_identity.pocket-vpc_current_identity_8303C1C9: Read complete after 0s [id=410318598490]
data.aws_iam_policy_document.bridge-lambda_bridge-sqs-lambda_lambda-code-deploy_code-deploy-assume-role-policy-document_5DC37CC2: Reading...
data.aws_region.pocket-vpc_current_region_1602AAD6: Reading...
data.aws_caller_identity.application_ecs_service_ecs_codedeploy_current_account_110B92B7: Read complete after 0s [id=410318598490]
data.aws_region.pocket-vpc_current_region_1602AAD6: Read complete after 0s [id=us-east-1]
data.aws_ssm_parameter.pocket-vpc_vpc_ssm_param_17802658: Read complete after 0s [id=/Shared/Vpc]
data.aws_iam_policy_document.bridge-lambda_bridge-sqs-lambda_lambda-code-deploy_code-deploy-assume-role-policy-document_5DC37CC2: Read complete after 0s [id=4250039221]
data.aws_route53_zone.application_base_dns_main_hosted_zone_0141FA96: Reading...
data.aws_ssm_parameter.bridge-lambda_pocket-shared-vpc_public_subnets_144B4EA0: Read complete after 1s [id=/Shared/PublicSubnets]
data.aws_kms_alias.kms_alias: Reading...
aws_dynamodb_table.dynamodb_prospects_dynamodb_table_9854E41E: Refreshing state... [id=PROAPI-Dev-Prospects]
data.aws_sns_topic.backend_notifications: Read complete after 1s [id=arn:aws:sns:us-east-1:410318598490:Backend-Dev-ChatBot]
aws_cloudwatch_log_group.app-log-group: Refreshing state... [id=/Backend/ProspectAPI-Dev/ecs/app]
aws_ecs_cluster.application_ecs_cluster_4DC6EFB3: Refreshing state... [id=arn:aws:ecs:us-east-1:410318598490:cluster/ProspectAPI-Dev]
data.aws_region.region: Reading...
data.aws_region.region: Read complete after 0s [id=us-east-1]
data.aws_region.application_pocket_vpc_current_region_7774DA97: Reading...
data.aws_region.application_pocket_vpc_current_region_7774DA97: Read complete after 0s [id=us-east-1]
data.aws_region.bridge-lambda_pocket-shared-vpc_current_region_3DA75732: Reading...
data.aws_ssm_parameter.bridge-lambda_pocket-shared-vpc_vpc_ssm_param_55487FEE: Reading...
data.aws_region.bridge-lambda_pocket-shared-vpc_current_region_3DA75732: Read complete after 0s [id=us-east-1]
aws_codedeploy_app.bridge-lambda_bridge-sqs-lambda_lambda-code-deploy_code-deploy-app_32ED4D33: Refreshing state... [id=fbd00677-7dab-4a8f-815f-3302fc60fff4:ProspectAPI-Dev-Sqs-Bridge-Lambda]
data.aws_kms_alias.kms_alias: Read complete after 0s [id=arn:aws:kms:us-east-1:410318598490:alias/aws/secretsmanager]
aws_s3_bucket.image-uploads: Refreshing state... [id=pocket-prospectapi-dev-images]
data.aws_ssm_parameter.pocket-vpc_public_subnets_7F9CDB28: Reading...
data.aws_ssm_parameter.bridge-lambda_pocket-shared-vpc_vpc_ssm_param_55487FEE: Read complete after 0s [id=/Shared/Vpc]
aws_acm_certificate.application_alb_certificate_93966247: Refreshing state... [id=arn:aws:acm:us-east-1:410318598490:certificate/8ad52ecf-43c6-4984-bf41-c9e997988fc5]
data.aws_region.application_ecs_service_ecs_codedeploy_current_region_A377EAA5: Reading...
data.aws_region.application_ecs_service_ecs_codedeploy_current_region_A377EAA5: Read complete after 0s [id=us-east-1]
data.aws_kms_alias.pocket-vpc_secrets_manager_key_BF1637BF: Reading...
data.aws_ssm_parameter.pocket-vpc_public_subnets_7F9CDB28: Read complete after 0s [id=/Shared/PublicSubnets]
data.aws_iam_policy_document.application_ecs_service_ecs-iam_ecs-task-assume_05903663: Reading...
data.aws_iam_policy_document.application_ecs_service_ecs-iam_ecs-task-assume_05903663: Read complete after 0s [id=1077804475]
data.aws_kms_alias.pocket-vpc_secrets_manager_key_BF1637BF: Read complete after 0s [id=arn:aws:kms:us-east-1:410318598490:alias/aws/secretsmanager]
aws_iam_user.bridge-lambda_iam_user_EB469160: Refreshing state... [id=ProspectAPI-Dev-Queue-User]
aws_sns_topic.pagerduty_alarm-critical-topic_F1534579: Refreshing state... [id=arn:aws:sns:us-east-1:410318598490:ProspectAPI-Dev-Infrastructure-Alarm-Critical]
aws_iam_role.bridge-lambda_bridge-sqs-lambda_execution-role_F8CF76A9: Refreshing state... [id=ProspectAPI-Dev-Sqs-Bridge-ExecutionRole]
data.aws_vpc.application_pocket_vpc_22D55D83: Reading...
aws_sqs_queue.bridge-lambda_bridge-sqs-lambda_lambda_sqs_queue_26C8CFD1: Refreshing state... [id=https://sqs.us-east-1.amazonaws.com/410318598490/ProspectAPI-Dev-Sqs-Bridge-Queue]
aws_iam_role.application_ecs_service_ecs_codedeploy_ecs_code_deploy_role_175DB7D3: Refreshing state... [id=ProspectAPI-Dev-ECSCodeDeployRole]
data.aws_route53_zone.application_base_dns_main_hosted_zone_0141FA96: Read complete after 0s [id=ZCSIDA846KWLN]
aws_ecr_lifecycle_policy.application_ecs_service_ecr-app_ecr-repo-lifecyclepolicy_CCDF75B7: Refreshing state... [id=prospectapi-dev-app]
data.aws_vpc.pocket-vpc_2587E211: Reading...
data.pagerduty_vendor.pagerduty_cloudwatch_7956692A: Reading...
pagerduty_service.pagerduty_pagerduty-critical_464EE7CD: Refreshing state... [id=P8OH57E]
data.pagerduty_vendor.pagerduty_sentry_FFB12B7C: Reading...
pagerduty_service.pagerduty_pagerduty-non-critical_B4CB3938: Refreshing state... [id=POL55K4]
aws_iam_role.bridge-lambda_bridge-sqs-lambda_lambda-code-deploy_code-deploy-role_4D2F29B7: Refreshing state... [id=ProspectAPI-Dev-Sqs-Bridge-CodeDeployRole]
data.aws_iam_policy_document.bridge-lambda_bridge-sqs-lambda_execution-policy-document_1AA7F290: Reading...
data.aws_iam_policy_document.bridge-lambda_bridge-sqs-lambda_execution-policy-document_1AA7F290: Read complete after 0s [id=335886075]
data.aws_iam_policy_document.application_ecs_service_ecs-iam_data-ecs-task-execution-role-policy_015FDEBA: Reading...
data.aws_iam_policy_document.application_ecs_service_ecs-iam_data-ecs-task-execution-role-policy_015FDEBA: Read complete after 0s [id=492931643]
data.aws_vpc.bridge-lambda_pocket-shared-vpc_7BBDC169: Reading...
aws_codestarnotifications_notification_rule.application_ecs_service_ecs_codedeploy_ecs_codedeploy_notifications_CB44EADE: Refreshing state... [id=arn:aws:codestar-notifications:us-east-1:410318598490:notificationrule/494587429c2f067bd47b7b93a56ac1fa94e36fe0]
aws_iam_role.application_ecs_service_ecs-iam_ecs-execution-role_FB754BAA: Refreshing state... [id=ProspectAPI-Dev-TaskExecutionRole]
aws_iam_role.application_ecs_service_ecs-iam_ecs-task-role_A72990ED: Refreshing state... [id=ProspectAPI-Dev-TaskRole]
data.pagerduty_vendor.pagerduty_cloudwatch_7956692A: Read complete after 0s [id=PZQ6AUS]
aws_route53_record.application_base_dns_subhosted_zone_ns_DFB88A22: Refreshing state... [id=ZCSIDA846KWLN_prospect-api.getpocket.dev_NS]
aws_s3_bucket_public_access_block.bridge-lambda_bridge-sqs-lambda_code-bucket-public-access-block_F15A60E0: Refreshing state... [id=pocket-prospectapi-dev-sqs-bridge]
aws_s3_bucket_ownership_controls.bridge-lambda_bridge-sqs-lambda_code-bucket-ownership-controls_1F0D6BBB: Refreshing state... [id=pocket-prospectapi-dev-sqs-bridge]
data.aws_iam_policy_document.bridge-lambda_iam_sqs_policy_03F0BF30: Reading...
data.aws_iam_policy_document.bridge-lambda_iam_sqs_policy_03F0BF30: Read complete after 0s [id=3957006061]
aws_route53_record.application_alb_certificate_certificate_record_51B45CF2: Refreshing state... [id=Z07747349K0HE9ZG8VFL__a1e0772270e0a8963c7058ba99a77c66.prospect-api.getpocket.dev._CNAME]
data.aws_iam_policy_document.bridge-lambda_bridge-sqs-lambda_lambda_sqs_policy_3BC2AB53: Reading...
data.aws_iam_policy_document.bridge-lambda_bridge-sqs-lambda_lambda_sqs_policy_3BC2AB53: Read complete after 0s [id=805730466]
aws_iam_policy.bridge-lambda_bridge-sqs-lambda_execution-policy_C0CB0661: Refreshing state... [id=arn:aws:iam::410318598490:policy/ProspectAPI-Dev-Sqs-Bridge-ExecutionRolePolicy]
aws_iam_role_policy_attachment.application_ecs_service_ecs_codedeploy_ecs_codedeploy_role_attachment_1A1D5725: Refreshing state... [id=ProspectAPI-Dev-ECSCodeDeployRole-20240106052911264600000007]
aws_iam_policy.application_ecs_service_ecs-iam_ecs-task-execution-role-policy_2D469A77: Refreshing state... [id=arn:aws:iam::410318598490:policy/ProspectAPI-Dev-TaskExecutionRolePolicy]
aws_codedeploy_deployment_group.bridge-lambda_bridge-sqs-lambda_lambda-code-deploy_code-deployment-group_BBEED2C6: Refreshing state... [id=8dc25499-e92c-4321-88a8-c5993845c46f]
aws_iam_role_policy_attachment.bridge-lambda_bridge-sqs-lambda_lambda-code-deploy_code-deploy-policy-attachment_9040A119: Refreshing state... [id=ProspectAPI-Dev-Sqs-Bridge-CodeDeployRole-20240124234655772700000001]
aws_iam_role_policy_attachment.application_ecs_service_ecs-iam_ecs-task-execution-default-attachment_99A621FF: Refreshing state... [id=ProspectAPI-Dev-TaskExecutionRole-20240106054532934900000001]
aws_ecs_task_definition.application_ecs_service_ecs-task_461CC9D4: Refreshing state... [id=ProspectAPI-Dev]
data.pagerduty_vendor.pagerduty_sentry_FFB12B7C: Read complete after 0s [id=PKAPG94]
aws_iam_policy.bridge-lambda_iam-sqs-policy_08CAA544: Refreshing state... [id=arn:aws:iam::410318598490:policy/IAM-ProspectAPI-Dev-QueuePolicy]
aws_s3_bucket_acl.bridge-lambda_bridge-sqs-lambda_code-bucket-acl_8894DA8F: Refreshing state... [id=pocket-prospectapi-dev-sqs-bridge,private]
aws_iam_policy.bridge-lambda_bridge-sqs-lambda_sqs-policy_3397A47E: Refreshing state... [id=arn:aws:iam::410318598490:policy/ProspectAPI-Dev-Sqs-Bridge-LambdaSQSPolicy]
aws_acm_certificate_validation.application_alb_certificate_certificate_validation_25DAB195: Refreshing state... [id=2024-01-06 05:29:56.201 +0000 UTC]
data.aws_vpc.application_pocket_vpc_22D55D83: Read complete after 0s [id=vpc-012481e83ffa5e152]
data.aws_vpc.pocket-vpc_2587E211: Read complete after 0s [id=vpc-012481e83ffa5e152]
pagerduty_service_integration.pagerduty_pagerduty_cloudwatch_7956692A-critical_546FC7B5: Refreshing state... [id=PO7EPNU]
aws_iam_policy.application_ecs_service_ecs-iam_ecs-task-role-policy_6FC89FB6: Refreshing state... [id=arn:aws:iam::410318598490:policy/ProspectAPI-Dev-TaskRolePolicy]
pagerduty_service_integration.pagerduty_pagerduty_cloudwatch_7956692A-non-critical_EFA67B2C: Refreshing state... [id=PVTQQC7]
pagerduty_service_integration.pagerduty_pagerduty_sentry_FFB12B7C-non-critical_B7B95197: Refreshing state... [id=PRH2PMH]
pagerduty_service_integration.pagerduty_pagerduty_sentry_FFB12B7C-critical_45BF6D23: Refreshing state... [id=P7YTOY4]
aws_iam_role_policy_attachment.bridge-lambda_bridge-sqs-lambda_execution-role-policy-attachment_74C92A99: Refreshing state... [id=ProspectAPI-Dev-Sqs-Bridge-ExecutionRole-20240124234655796600000002]
aws_alb_target_group.application_ecs_service_green_target_group_ecs_target_group_4E06DCA6: Refreshing state... [id=arn:aws:elasticloadbalancing:us-east-1:410318598490:targetgroup/PROAPI20240106052909482200000001/f83f684699ca6a2f]
data.aws_subnets.application_pocket_vpc_public_subnet_ids_4577655C: Reading...
data.aws_vpc.bridge-lambda_pocket-shared-vpc_7BBDC169: Read complete after 0s [id=vpc-012481e83ffa5e152]
data.aws_security_groups.application_pocket_vpc_internal_security_groups_8D057D72: Reading...
aws_security_group.application_application_load_balancer_alb_security_group_7B45D070: Refreshing state... [id=sg-06e3341d7c9c86ad0]
data.aws_security_groups.pocket-vpc_internal_security_groups_147262D8: Reading...
data.aws_subnets.pocket-vpc_public_subnet_ids_0B13AF23: Reading...
aws_alb_target_group.application_ecs_service_blue_target_group_ecs_target_group_4A9BF49B: Refreshing state... [id=arn:aws:elasticloadbalancing:us-east-1:410318598490:targetgroup/PROAPI20240106052909644400000005/73dfe4c3e0c3e420]
data.aws_security_groups.application_pocket_vpc_default_security_groups_4D3B6986: Reading...
data.aws_subnets.application_pocket_vpc_public_subnet_ids_4577655C: Read complete after 1s [id=us-east-1]
data.aws_subnets.application_pocket_vpc_private_subnet_ids_AED9F181: Reading...
data.aws_security_groups.pocket-vpc_default_security_groups_1F0F3778: Reading...
data.aws_subnets.pocket-vpc_public_subnet_ids_0B13AF23: Read complete after 0s [id=us-east-1]
data.aws_subnets.pocket-vpc_private_subnet_ids_73CCA71D: Reading...
aws_iam_role_policy_attachment.application_ecs_service_ecs-iam_ecs-task-execution-custom-attachment_046B7E2E: Refreshing state... [id=ProspectAPI-Dev-TaskExecutionRole-20240106054532944500000002]
local_file.application_ecs_service_appspec_94386B9C: Refreshing state... [id=73bc0e4bf099cba574a7308f74254a2bc05beae2]
data.aws_subnets.application_pocket_vpc_private_subnet_ids_AED9F181: Read complete after 0s [id=us-east-1]
aws_iam_user_policy_attachment.bridge-lambda_iam-sqs-user-policy-attachment_2DD4C358: Refreshing state... [id=ProspectAPI-Dev-Queue-User-20240209181401408000000001]
aws_iam_role_policy_attachment.bridge-lambda_bridge-sqs-lambda_execution-role-policy-attachment_273DD1B7: Refreshing state... [id=ProspectAPI-Dev-Sqs-Bridge-ExecutionRole-20240124234746737600000003]
data.aws_security_groups.pocket-vpc_default_security_groups_1F0F3778: Read complete after 0s [id=us-east-1]
data.aws_security_groups.pocket-vpc_internal_security_groups_147262D8: Read complete after 1s [id=us-east-1]
data.aws_security_groups.application_pocket_vpc_internal_security_groups_8D057D72: Read complete after 1s [id=us-east-1]
data.aws_security_groups.bridge-lambda_pocket-shared-vpc_default_security_groups_9AEEF75D: Reading...
data.aws_subnets.pocket-vpc_private_subnet_ids_73CCA71D: Read complete after 0s [id=us-east-1]
data.aws_subnets.bridge-lambda_pocket-shared-vpc_public_subnet_ids_4406CC2C: Reading...
data.aws_security_groups.bridge-lambda_pocket-shared-vpc_internal_security_groups_F24916D7: Reading...
data.aws_subnets.bridge-lambda_pocket-shared-vpc_private_subnet_ids_4EA7A114: Reading...
aws_sns_topic_subscription.pagerduty_alarm-non-critical-subscription_4702677B: Refreshing state... [id=arn:aws:sns:us-east-1:410318598490:ProspectAPI-Dev-Infrastructure-Alarm-Non-Critical:224e98c6-5606-427c-add7-44c0f0c09a4e]
aws_iam_role_policy_attachment.application_ecs_service_ecs-iam_ecs-task-custom-attachment_F8DDD355: Refreshing state... [id=ProspectAPI-Dev-TaskRole-20240106054555810400000005]
aws_sns_topic_subscription.pagerduty_alarm-critical-subscription_E2168B84: Refreshing state... [id=arn:aws:sns:us-east-1:410318598490:ProspectAPI-Dev-Infrastructure-Alarm-Critical:7785ae8f-3060-4a2a-81e1-577aa0a66f4f]
data.aws_security_groups.application_pocket_vpc_default_security_groups_4D3B6986: Read complete after 0s [id=us-east-1]
aws_security_group.application_ecs_service_ecs_security_group_231C6B1E: Refreshing state... [id=sg-04bc98ecee646d4b1]
data.aws_subnets.bridge-lambda_pocket-shared-vpc_public_subnet_ids_4406CC2C: Read complete after 0s [id=us-east-1]
data.aws_security_groups.bridge-lambda_pocket-shared-vpc_internal_security_groups_F24916D7: Read complete after 0s [id=us-east-1]
aws_alb.application_application_load_balancer_alb_05EA9801: Refreshing state... [id=arn:aws:elasticloadbalancing:us-east-1:410318598490:loadbalancer/app/PROAPI20240106052913213600000008/0d2c4fbfb1ac67a0]
data.aws_security_groups.bridge-lambda_pocket-shared-vpc_default_security_groups_9AEEF75D: Read complete after 0s [id=us-east-1]
data.aws_subnets.bridge-lambda_pocket-shared-vpc_private_subnet_ids_4EA7A114: Read complete after 0s [id=us-east-1]
aws_lambda_function.bridge-lambda_bridge-sqs-lambda_343B543A: Refreshing state... [id=ProspectAPI-Dev-Sqs-Bridge-Function]
aws_alb_listener.application_listener_https_D31CB055: Refreshing state... [id=arn:aws:elasticloadbalancing:us-east-1:410318598490:listener/app/PROAPI20240106052913213600000008/0d2c4fbfb1ac67a0/1b1a3d7eaec7bddf]
aws_cloudwatch_metric_alarm.application_alarm-httptarget5xxerrorrate_F94D87C0: Refreshing state... [id=ProspectAPI-Dev-Alarm-HTTPTarget5xxErrorRate]
aws_alb_listener.application_listener_http_D74EC0ED: Refreshing state... [id=arn:aws:elasticloadbalancing:us-east-1:410318598490:listener/app/PROAPI20240106052913213600000008/0d2c4fbfb1ac67a0/8034a0109f8a2a3e]
aws_route53_record.application_alb_record_8EA9D3F9: Refreshing state... [id=Z07747349K0HE9ZG8VFL_prospect-api.getpocket.dev_A_1]
aws_cloudwatch_log_group.bridge-lambda_bridge-sqs-lambda_log-group_617CC958: Refreshing state... [id=/aws/lambda/ProspectAPI-Dev-Sqs-Bridge-Function]
aws_lambda_alias.bridge-lambda_bridge-sqs-lambda_alias_EC42B87F: Refreshing state... [id=arn:aws:lambda:us-east-1:410318598490:function:ProspectAPI-Dev-Sqs-Bridge-Function:DEPLOYED]
aws_lambda_event_source_mapping.bridge-lambda_bridge-sqs-lambda_lambda_event_source_mapping_1EF01E53: Refreshing state... [id=cdd392e8-e7a3-4aa8-9792-25d85f4da0e1]
aws_alb_listener_rule.application_ecs_service_listener_rule_903F815F: Refreshing state... [id=arn:aws:elasticloadbalancing:us-east-1:410318598490:listener-rule/app/PROAPI20240106052913213600000008/0d2c4fbfb1ac67a0/1b1a3d7eaec7bddf/dd49b8d8bf6e8dfe]
aws_ecs_service.application_ecs_service_ecs-service_A8BAB5F4: Refreshing state... [id=arn:aws:ecs:us-east-1:410318598490:service/ProspectAPI-Dev/ProspectAPI-Dev]
aws_codedeploy_deployment_group.application_ecs_service_ecs_codedeploy_ecs_codedeploy_deployment_group_48384247: Refreshing state... [id=30e83bf4-f2af-4aba-b187-4f7142a35559]
aws_appautoscaling_target.application_autoscaling_autoscaling_target_42BF5C99: Refreshing state... [id=service/ProspectAPI-Dev/ProspectAPI-Dev]
aws_cloudwatch_dashboard.application_cloudwatch-dashboard_1F3DC0ED: Refreshing state... [id=ProspectAPI-Dev]
aws_appautoscaling_policy.application_autoscaling_scale_out_policy_D03900A2: Refreshing state... [id=ProspectAPI-Dev-ScaleOutPolicy]
aws_appautoscaling_policy.application_autoscaling_scale_in_policy_BF273511: Refreshing state... [id=ProspectAPI-Dev-ScaleInPolicy]
null_resource.application_ecs_service_update-task-definition_D19A511D: Refreshing state... [id=9078694499743143839]
aws_cloudwatch_metric_alarm.application_autoscaling_scale_out_alarm_E40FCBA0: Refreshing state... [id=ProspectAPI-Dev Service High CPU]
aws_cloudwatch_metric_alarm.application_autoscaling_scale_in_alarm_850BE3A1: Refreshing state... [id=ProspectAPI-Dev Service Low CPU]
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
~ update in-place
<= read (data resources)
Terraform will perform the following actions:
# data.aws_iam_policy_document.application_ecs_service_ecs-iam_data-ecs-task-role-policy_090CC3AD will be read during apply
# (depends on a resource or a module with changes pending)
<= data "aws_iam_policy_document" "application_ecs_service_ecs-iam_data-ecs-task-role-policy_090CC3AD" {
+ id = (known after apply)
+ json = (known after apply)
+ version = "2012-10-17"
+ statement {
+ actions = [
+ "dynamodb:BatchGet*",
+ "dynamodb:DescribeTable",
+ "dynamodb:Get*",
+ "dynamodb:Query",
+ "dynamodb:Scan",
+ "dynamodb:UpdateItem",
]
+ effect = "Allow"
+ resources = [
+ "arn:aws:dynamodb:us-east-1:410318598490:table/PROAPI-Dev-Prospects",
+ "arn:aws:dynamodb:us-east-1:410318598490:table/PROAPI-Dev-Prospects/*",
]
}
+ statement {
+ actions = [
+ "s3:*",
]
+ effect = "Allow"
+ resources = [
+ "arn:aws:s3:::pocket-prospectapi-dev-images",
+ "arn:aws:s3:::pocket-prospectapi-dev-images/*",
]
}
+ statement {
+ actions = [
+ "events:PutEvents",
]
+ effect = "Allow"
+ resources = [
+ "arn:aws:events:us-east-1:410318598490:event-bus/PocketEventBridge-Dev-Shared-Event-Bus",
]
}
+ statement {
+ actions = [
+ "logs:CreateLogGroup",
+ "logs:CreateLogStream",
+ "logs:DescribeLogGroups",
+ "logs:DescribeLogStreams",
+ "logs:PutLogEvents",
+ "xray:GetSamplingRules",
+ "xray:GetSamplingStatisticSummaries",
+ "xray:GetSamplingTargets",
+ "xray:PutTelemetryRecords",
+ "xray:PutTraceSegments",
]
+ effect = "Allow"
+ resources = [
+ "*",
]
}
}
# aws_dynamodb_table.dynamodb_prospects_dynamodb_table_9854E41E will be updated in-place
~ resource "aws_dynamodb_table" "dynamodb_prospects_dynamodb_table_9854E41E" {
id = "PROAPI-Dev-Prospects"
name = "PROAPI-Dev-Prospects"
tags = {
"app_code" = "content"
"component_code" = "content-prospectapi"
"env_code" = "dev"
"environment" = "Dev"
"service" = "ProspectAPI"
}
# (9 unchanged attributes hidden)
- global_secondary_index {
- hash_key = "scheduledSurfaceGuid" -> null
- name = "scheduledSurfaceGuid-prospectType" -> null
- non_key_attributes = [] -> null
- projection_type = "ALL" -> null
- range_key = "prospectType" -> null
- read_capacity = 0 -> null
- write_capacity = 0 -> null
}
+ global_secondary_index {
+ hash_key = "scheduledSurfaceGuid"
+ name = "scheduledSurfaceGuid-prospectType"
+ non_key_attributes = []
+ projection_type = "ALL"
+ range_key = "prospectType"
+ read_capacity = 5
+ write_capacity = 5
}
# (5 unchanged blocks hidden)
}
# aws_iam_policy.application_ecs_service_ecs-iam_ecs-task-role-policy_6FC89FB6 will be updated in-place
~ resource "aws_iam_policy" "application_ecs_service_ecs-iam_ecs-task-role-policy_6FC89FB6" {
id = "arn:aws:iam::410318598490:policy/ProspectAPI-Dev-TaskRolePolicy"
name = "ProspectAPI-Dev-TaskRolePolicy"
~ policy = jsonencode(
{
- Statement = [
- {
- Action = [
- "dynamodb:UpdateItem",
- "dynamodb:Scan",
- "dynamodb:Query",
- "dynamodb:Get*",
- "dynamodb:DescribeTable",
- "dynamodb:BatchGet*",
]
- Effect = "Allow"
- Resource = [
- "arn:aws:dynamodb:us-east-1:410318598490:table/PROAPI-Dev-Prospects/*",
- "arn:aws:dynamodb:us-east-1:410318598490:table/PROAPI-Dev-Prospects",
]
},
- {
- Action = "s3:*"
- Effect = "Allow"
- Resource = [
- "arn:aws:s3:::pocket-prospectapi-dev-images/*",
- "arn:aws:s3:::pocket-prospectapi-dev-images",
]
},
- {
- Action = "events:PutEvents"
- Effect = "Allow"
- Resource = "arn:aws:events:us-east-1:410318598490:event-bus/PocketEventBridge-Dev-Shared-Event-Bus"
},
- {
- Action = [
- "xray:PutTraceSegments",
- "xray:PutTelemetryRecords",
- "xray:GetSamplingTargets",
- "xray:GetSamplingStatisticSummaries",
- "xray:GetSamplingRules",
- "logs:PutLogEvents",
- "logs:DescribeLogStreams",
- "logs:DescribeLogGroups",
- "logs:CreateLogStream",
- "logs:CreateLogGroup",
]
- Effect = "Allow"
- Resource = "*"
},
]
- Version = "2012-10-17"
}
) -> (known after apply)
tags = {
"app_code" = "content"
"component_code" = "content-prospectapi"
"env_code" = "dev"
"environment" = "Dev"
"service" = "ProspectAPI"
}
# (4 unchanged attributes hidden)
}
# aws_lambda_function.bridge-lambda_bridge-sqs-lambda_343B543A will be updated in-place
~ resource "aws_lambda_function" "bridge-lambda_bridge-sqs-lambda_343B543A" {
id = "ProspectAPI-Dev-Sqs-Bridge-Function"
~ qualified_arn = "arn:aws:lambda:us-east-1:410318598490:function:ProspectAPI-Dev-Sqs-Bridge-Function:249" -> (known after apply)
~ qualified_invoke_arn = "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:410318598490:function:ProspectAPI-Dev-Sqs-Bridge-Function:249/invocations" -> (known after apply)
tags = {
"app_code" = "content"
"component_code" = "content-prospectapi"
"env_code" = "dev"
"environment" = "Dev"
"service" = "ProspectAPI"
}
~ version = "249" -> (known after apply)
# (19 unchanged attributes hidden)
~ environment {
~ variables = {
~ "GIT_SHA" = (sensitive value)
# (5 unchanged elements hidden)
}
}
# (4 unchanged blocks hidden)
}
# local_file.application_ecs_service_appspec_94386B9C will be created
+ resource "local_file" "application_ecs_service_appspec_94386B9C" {
+ content = jsonencode(
{
+ Resources = [
+ {
+ TargetService = {
+ Properties = {
+ LoadBalancerInfo = {
+ ContainerName = "app"
+ ContainerPort = 4026
}
+ TaskDefinition = "arn:aws:ecs:us-east-1:410318598490:task-definition/ProspectAPI-Dev:168"
}
+ Type = "AWS::ECS::Service"
}
},
]
+ version = 1
}
)
+ content_base64sha256 = (known after apply)
+ content_base64sha512 = (known after apply)
+ content_md5 = (known after apply)
+ content_sha1 = (known after apply)
+ content_sha256 = (known after apply)
+ content_sha512 = (known after apply)
+ directory_permission = "0777"
+ file_permission = "0777"
+ filename = "appspec.json"
+ id = (known after apply)
}
# pagerduty_service.pagerduty_pagerduty-critical_464EE7CD will be updated in-place
~ resource "pagerduty_service" "pagerduty_pagerduty-critical_464EE7CD" {
~ alert_creation = "create_alerts_and_incidents" -> "create_incidents"
id = "P8OH57E"
name = "ProspectAPI-Dev-PagerDuty-Critical"
# (9 unchanged attributes hidden)
# (2 unchanged blocks hidden)
}
# pagerduty_service.pagerduty_pagerduty-non-critical_B4CB3938 will be updated in-place
~ resource "pagerduty_service" "pagerduty_pagerduty-non-critical_B4CB3938" {
~ alert_creation = "create_alerts_and_incidents" -> "create_incidents"
id = "POL55K4"
name = "ProspectAPI-Dev-PagerDuty-Non-Critical"
# (9 unchanged attributes hidden)
# (2 unchanged blocks hidden)
}
Plan: 1 to add, 5 to change, 0 to destroy.
aws_dynamodb_table.dynamodb_prospects_dynamodb_table_9854E41E: Modifying... [id=PROAPI-Dev-Prospects]
aws_lambda_function.bridge-lambda_bridge-sqs-lambda_343B543A: Modifying... [id=ProspectAPI-Dev-Sqs-Bridge-Function]
aws_dynamodb_table.dynamodb_prospects_dynamodb_table_9854E41E: Modifications complete after 0s [id=PROAPI-Dev-Prospects]
data.aws_iam_policy_document.application_ecs_service_ecs-iam_data-ecs-task-role-policy_090CC3AD: Reading...
data.aws_iam_policy_document.application_ecs_service_ecs-iam_data-ecs-task-role-policy_090CC3AD: Read complete after 0s [id=2616472683]
local_file.application_ecs_service_appspec_94386B9C: Creating...
local_file.application_ecs_service_appspec_94386B9C: Creation complete after 0s [id=73bc0e4bf099cba574a7308f74254a2bc05beae2]
pagerduty_service.pagerduty_pagerduty-critical_464EE7CD: Modifying... [id=P8OH57E]
pagerduty_service.pagerduty_pagerduty-non-critical_B4CB3938: Modifying... [id=POL55K4]
pagerduty_service.pagerduty_pagerduty-non-critical_B4CB3938: Modifications complete after 0s [id=POL55K4]
pagerduty_service.pagerduty_pagerduty-critical_464EE7CD: Modifications complete after 0s [id=P8OH57E]
aws_lambda_function.bridge-lambda_bridge-sqs-lambda_343B543A: Modifications complete after 8s [id=ProspectAPI-Dev-Sqs-Bridge-Function]
Apply complete! Resources: 1 added, 4 changed, 0 destroyed.
|
✅ Apply Succeeded (corpus-scheduler-lambda-cdk-dev)
Details (Click me)data.archive_file.corpus-scheduler-sqs-lambda_lambda-default-file_375743AB: Reading...
data.archive_file.corpus-scheduler-sqs-lambda_lambda-default-file_375743AB: Read complete after 0s [id=2b764d3b21b3c9f088f043bc205556d3519be551]
aws_s3_bucket.corpus-scheduler-sqs-lambda_code-bucket_71B015CC: Refreshing state... [id=pocket-corpusschedulerlambda-dev-sqs]
data.aws_region.pocket-vpc_current_region_1602AAD6: Reading...
data.aws_iam_policy_document.corpus-scheduler-sqs-lambda_assume-policy-document_00BF5312: Reading...
data.aws_ssm_parameter.corpus-scheduler-sqs-lambda_enable-scheduled-date-validation_9EC987EA: Reading...
data.aws_ssm_parameter.corpus-scheduler-sqs-lambda_service-hash_FF42B50B: Reading...
data.aws_ssm_parameter.pocket-vpc_public_subnets_7F9CDB28: Reading...
aws_codedeploy_app.corpus-scheduler-sqs-lambda_lambda-code-deploy_code-deploy-app_B02FBF37: Refreshing state... [id=f9f7e66f-afd4-4d7c-8edd-b77037db3263:CorpusSchedulerLambda-Dev-SQS-Lambda]
data.aws_ssm_parameter.corpus-scheduler-sqs-lambda_allowed-to-schedule_63A523D4: Reading...
aws_sqs_queue.corpus-scheduler-sqs-lambda_lambda_sqs_queue_redrive_sqs_queue_9399287C: Refreshing state... [id=https://sqs.us-east-1.amazonaws.com/410318598490/CorpusSchedulerLambda-Dev-SQS-Queue-Deadletter]
data.aws_ssm_parameter.corpus-scheduler-sqs-lambda_sentry-dsn_CC90D271: Reading...
data.aws_region.pocket-vpc_current_region_1602AAD6: Read complete after 0s [id=us-east-1]
data.aws_iam_policy_document.corpus-scheduler-sqs-lambda_assume-policy-document_00BF5312: Read complete after 0s [id=1349007126]
data.aws_caller_identity.pocket-vpc_current_identity_8303C1C9: Reading...
data.aws_ssm_parameter.pocket-vpc_private_subnets_75BAFB11: Reading...
data.aws_caller_identity.pocket-vpc_current_identity_8303C1C9: Read complete after 0s [id=410318598490]
data.aws_ssm_parameter.pocket-vpc_vpc_ssm_param_17802658: Reading...
data.aws_ssm_parameter.corpus-scheduler-sqs-lambda_enable-scheduled-date-validation_9EC987EA: Read complete after 0s [id=/CorpusSchedulerLambda/Dev/ENABLE_SCHEDULED_DATE_VALIDATION]
data.aws_ssm_parameter.corpus-scheduler-sqs-lambda_allowed-to-schedule_63A523D4: Read complete after 0s [id=/CorpusSchedulerLambda/Dev/ALLOWED_TO_SCHEDULE]
data.aws_ssm_parameter.corpus-scheduler-sqs-lambda_service-hash_FF42B50B: Read complete after 0s [id=/CorpusSchedulerLambda/CircleCI/Dev/SERVICE_HASH]
data.aws_ssm_parameter.corpus-scheduler-sqs-lambda_sentry-dsn_CC90D271: Read complete after 0s [id=/CorpusSchedulerLambda/Dev/SENTRY_DSN]
data.aws_ssm_parameter.pocket-vpc_private_subnets_75BAFB11: Read complete after 0s [id=/Shared/PrivateSubnets]
data.aws_ssm_parameter.pocket-vpc_public_subnets_7F9CDB28: Read complete after 0s [id=/Shared/PublicSubnets]
data.aws_iam_policy_document.corpus-scheduler-sqs-lambda_lambda-code-deploy_code-deploy-assume-role-policy-document_B26D37EC: Reading...
data.aws_kms_alias.pocket-vpc_secrets_manager_key_BF1637BF: Reading...
data.aws_iam_policy_document.corpus-scheduler-sqs-lambda_execution-policy-document_98FDB3D7: Reading...
aws_iam_role.corpus-scheduler-sqs-lambda_execution-role_EAF2C9FE: Refreshing state... [id=CorpusSchedulerLambda-Dev-SQS-ExecutionRole]
data.aws_iam_policy_document.corpus-scheduler-sqs-lambda_execution-policy-document_98FDB3D7: Read complete after 0s [id=1462001592]
data.aws_iam_policy_document.corpus-scheduler-sqs-lambda_lambda-code-deploy_code-deploy-assume-role-policy-document_B26D37EC: Read complete after 0s [id=4250039221]
data.aws_ssm_parameter.pocket-vpc_vpc_ssm_param_17802658: Read complete after 0s [id=/Shared/Vpc]
aws_sqs_queue.corpus-scheduler-sqs-lambda_lambda_sqs_queue_162ECA18: Refreshing state... [id=https://sqs.us-east-1.amazonaws.com/410318598490/CorpusSchedulerLambda-Dev-SQS-Queue]
aws_iam_policy.corpus-scheduler-sqs-lambda_execution-policy_CF929AE3: Refreshing state... [id=arn:aws:iam::410318598490:policy/CorpusSchedulerLambda-Dev-SQS-ExecutionRolePolicy]
aws_iam_role.corpus-scheduler-sqs-lambda_lambda-code-deploy_code-deploy-role_2D0E51C4: Refreshing state... [id=CorpusSchedulerLambda-Dev-SQS-CodeDeployRole]
data.aws_vpc.pocket-vpc_2587E211: Reading...
data.aws_kms_alias.pocket-vpc_secrets_manager_key_BF1637BF: Read complete after 0s [id=arn:aws:kms:us-east-1:410318598490:alias/aws/secretsmanager]
data.aws_iam_policy_document.corpus-scheduler-sqs-lambda_lambda_sqs_policy_4779D776: Reading...
data.aws_iam_policy_document.corpus-scheduler-sqs-lambda_lambda_sqs_policy_4779D776: Read complete after 0s [id=1697900982]
data.aws_iam_policy_document.corpus-scheduler-ml-user-policy_iam_sqs_policy_2CE4E3DF: Reading...
data.aws_iam_policy_document.corpus-scheduler-ml-user-policy_iam_sqs_policy_2CE4E3DF: Read complete after 0s [id=3551034865]
aws_iam_policy.corpus-scheduler-ml-user-policy_iam-sqs-policy_867A1D82: Refreshing state... [id=arn:aws:iam::410318598490:policy/IAM-CorpusSchedulerLambda-Dev-QueuePolicy]
aws_iam_policy.corpus-scheduler-sqs-lambda_sqs-policy_00D0B4DA: Refreshing state... [id=arn:aws:iam::410318598490:policy/CorpusSchedulerLambda-Dev-SQS-LambdaSQSPolicy]
aws_s3_bucket_public_access_block.corpus-scheduler-sqs-lambda_code-bucket-public-access-block_0345DD5C: Refreshing state... [id=pocket-corpusschedulerlambda-dev-sqs]
aws_s3_bucket_ownership_controls.corpus-scheduler-sqs-lambda_code-bucket-ownership-controls_F322EEAB: Refreshing state... [id=pocket-corpusschedulerlambda-dev-sqs]
aws_iam_role_policy_attachment.corpus-scheduler-sqs-lambda_execution-role-policy-attachment_DCF8A6BE: Refreshing state... [id=CorpusSchedulerLambda-Dev-SQS-ExecutionRole-20240220232452100000000002]
aws_iam_role_policy_attachment.corpus-scheduler-sqs-lambda_lambda-code-deploy_code-deploy-policy-attachment_13D4D586: Refreshing state... [id=CorpusSchedulerLambda-Dev-SQS-CodeDeployRole-20240220232452076500000001]
aws_codedeploy_deployment_group.corpus-scheduler-sqs-lambda_lambda-code-deploy_code-deployment-group_E7DBB35A: Refreshing state... [id=21994191-ae12-480b-9ef2-fb2a996db344]
aws_iam_user_policy_attachment.corpus-scheduler-ml-user-policy_iam-sqs-user-policy-attachment_22113AFF: Refreshing state... [id=ProspectAPI-Dev-Queue-User-20240223144911654200000001]
aws_s3_bucket_acl.corpus-scheduler-sqs-lambda_code-bucket-acl_F4BEB234: Refreshing state... [id=pocket-corpusschedulerlambda-dev-sqs,private]
aws_iam_role_policy_attachment.corpus-scheduler-sqs-lambda_execution-role-policy-attachment_B0FC2816: Refreshing state... [id=CorpusSchedulerLambda-Dev-SQS-ExecutionRole-20240220232542515500000003]
data.aws_vpc.pocket-vpc_2587E211: Read complete after 1s [id=vpc-012481e83ffa5e152]
data.aws_subnets.pocket-vpc_private_subnet_ids_73CCA71D: Reading...
data.aws_subnets.pocket-vpc_public_subnet_ids_0B13AF23: Reading...
data.aws_security_groups.pocket-vpc_internal_security_groups_147262D8: Reading...
data.aws_security_groups.pocket-vpc_default_security_groups_1F0F3778: Reading...
data.aws_subnets.pocket-vpc_private_subnet_ids_73CCA71D: Read complete after 0s [id=us-east-1]
data.aws_subnets.pocket-vpc_public_subnet_ids_0B13AF23: Read complete after 0s [id=us-east-1]
data.aws_security_groups.pocket-vpc_internal_security_groups_147262D8: Read complete after 0s [id=us-east-1]
data.aws_security_groups.pocket-vpc_default_security_groups_1F0F3778: Read complete after 0s [id=us-east-1]
aws_lambda_function.corpus-scheduler-sqs-lambda_F2ECDF9F: Refreshing state... [id=CorpusSchedulerLambda-Dev-SQS-Function]
aws_cloudwatch_log_group.corpus-scheduler-sqs-lambda_log-group_7AB14A32: Refreshing state... [id=/aws/lambda/CorpusSchedulerLambda-Dev-SQS-Function]
aws_lambda_alias.corpus-scheduler-sqs-lambda_alias_6B1DD07D: Refreshing state... [id=arn:aws:lambda:us-east-1:410318598490:function:CorpusSchedulerLambda-Dev-SQS-Function:DEPLOYED]
aws_lambda_event_source_mapping.corpus-scheduler-sqs-lambda_lambda_event_source_mapping_F8FF050E: Refreshing state... [id=c53637e5-9c12-41ef-aff6-333f924c76b4]
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
~ update in-place
Terraform will perform the following actions:
# aws_lambda_function.corpus-scheduler-sqs-lambda_F2ECDF9F will be updated in-place
~ resource "aws_lambda_function" "corpus-scheduler-sqs-lambda_F2ECDF9F" {
id = "CorpusSchedulerLambda-Dev-SQS-Function"
~ qualified_arn = "arn:aws:lambda:us-east-1:410318598490:function:CorpusSchedulerLambda-Dev-SQS-Function:204" -> (known after apply)
~ qualified_invoke_arn = "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:410318598490:function:CorpusSchedulerLambda-Dev-SQS-Function:204/invocations" -> (known after apply)
tags = {
"app_code" = "content"
"component_code" = "content-corpusschedulerlambda"
"env_code" = "dev"
"environment" = "Dev"
"service" = "CorpusSchedulerLambda"
}
~ version = "204" -> (known after apply)
# (19 unchanged attributes hidden)
~ environment {
~ variables = {
~ "GIT_SHA" = (sensitive value)
# (7 unchanged elements hidden)
}
}
# (4 unchanged blocks hidden)
}
Plan: 0 to add, 1 to change, 0 to destroy.
aws_lambda_function.corpus-scheduler-sqs-lambda_F2ECDF9F: Modifying... [id=CorpusSchedulerLambda-Dev-SQS-Function]
aws_lambda_function.corpus-scheduler-sqs-lambda_F2ECDF9F: Modifications complete after 8s [id=CorpusSchedulerLambda-Dev-SQS-Function]
Apply complete! Resources: 0 added, 1 changed, 0 destroyed.
|
✅ Apply Succeeded (curated-corpus-api-cdk-dev)
Details (Click me)data.terraform_remote_state.incident_management: Reading...
aws_cloudwatch_log_group.aws-otel-collector-log-group: Refreshing state... [id=/Backend/CuratedCorpusAPI-Dev/ecs/aws-otel-collector]
data.aws_region.pocket-vpc_current_region_1602AAD6: Reading...
data.aws_ssm_parameter.pocket-vpc_vpc_ssm_param_17802658: Reading...
data.aws_iam_policy_document.application_ecs_service_ecs-iam_ecs-task-assume_05903663: Reading...
data.aws_caller_identity.application_ecs_service_ecs_codedeploy_current_account_110B92B7: Reading...
data.aws_caller_identity.application_pocket_vpc_current_identity_0A422301: Reading...
data.aws_iam_policy_document.application_ecs_service_ecs_codedeploy_codedeploy_assume_role_C76E7224: Reading...
data.aws_region.pocket-vpc_current_region_1602AAD6: Read complete after 0s [id=us-east-1]
data.aws_iam_policy_document.application_ecs_service_ecs-iam_ecs-task-assume_05903663: Read complete after 0s [id=1077804475]
data.aws_iam_policy_document.application_ecs_service_ecs_codedeploy_codedeploy_assume_role_C76E7224: Read complete after 0s [id=4250039221]
aws_ecr_repository.application_ecs_service_ecr-app_ecr-repo_ABFE17F0: Refreshing state... [id=curatedcorpusapi-dev-app]
data.aws_sns_topic.backend_notifications: Reading...
data.aws_caller_identity.application_ecs_service_ecs_codedeploy_current_account_110B92B7: Read complete after 0s [id=410318598490]
data.aws_ssm_parameter.pocket-vpc_public_subnets_7F9CDB28: Reading...
aws_ecs_cluster.application_ecs_cluster_4DC6EFB3: Refreshing state... [id=arn:aws:ecs:us-east-1:410318598490:cluster/CuratedCorpusAPI-Dev]
data.aws_caller_identity.application_pocket_vpc_current_identity_0A422301: Read complete after 0s [id=410318598490]
data.aws_kms_alias.kms_alias: Reading...
data.aws_kms_alias.application_pocket_vpc_secrets_manager_key_2C3C8766: Reading...
data.aws_ssm_parameter.pocket-vpc_vpc_ssm_param_17802658: Read complete after 0s [id=/Shared/Vpc]
data.aws_sns_topic.backend_notifications: Read complete after 0s [id=arn:aws:sns:us-east-1:410318598490:Backend-Dev-ChatBot]
data.aws_caller_identity.pocket-vpc_current_identity_8303C1C9: Reading...
data.aws_ssm_parameter.pocket-vpc_public_subnets_7F9CDB28: Read complete after 0s [id=/Shared/PublicSubnets]
data.aws_kms_alias.application_pocket_vpc_secrets_manager_key_2C3C8766: Read complete after 0s [id=arn:aws:kms:us-east-1:410318598490:alias/aws/secretsmanager]
data.aws_kms_alias.kms_alias: Read complete after 0s [id=arn:aws:kms:us-east-1:410318598490:alias/aws/secretsmanager]
aws_s3_bucket.image-uploads: Refreshing state... [id=pocket-curatedcorpusapi-dev-images]
data.aws_iam_policy_document.synthetics_synthetics_synthetic_check_assume_66385ECA: Reading...
data.aws_iam_policy_document.synthetics_synthetics_synthetic_check_assume_66385ECA: Read complete after 0s [id=2690255455]
aws_sns_topic.pagerduty_alarm-critical-topic_F1534579: Refreshing state... [id=arn:aws:sns:us-east-1:410318598490:CuratedCorpusAPI-Dev-Infrastructure-Alarm-Critical]
data.aws_caller_identity.pocket-vpc_current_identity_8303C1C9: Read complete after 0s [id=410318598490]
aws_codedeploy_app.application_ecs_service_ecs_codedeploy_ecs_code_deploy_C2F7CBCF: Refreshing state... [id=7851a14d-3264-41b8-b886-3db372a66c8d:CuratedCorpusAPI-Dev-ECS]
data.aws_ssm_parameter.pocket-vpc_private_subnets_75BAFB11: Reading...
aws_acm_certificate.application_alb_certificate_93966247: Refreshing state... [id=arn:aws:acm:us-east-1:410318598490:certificate/aaaf769b-2ddb-4be0-9fc4-f8f8e61be6fc]
data.aws_ssm_parameter.application_pocket_vpc_public_subnets_282A59F4: Reading...
aws_s3_bucket.synthetics_synthetics_synthetic_check_artifacts_53DD59E6: Refreshing state... [id=pocket-curatedcorpusapi-dev-synthetic-checks]
data.aws_route53_zone.application_base_dns_main_hosted_zone_0141FA96: Reading...
data.aws_ssm_parameter.application_pocket_vpc_public_subnets_282A59F4: Read complete after 0s [id=/Shared/PublicSubnets]
data.aws_ssm_parameter.pocket-vpc_private_subnets_75BAFB11: Read complete after 0s [id=/Shared/PrivateSubnets]
aws_sns_topic.pagerduty_alarm-non-critical-topic_53C1A3B3: Refreshing state... [id=arn:aws:sns:us-east-1:410318598490:CuratedCorpusAPI-Dev-Infrastructure-Alarm-Non-Critical]
data.aws_region.application_ecs_service_ecs_codedeploy_current_region_A377EAA5: Reading...
data.aws_region.application_ecs_service_ecs_codedeploy_current_region_A377EAA5: Read complete after 0s [id=us-east-1]
data.aws_region.application_pocket_vpc_current_region_7774DA97: Reading...
data.aws_region.application_pocket_vpc_current_region_7774DA97: Read complete after 0s [id=us-east-1]
data.aws_kms_alias.pocket-vpc_secrets_manager_key_BF1637BF: Reading...
data.aws_ssm_parameter.application_pocket_vpc_vpc_ssm_param_DD9C7A4F: Reading...
data.aws_kms_alias.pocket-vpc_secrets_manager_key_BF1637BF: Read complete after 0s [id=arn:aws:kms:us-east-1:410318598490:alias/aws/secretsmanager]
aws_cloudwatch_log_group.app-log-group: Refreshing state... [id=/Backend/CuratedCorpusAPI-Dev/ecs/app]
data.aws_ssm_parameter.application_pocket_vpc_vpc_ssm_param_DD9C7A4F: Read complete after 0s [id=/Shared/Vpc]
aws_route53_zone.application_base_dns_subhosted_zone_77521D1C: Refreshing state... [id=Z00475383NZHMVB1WW0NT]
data.aws_region.region: Reading...
data.aws_region.region: Read complete after 0s [id=us-east-1]
data.aws_caller_identity.caller: Reading...
data.aws_caller_identity.caller: Read complete after 0s [id=410318598490]
data.aws_ssm_parameter.application_pocket_vpc_private_subnets_424C83F8: Reading...
aws_iam_role.application_ecs_service_ecs_codedeploy_ecs_code_deploy_role_175DB7D3: Refreshing state... [id=CuratedCorpusAPI-Dev-ECSCodeDeployRole]
data.aws_ssm_parameter.application_pocket_vpc_private_subnets_424C83F8: Read complete after 0s [id=/Shared/PrivateSubnets]
aws_iam_role.application_ecs_service_ecs-iam_ecs-task-role_A72990ED: Refreshing state... [id=CuratedCorpusAPI-Dev-TaskRole]
aws_iam_role.application_ecs_service_ecs-iam_ecs-execution-role_FB754BAA: Refreshing state... [id=CuratedCorpusAPI-Dev-TaskExecutionRole]
data.aws_vpc.pocket-vpc_2587E211: Reading...
aws_iam_role.synthetics_synthetic_check_role_A3A5C38B: Refreshing state... [id=pocket-curatedcorpusapi-dev-synthetic-check]
aws_ecr_lifecycle_policy.application_ecs_service_ecr-app_ecr-repo-lifecyclepolicy_CCDF75B7: Refreshing state... [id=curatedcorpusapi-dev-app]
data.aws_route53_zone.application_base_dns_main_hosted_zone_0141FA96: Read complete after 1s [id=ZCSIDA846KWLN]
data.aws_vpc.application_pocket_vpc_22D55D83: Reading...
data.aws_iam_policy_document.application_ecs_service_ecs-iam_data-ecs-task-execution-role-policy_015FDEBA: Reading...
data.aws_iam_policy_document.application_ecs_service_ecs-iam_data-ecs-task-execution-role-policy_015FDEBA: Read complete after 0s [id=1192295146]
aws_codestarnotifications_notification_rule.application_ecs_service_ecs_codedeploy_ecs_codedeploy_notifications_CB44EADE: Refreshing state... [id=arn:aws:codestar-notifications:us-east-1:410318598490:notificationrule/363be7ebf8dde2bfaf8a5484ebc162c0b8477362]
aws_s3_bucket_ownership_controls.pocket-curatedcorpusapi-dev-images: Refreshing state... [id=pocket-curatedcorpusapi-dev-images]
data.aws_iam_policy_document.application_ecs_service_ecs-iam_data-ecs-task-role-policy_090CC3AD: Reading...
data.aws_iam_policy_document.application_ecs_service_ecs-iam_data-ecs-task-role-policy_090CC3AD: Read complete after 0s [id=2048612103]
data.pagerduty_vendor.pagerduty_cloudwatch_7956692A: Reading...
data.pagerduty_vendor.pagerduty_sentry_FFB12B7C: Reading...
aws_s3_bucket_public_access_block.pocket-curatedcorpusapi-dev-images: Refreshing state... [id=pocket-curatedcorpusapi-dev-images]
aws_s3_bucket_lifecycle_configuration.synthetics_synthetics_synthetic_check_artifacts_lifecycle_5A7B9150: Refreshing state... [id=pocket-curatedcorpusapi-dev-synthetic-checks]
data.aws_iam_policy_document.synthetics_synthetics_synthetic_check_access_4C83FECF: Reading...
aws_route53_record.application_base_dns_subhosted_zone_ns_DFB88A22: Refreshing state... [id=ZCSIDA846KWLN_curated-corpus-api.getpocket.dev_NS]
data.aws_iam_policy_document.synthetics_synthetics_synthetic_check_access_4C83FECF: Read complete after 0s [id=3607784743]
aws_route53_record.application_alb_certificate_certificate_record_51B45CF2: Refreshing state... [id=Z00475383NZHMVB1WW0NT__cb56274a8f7b5e57ed9f02fb4f9870f5.curated-corpus-api.getpocket.dev._CNAME]
aws_iam_policy.application_ecs_service_ecs-iam_ecs-task-execution-role-policy_2D469A77: Refreshing state... [id=arn:aws:iam::410318598490:policy/CuratedCorpusAPI-Dev-TaskExecutionRolePolicy]
aws_iam_role_policy_attachment.application_ecs_service_ecs_codedeploy_ecs_codedeploy_role_attachment_1A1D5725: Refreshing state... [id=CuratedCorpusAPI-Dev-ECSCodeDeployRole-20230809163530958100000008]
aws_iam_policy.application_ecs_service_ecs-iam_ecs-task-role-policy_6FC89FB6: Refreshing state... [id=arn:aws:iam::410318598490:policy/CuratedCorpusAPI-Dev-TaskRolePolicy]
aws_iam_role_policy_attachment.application_ecs_service_ecs-iam_ecs-task-execution-default-attachment_99A621FF: Refreshing state... [id=CuratedCorpusAPI-Dev-TaskExecutionRole-20230815040242653200000005]
aws_iam_policy.synthetics_synthetics_synthetic_check_access_policy_9A7D8849: Refreshing state... [id=arn:aws:iam::410318598490:policy/pocket-curatedcorpusapi-dev-synthetic-check-access]
aws_iam_role_policy_attachment.application_ecs_service_ecs-iam_ecs-task-execution-custom-attachment_046B7E2E: Refreshing state... [id=CuratedCorpusAPI-Dev-TaskExecutionRole-20230815040242652500000004]
aws_acm_certificate_validation.application_alb_certificate_certificate_validation_25DAB195: Refreshing state... [id=2023-08-09 16:36:14.338 +0000 UTC]
aws_iam_role_policy_attachment.application_ecs_service_ecs-iam_ecs-task-custom-attachment_F8DDD355: Refreshing state... [id=CuratedCorpusAPI-Dev-TaskRole-20230815040242336200000003]
aws_iam_role_policy_attachment.synthetics_synthetics_synthetic_check_access_attach_BC7F9559: Refreshing state... [id=pocket-curatedcorpusapi-dev-synthetic-check-20230815165631476900000001]
data.pagerduty_vendor.pagerduty_cloudwatch_7956692A: Read complete after 0s [id=PZQ6AUS]
data.aws_vpc.application_pocket_vpc_22D55D83: Read complete after 0s [id=vpc-012481e83ffa5e152]
data.terraform_remote_state.incident_management: Read complete after 1s
data.aws_security_groups.application_pocket_vpc_internal_security_groups_8D057D72: Reading...
data.aws_vpc.pocket-vpc_2587E211: Read complete after 1s [id=vpc-012481e83ffa5e152]
data.aws_security_groups.application_pocket_vpc_default_security_groups_4D3B6986: Reading...
data.aws_subnets.application_pocket_vpc_public_subnet_ids_4577655C: Reading...
data.pagerduty_vendor.pagerduty_sentry_FFB12B7C: Read complete after 0s [id=PKAPG94]
aws_alb_target_group.application_ecs_service_blue_target_group_ecs_target_group_4A9BF49B: Refreshing state... [id=arn:aws:elasticloadbalancing:us-east-1:410318598490:targetgroup/CCSAPI20230809163521767800000005/38232a0df3b5bf6e]
aws_security_group.application_application_load_balancer_alb_security_group_7B45D070: Refreshing state... [id=sg-01c8b8e6531c36ca7]
data.aws_subnets.application_pocket_vpc_private_subnet_ids_AED9F181: Reading...
pagerduty_service.pagerduty_pagerduty-critical_464EE7CD: Refreshing state... [id=PXAJGU4]
aws_alb_target_group.application_ecs_service_green_target_group_ecs_target_group_4E06DCA6: Refreshing state... [id=arn:aws:elasticloadbalancing:us-east-1:410318598490:targetgroup/CCSAPI20230809163518158500000001/1056f89db83740bf]
data.aws_subnets.application_pocket_vpc_public_subnet_ids_4577655C: Read complete after 0s [id=us-east-1]
pagerduty_service.pagerduty_pagerduty-non-critical_B4CB3938: Refreshing state... [id=PU1YFEE]
data.aws_subnets.pocket-vpc_private_subnet_ids_73CCA71D: Reading...
data.aws_security_groups.pocket-vpc_internal_security_groups_147262D8: Reading...
data.aws_security_groups.pocket-vpc_default_security_groups_1F0F3778: Reading...
data.aws_security_groups.application_pocket_vpc_default_security_groups_4D3B6986: Read complete after 0s [id=us-east-1]
data.aws_security_groups.application_pocket_vpc_internal_security_groups_8D057D72: Read complete after 0s [id=us-east-1]
data.aws_vpc.rds_vpc_9E5B9996: Reading...
data.aws_subnets.pocket-vpc_public_subnet_ids_0B13AF23: Reading...
data.aws_subnets.pocket-vpc_private_subnet_ids_73CCA71D: Read complete after 0s [id=us-east-1]
aws_security_group.application_ecs_service_ecs_security_group_231C6B1E: Refreshing state... [id=sg-087e2709603495b27]
data.aws_security_groups.pocket-vpc_internal_security_groups_147262D8: Read complete after 0s [id=us-east-1]
pagerduty_service_integration.pagerduty_pagerduty_sentry_FFB12B7C-critical_45BF6D23: Refreshing state... [id=PR7P8Q7]
pagerduty_service_integration.pagerduty_pagerduty_cloudwatch_7956692A-critical_546FC7B5: Refreshing state... [id=P3PS694]
data.aws_security_groups.pocket-vpc_default_security_groups_1F0F3778: Read complete after 0s [id=us-east-1]
aws_db_subnet_group.rds_rds_subnet_group_796D20B7: Refreshing state... [id=curatedcorpusapi-dev20210930155115552900000009]
data.aws_subnets.pocket-vpc_public_subnet_ids_0B13AF23: Read complete after 0s [id=us-east-1]
aws_synthetics_canary.synthetics_synthetics_synthetic_check_query_0_99E4AE1B: Refreshing state... [id=ccsapi-dev-query-0]
aws_synthetics_canary.synthetics_synthetics_synthetic_check_uptime_0_4168D0DB: Refreshing state... [id=ccsapi-dev-uptime-0]
pagerduty_service_integration.pagerduty_pagerduty_sentry_FFB12B7C-non-critical_B7B95197: Refreshing state... [id=P6LD6LU]
data.aws_subnets.application_pocket_vpc_private_subnet_ids_AED9F181: Read complete after 1s [id=us-east-1]
pagerduty_service_integration.pagerduty_pagerduty_cloudwatch_7956692A-non-critical_EFA67B2C: Refreshing state... [id=PNY17AH]
aws_alb.application_application_load_balancer_alb_05EA9801: Refreshing state... [id=arn:aws:elasticloadbalancing:us-east-1:410318598490:loadbalancer/app/CCSAPI20230809163526291600000006/2d4f2a9f8c4a0fe3]
aws_sns_topic_subscription.pagerduty_alarm-critical-subscription_E2168B84: Refreshing state... [id=arn:aws:sns:us-east-1:410318598490:CuratedCorpusAPI-Dev-Infrastructure-Alarm-Critical:62f5ba8b-eb87-496f-a17c-bcdfe204e1e8]
aws_cloudwatch_metric_alarm.synthetics_synthetics_synthetic_check_alarm_query_0_52F9FF21: Refreshing state... [id=ccsapi-dev-query-0]
aws_cloudwatch_metric_alarm.synthetics_synthetics_synthetic_check_alarm_uptime_0_3A56DFC7: Refreshing state... [id=ccsapi-dev-uptime-0]
data.aws_vpc.rds_vpc_9E5B9996: Read complete after 1s [id=vpc-012481e83ffa5e152]
aws_sns_topic_subscription.pagerduty_alarm-non-critical-subscription_4702677B: Refreshing state... [id=arn:aws:sns:us-east-1:410318598490:CuratedCorpusAPI-Dev-Infrastructure-Alarm-Non-Critical:04bb5095-809b-4999-97be-37b417fca8ad]
aws_security_group.rds_rds_security_group_B7738CEB: Refreshing state... [id=sg-01306e441cb0756f8]
aws_route53_record.application_alb_record_8EA9D3F9: Refreshing state... [id=Z00475383NZHMVB1WW0NT_curated-corpus-api.getpocket.dev_A_1]
aws_cloudwatch_metric_alarm.application_alarm-httpresponsetime_9124C30A: Refreshing state... [id=CuratedCorpusAPI-Dev-Alarm-HTTPResponseTime]
aws_alb_listener.application_listener_https_D31CB055: Refreshing state... [id=arn:aws:elasticloadbalancing:us-east-1:410318598490:listener/app/CCSAPI20230809163526291600000006/2d4f2a9f8c4a0fe3/8ed37725ad0175d8]
aws_alb_listener.application_listener_http_D74EC0ED: Refreshing state... [id=arn:aws:elasticloadbalancing:us-east-1:410318598490:listener/app/CCSAPI20230809163526291600000006/2d4f2a9f8c4a0fe3/1bc93d64fe882b1f]
aws_rds_cluster.rds_rds_cluster_1A0399FD: Refreshing state... [id=curatedcorpusapi-dev20211019211102971300000001]
aws_alb_listener_rule.application_ecs_service_listener_rule_903F815F: Refreshing state... [id=arn:aws:elasticloadbalancing:us-east-1:410318598490:listener-rule/app/CCSAPI20230809163526291600000006/2d4f2a9f8c4a0fe3/8ed37725ad0175d8/e828822ff6e9ba9e]
aws_secretsmanager_secret.rds_rds_secret_A0401B27: Refreshing state... [id=arn:aws:secretsmanager:us-east-1:410318598490:secret:CuratedCorpusAPI-Dev/curatedcorpusapi-dev20211019211102971300000001-CUoEYY]
aws_secretsmanager_secret_version.rds_rds_secret_version_11D8C2B1: Refreshing state... [id=arn:aws:secretsmanager:us-east-1:410318598490:secret:CuratedCorpusAPI-Dev/curatedcorpusapi-dev20211019211102971300000001-CUoEYY|B74BA76B-62EA-4C2A-83EB-1E85D8BEDE57]
aws_ecs_task_definition.application_ecs_service_ecs-task_461CC9D4: Refreshing state... [id=CuratedCorpusAPI-Dev]
local_file.application_ecs_service_appspec_94386B9C: Refreshing state... [id=c186d473067412a8ae4a7a2a96839fb741191aa1]
aws_ecs_service.application_ecs_service_ecs-service_A8BAB5F4: Refreshing state... [id=arn:aws:ecs:us-east-1:410318598490:service/CuratedCorpusAPI-Dev/CuratedCorpusAPI-Dev]
null_resource.application_ecs_service_create-task-definition-file_6BADBAF7: Refreshing state... [id=1730044728987330252]
aws_cloudwatch_dashboard.application_cloudwatch-dashboard_1F3DC0ED: Refreshing state... [id=CuratedCorpusAPI-Dev]
aws_appautoscaling_target.application_autoscaling_autoscaling_target_42BF5C99: Refreshing state... [id=service/CuratedCorpusAPI-Dev/CuratedCorpusAPI-Dev]
aws_codedeploy_deployment_group.application_ecs_service_ecs_codedeploy_ecs_codedeploy_deployment_group_48384247: Refreshing state... [id=5ac8fe68-6182-40db-83c9-5e02807ddbdd]
aws_appautoscaling_policy.application_autoscaling_scale_out_policy_D03900A2: Refreshing state... [id=CuratedCorpusAPI-Dev-ScaleOutPolicy]
aws_appautoscaling_policy.application_autoscaling_scale_in_policy_BF273511: Refreshing state... [id=CuratedCorpusAPI-Dev-ScaleInPolicy]
aws_cloudwatch_metric_alarm.application_autoscaling_scale_in_alarm_850BE3A1: Refreshing state... [id=CuratedCorpusAPI-Dev Service Low CPU]
aws_cloudwatch_metric_alarm.application_autoscaling_scale_out_alarm_E40FCBA0: Refreshing state... [id=CuratedCorpusAPI-Dev Service High CPU]
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
~ update in-place
-/+ destroy and then create replacement
Terraform will perform the following actions:
# aws_cloudwatch_metric_alarm.synthetics_synthetics_synthetic_check_alarm_query_0_52F9FF21 will be updated in-place
~ resource "aws_cloudwatch_metric_alarm" "synthetics_synthetics_synthetic_check_alarm_query_0_52F9FF21" {
~ alarm_actions = [
+ "",
]
id = "ccsapi-dev-query-0"
~ ok_actions = [
+ "",
]
tags = {}
# (16 unchanged attributes hidden)
}
# aws_cloudwatch_metric_alarm.synthetics_synthetics_synthetic_check_alarm_uptime_0_3A56DFC7 will be updated in-place
~ resource "aws_cloudwatch_metric_alarm" "synthetics_synthetics_synthetic_check_alarm_uptime_0_3A56DFC7" {
~ alarm_actions = [
+ "",
]
id = "ccsapi-dev-uptime-0"
~ ok_actions = [
+ "",
]
tags = {}
# (16 unchanged attributes hidden)
}
# local_file.application_ecs_service_appspec_94386B9C will be created
+ resource "local_file" "application_ecs_service_appspec_94386B9C" {
+ content = jsonencode(
{
+ Resources = [
+ {
+ TargetService = {
+ Properties = {
+ LoadBalancerInfo = {
+ ContainerName = "app"
+ ContainerPort = 4025
}
+ TaskDefinition = "arn:aws:ecs:us-east-1:410318598490:task-definition/CuratedCorpusAPI-Dev:153"
}
+ Type = "AWS::ECS::Service"
}
},
]
+ version = 1
}
)
+ content_base64sha256 = (known after apply)
+ content_base64sha512 = (known after apply)
+ content_md5 = (known after apply)
+ content_sha1 = (known after apply)
+ content_sha256 = (known after apply)
+ content_sha512 = (known after apply)
+ directory_permission = "0777"
+ file_permission = "0777"
+ filename = "appspec.json"
+ id = (known after apply)
}
# null_resource.application_ecs_service_create-task-definition-file_6BADBAF7 must be replaced
-/+ resource "null_resource" "application_ecs_service_create-task-definition-file_6BADBAF7" {
~ id = "1730044728987330252" -> (known after apply)
~ triggers = { # forces replacement
~ "alwaysRun" = "2024-08-02T05:28:37Z" -> (known after apply)
}
}
# pagerduty_service.pagerduty_pagerduty-critical_464EE7CD will be updated in-place
~ resource "pagerduty_service" "pagerduty_pagerduty-critical_464EE7CD" {
~ alert_creation = "create_alerts_and_incidents" -> "create_incidents"
id = "PXAJGU4"
name = "CuratedCorpusAPI-Dev-PagerDuty-Critical"
# (9 unchanged attributes hidden)
# (2 unchanged blocks hidden)
}
# pagerduty_service.pagerduty_pagerduty-non-critical_B4CB3938 will be updated in-place
~ resource "pagerduty_service" "pagerduty_pagerduty-non-critical_B4CB3938" {
~ alert_creation = "create_alerts_and_incidents" -> "create_incidents"
id = "PU1YFEE"
name = "CuratedCorpusAPI-Dev-PagerDuty-Non-Critical"
# (9 unchanged attributes hidden)
# (2 unchanged blocks hidden)
}
Plan: 2 to add, 4 to change, 1 to destroy.
null_resource.application_ecs_service_create-task-definition-file_6BADBAF7: Destroying... [id=1730044728987330252]
null_resource.application_ecs_service_create-task-definition-file_6BADBAF7: Destruction complete after 0s
null_resource.application_ecs_service_create-task-definition-file_6BADBAF7: Creating...
null_resource.application_ecs_service_create-task-definition-file_6BADBAF7: Provisioning with 'local-exec'...
null_resource.application_ecs_service_create-task-definition-file_6BADBAF7 (local-exec): Executing: ["/bin/sh" "-c" "aws --region us-east-1 ecs describe-task-definition --task-definition CuratedCorpusAPI-Dev --query 'taskDefinition' >> taskdef.json"]
local_file.application_ecs_service_appspec_94386B9C: Creating...
aws_cloudwatch_metric_alarm.synthetics_synthetics_synthetic_check_alarm_query_0_52F9FF21: Modifying... [id=ccsapi-dev-query-0]
aws_cloudwatch_metric_alarm.synthetics_synthetics_synthetic_check_alarm_uptime_0_3A56DFC7: Modifying... [id=ccsapi-dev-uptime-0]
local_file.application_ecs_service_appspec_94386B9C: Creation complete after 0s [id=c186d473067412a8ae4a7a2a96839fb741191aa1]
pagerduty_service.pagerduty_pagerduty-critical_464EE7CD: Modifying... [id=PXAJGU4]
aws_cloudwatch_metric_alarm.synthetics_synthetics_synthetic_check_alarm_uptime_0_3A56DFC7: Modifications complete after 0s [id=ccsapi-dev-uptime-0]
aws_cloudwatch_metric_alarm.synthetics_synthetics_synthetic_check_alarm_query_0_52F9FF21: Modifications complete after 0s [id=ccsapi-dev-query-0]
pagerduty_service.pagerduty_pagerduty-non-critical_B4CB3938: Modifying... [id=PU1YFEE]
pagerduty_service.pagerduty_pagerduty-critical_464EE7CD: Modifications complete after 0s [id=PXAJGU4]
pagerduty_service.pagerduty_pagerduty-non-critical_B4CB3938: Modifications complete after 0s [id=PU1YFEE]
null_resource.application_ecs_service_create-task-definition-file_6BADBAF7: Creation complete after 1s [id=6606056289096070462]
Apply complete! Resources: 2 added, 4 changed, 1 destroyed.
|
✅ Apply Succeeded (prospect-translation-lambda-cdk-dev)
Details (Click me)data.archive_file.translation-lambda_translation-sqs-lambda_lambda-default-file_FF0D2463: Reading...
data.archive_file.translation-lambda_translation-sqs-lambda_lambda-default-file_FF0D2463: Read complete after 0s [id=2b764d3b21b3c9f088f043bc205556d3519be551]
data.aws_region.region: Reading...
data.aws_ssm_parameter.translation-lambda_pocket-shared-vpc_private_subnets_8A1FDA95: Reading...
aws_sqs_queue.translation-lambda_translation-sqs-lambda_lambda_sqs_queue_redrive_sqs_queue_25D64172: Refreshing state... [id=https://sqs.us-east-1.amazonaws.com/410318598490/ProspectAPI-Dev-Sqs-Translation-Queue-Deadletter]
data.aws_region.region: Read complete after 0s [id=us-east-1]
aws_s3_bucket.translation-lambda_translation-sqs-lambda_code-bucket_8041EB81: Refreshing state... [id=pocket-prospectapi-dev-sqs-translation]
data.aws_iam_policy_document.translation-lambda_translation-sqs-lambda_lambda-code-deploy_code-deploy-assume-role-policy-document_DC564871: Reading...
data.aws_iam_policy_document.translation-lambda_translation-sqs-lambda_assume-policy-document_58FCE41C: Reading...
data.aws_region.pocket-vpc_current_region_1602AAD6: Reading...
data.aws_caller_identity.caller: Reading...
aws_codedeploy_app.translation-lambda_translation-sqs-lambda_lambda-code-deploy_code-deploy-app_E422EADB: Refreshing state... [id=eade583b-0d01-404c-ae96-10b8f0995609:ProspectAPI-Dev-Sqs-Translation-Lambda]
data.aws_ssm_parameter.pocket-vpc_public_subnets_7F9CDB28: Reading...
data.aws_region.pocket-vpc_current_region_1602AAD6: Read complete after 0s [id=us-east-1]
data.aws_iam_policy_document.translation-lambda_translation-sqs-lambda_assume-policy-document_58FCE41C: Read complete after 0s [id=1349007126]
data.aws_iam_policy_document.translation-lambda_translation-sqs-lambda_lambda-code-deploy_code-deploy-assume-role-policy-document_DC564871: Read complete after 0s [id=4250039221]
data.aws_kms_alias.pocket-vpc_secrets_manager_key_BF1637BF: Reading...
data.aws_kms_alias.translation-lambda_pocket-shared-vpc_secrets_manager_key_58B66F25: Reading...
data.aws_caller_identity.caller: Read complete after 0s [id=410318598490]
data.aws_region.translation-lambda_pocket-shared-vpc_current_region_4915DE88: Reading...
data.aws_ssm_parameter.pocket-vpc_private_subnets_75BAFB11: Reading...
data.aws_ssm_parameter.pocket-vpc_vpc_ssm_param_17802658: Reading...
data.aws_region.translation-lambda_pocket-shared-vpc_current_region_4915DE88: Read complete after 0s [id=us-east-1]
data.aws_caller_identity.translation-lambda_pocket-shared-vpc_current_identity_FA43F309: Reading...
data.aws_caller_identity.translation-lambda_pocket-shared-vpc_current_identity_FA43F309: Read complete after 0s [id=410318598490]
data.aws_ssm_parameter.translation-lambda_service-hash_F58F05EF: Reading...
data.aws_ssm_parameter.translation-lambda_pocket-shared-vpc_private_subnets_8A1FDA95: Read complete after 0s [id=/Shared/PrivateSubnets]
data.aws_ssm_parameter.translation-lambda_sentry-dsn_FBCEB305: Reading...
data.aws_ssm_parameter.pocket-vpc_public_subnets_7F9CDB28: Read complete after 0s [id=/Shared/PublicSubnets]
data.aws_ssm_parameter.pocket-vpc_vpc_ssm_param_17802658: Read complete after 0s [id=/Shared/Vpc]
data.aws_ssm_parameter.translation-lambda_service-hash_F58F05EF: Read complete after 0s [id=/ProspectAPI/CircleCI/Dev/SERVICE_HASH]
data.aws_kms_alias.pocket-vpc_secrets_manager_key_BF1637BF: Read complete after 0s [id=arn:aws:kms:us-east-1:410318598490:alias/aws/secretsmanager]
data.aws_ssm_parameter.pocket-vpc_private_subnets_75BAFB11: Read complete after 0s [id=/Shared/PrivateSubnets]
data.aws_caller_identity.pocket-vpc_current_identity_8303C1C9: Reading...
data.aws_kms_alias.translation-lambda_pocket-shared-vpc_secrets_manager_key_58B66F25: Read complete after 0s [id=arn:aws:kms:us-east-1:410318598490:alias/aws/secretsmanager]
data.aws_ssm_parameter.translation-lambda_pocket-shared-vpc_vpc_ssm_param_8DFBB095: Reading...
aws_iam_role.translation-lambda_translation-sqs-lambda_lambda-code-deploy_code-deploy-role_9208AEE5: Refreshing state... [id=ProspectAPI-Dev-Sqs-Translation-CodeDeployRole]
data.aws_ssm_parameter.translation-lambda_pocket-shared-vpc_public_subnets_242E3139: Reading...
aws_iam_role.translation-lambda_translation-sqs-lambda_execution-role_C2F15DF6: Refreshing state... [id=ProspectAPI-Dev-Sqs-Translation-ExecutionRole]
data.aws_iam_policy_document.translation-lambda_translation-sqs-lambda_execution-policy-document_94EBBD6E: Reading...
data.aws_caller_identity.pocket-vpc_current_identity_8303C1C9: Read complete after 0s [id=410318598490]
data.aws_vpc.pocket-vpc_2587E211: Reading...
data.aws_iam_policy_document.translation-lambda_translation-sqs-lambda_execution-policy-document_94EBBD6E: Read complete after 0s [id=3208558407]
aws_iam_policy.translation-lambda_translation-sqs-lambda_execution-policy_E70E40B9: Refreshing state... [id=arn:aws:iam::410318598490:policy/ProspectAPI-Dev-Sqs-Translation-ExecutionRolePolicy]
data.aws_ssm_parameter.translation-lambda_pocket-shared-vpc_public_subnets_242E3139: Read complete after 0s [id=/Shared/PublicSubnets]
data.aws_ssm_parameter.translation-lambda_pocket-shared-vpc_vpc_ssm_param_8DFBB095: Read complete after 0s [id=/Shared/Vpc]
aws_sqs_queue.translation-lambda_translation-sqs-lambda_lambda_sqs_queue_486217BD: Refreshing state... [id=https://sqs.us-east-1.amazonaws.com/410318598490/ProspectAPI-Dev-Sqs-Translation-Queue]
data.aws_ssm_parameter.translation-lambda_sentry-dsn_FBCEB305: Read complete after 0s [id=/ProspectAPI-Sqs-Translation/Dev/SENTRY_DSN]
data.aws_vpc.translation-lambda_pocket-shared-vpc_30AC5256: Reading...
data.aws_iam_policy_document.corpus-scheduler-ml-user-policy_iam_sqs_policy_2CE4E3DF: Reading...
data.aws_iam_policy_document.translation-lambda_translation-sqs-lambda_lambda_sqs_policy_FC6424CF: Reading...
data.aws_iam_policy_document.translation-lambda_translation-sqs-lambda_lambda_sqs_policy_FC6424CF: Read complete after 0s [id=1682749772]
data.aws_iam_policy_document.corpus-scheduler-ml-user-policy_iam_sqs_policy_2CE4E3DF: Read complete after 0s [id=739672392]
aws_iam_policy.corpus-scheduler-ml-user-policy_iam-sqs-policy_867A1D82: Refreshing state... [id=arn:aws:iam::410318598490:policy/IAM-ML-ProspectAPI-Dev-QueuePolicy]
aws_iam_role_policy_attachment.translation-lambda_translation-sqs-lambda_execution-role-policy-attachment_9BEA8A61: Refreshing state... [id=ProspectAPI-Dev-Sqs-Translation-ExecutionRole-arn:aws:iam::410318598490:policy/ProspectAPI-Dev-Sqs-Translation-ExecutionRolePolicy]
aws_iam_policy.translation-lambda_translation-sqs-lambda_sqs-policy_1811B7AA: Refreshing state... [id=arn:aws:iam::410318598490:policy/ProspectAPI-Dev-Sqs-Translation-LambdaSQSPolicy]
aws_iam_role_policy_attachment.translation-lambda_translation-sqs-lambda_lambda-code-deploy_code-deploy-policy-attachment_88071B62: Refreshing state... [id=ProspectAPI-Dev-Sqs-Translation-CodeDeployRole-arn:aws:iam::aws:policy/service-role/AWSCodeDeployRoleForLambda]
aws_codedeploy_deployment_group.translation-lambda_translation-sqs-lambda_lambda-code-deploy_code-deployment-group_064B3F38: Refreshing state... [id=a63ddc0f-5a38-4b36-9688-dacbc2f9cf05]
aws_iam_user_policy_attachment.corpus-scheduler-ml-user-policy_iam-sqs-user-policy-attachment_22113AFF: Refreshing state... [id=ProspectAPI-Dev-Queue-User-20240624184110542500000001]
aws_s3_bucket_ownership_controls.translation-lambda_translation-sqs-lambda_code-bucket-ownership-controls_0A8BE3B3: Refreshing state... [id=pocket-prospectapi-dev-sqs-translation]
aws_s3_bucket_public_access_block.translation-lambda_translation-sqs-lambda_code-bucket-public-access-block_68EE0417: Refreshing state... [id=pocket-prospectapi-dev-sqs-translation]
aws_iam_role_policy_attachment.translation-lambda_translation-sqs-lambda_execution-role-policy-attachment_9054A7C3: Refreshing state... [id=ProspectAPI-Dev-Sqs-Translation-ExecutionRole-arn:aws:iam::410318598490:policy/ProspectAPI-Dev-Sqs-Translation-LambdaSQSPolicy]
aws_s3_bucket_acl.translation-lambda_translation-sqs-lambda_code-bucket-acl_51DA7819: Refreshing state... [id=pocket-prospectapi-dev-sqs-translation,private]
data.aws_vpc.translation-lambda_pocket-shared-vpc_30AC5256: Read complete after 0s [id=vpc-012481e83ffa5e152]
data.aws_security_groups.translation-lambda_pocket-shared-vpc_internal_security_groups_4144D685: Reading...
data.aws_subnets.translation-lambda_pocket-shared-vpc_private_subnet_ids_AC206D4E: Reading...
data.aws_security_groups.translation-lambda_pocket-shared-vpc_default_security_groups_30393149: Reading...
data.aws_subnets.translation-lambda_pocket-shared-vpc_public_subnet_ids_F62D4FF8: Reading...
data.aws_vpc.pocket-vpc_2587E211: Read complete after 0s [id=vpc-012481e83ffa5e152]
data.aws_security_groups.pocket-vpc_internal_security_groups_147262D8: Reading...
data.aws_subnets.pocket-vpc_public_subnet_ids_0B13AF23: Reading...
data.aws_subnets.pocket-vpc_private_subnet_ids_73CCA71D: Reading...
data.aws_security_groups.pocket-vpc_default_security_groups_1F0F3778: Reading...
data.aws_security_groups.translation-lambda_pocket-shared-vpc_default_security_groups_30393149: Read complete after 0s [id=us-east-1]
data.aws_subnets.translation-lambda_pocket-shared-vpc_private_subnet_ids_AC206D4E: Read complete after 0s [id=us-east-1]
data.aws_subnets.translation-lambda_pocket-shared-vpc_public_subnet_ids_F62D4FF8: Read complete after 0s [id=us-east-1]
data.aws_security_groups.pocket-vpc_internal_security_groups_147262D8: Read complete after 0s [id=us-east-1]
data.aws_security_groups.translation-lambda_pocket-shared-vpc_internal_security_groups_4144D685: Read complete after 0s [id=us-east-1]
aws_lambda_function.translation-lambda_translation-sqs-lambda_B9BDF6BA: Refreshing state... [id=ProspectAPI-Dev-Sqs-Translation-Function]
data.aws_subnets.pocket-vpc_private_subnet_ids_73CCA71D: Read complete after 0s [id=us-east-1]
data.aws_subnets.pocket-vpc_public_subnet_ids_0B13AF23: Read complete after 0s [id=us-east-1]
data.aws_security_groups.pocket-vpc_default_security_groups_1F0F3778: Read complete after 0s [id=us-east-1]
aws_cloudwatch_log_group.translation-lambda_translation-sqs-lambda_log-group_CAF5915B: Refreshing state... [id=/aws/lambda/ProspectAPI-Dev-Sqs-Translation-Function]
aws_lambda_alias.translation-lambda_translation-sqs-lambda_alias_10FF84BB: Refreshing state... [id=arn:aws:lambda:us-east-1:410318598490:function:ProspectAPI-Dev-Sqs-Translation-Function:DEPLOYED]
aws_lambda_event_source_mapping.translation-lambda_translation-sqs-lambda_lambda_event_source_mapping_49D092A6: Refreshing state... [id=b874d1a9-9d39-4b9c-bf38-db409e470b53]
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
~ update in-place
Terraform will perform the following actions:
# aws_lambda_function.translation-lambda_translation-sqs-lambda_B9BDF6BA will be updated in-place
~ resource "aws_lambda_function" "translation-lambda_translation-sqs-lambda_B9BDF6BA" {
id = "ProspectAPI-Dev-Sqs-Translation-Function"
tags = {
"app_code" = "content"
"component_code" = "content-prospectapi"
"env_code" = "dev"
"environment" = "Dev"
"service" = "ProspectAPI-Sqs-Translation"
}
# (21 unchanged attributes hidden)
~ environment {
~ variables = {
~ "GIT_SHA" = (sensitive value)
# (4 unchanged elements hidden)
}
}
# (4 unchanged blocks hidden)
}
Plan: 0 to add, 1 to change, 0 to destroy.
aws_lambda_function.translation-lambda_translation-sqs-lambda_B9BDF6BA: Modifying... [id=ProspectAPI-Dev-Sqs-Translation-Function]
aws_lambda_function.translation-lambda_translation-sqs-lambda_B9BDF6BA: Modifications complete after 5s [id=ProspectAPI-Dev-Sqs-Translation-Function]
Apply complete! Resources: 0 added, 1 changed, 0 destroyed.
|
✅ Apply Succeeded (collection-api-cdk-dev)
Details (Click me)data.aws_caller_identity.application_pocket_vpc_current_identity_0A422301: Reading...
data.aws_iam_policy_document.application_ecs_service_ecs-iam_ecs-task-assume_05903663: Reading...
aws_ecr_repository.application_ecs_service_ecr-app_ecr-repo_ABFE17F0: Refreshing state... [id=collectionapi-dev-app]
aws_route53_zone.application_base_dns_subhosted_zone_77521D1C: Refreshing state... [id=Z074704915HDYV01X7479]
aws_cloudwatch_log_group.aws-otel-collector-log-group: Refreshing state... [id=/Backend/CollectionAPI-Dev/ecs/aws-otel-collector]
data.aws_region.application_pocket_vpc_current_region_7774DA97: Reading...
data.aws_kms_alias.application_pocket_vpc_secrets_manager_key_2C3C8766: Reading...
data.aws_caller_identity.application_ecs_service_ecs_codedeploy_current_account_110B92B7: Reading...
data.aws_caller_identity.pocket-vpc_current_identity_8303C1C9: Reading...
data.aws_route53_zone.application_base_dns_main_hosted_zone_0141FA96: Reading...
data.aws_region.application_pocket_vpc_current_region_7774DA97: Read complete after 0s [id=us-east-1]
data.aws_iam_policy_document.application_ecs_service_ecs-iam_ecs-task-assume_05903663: Read complete after 0s [id=1077804475]
data.aws_iam_policy_document.synthetics_synthetics_synthetic_check_assume_66385ECA: Reading...
aws_s3_bucket.synthetics_synthetics_synthetic_check_artifacts_53DD59E6: Refreshing state... [id=pocket-collectionapi-dev-synthetic-checks]
data.aws_caller_identity.application_ecs_service_ecs_codedeploy_current_account_110B92B7: Read complete after 0s [id=410318598490]
data.aws_iam_policy_document.synthetics_synthetics_synthetic_check_assume_66385ECA: Read complete after 0s [id=2690255455]
data.aws_caller_identity.application_pocket_vpc_current_identity_0A422301: Read complete after 0s [id=410318598490]
data.aws_ssm_parameter.application_pocket_vpc_vpc_ssm_param_DD9C7A4F: Reading...
aws_acm_certificate.application_alb_certificate_93966247: Refreshing state... [id=arn:aws:acm:us-east-1:410318598490:certificate/fafe291e-4659-4a4d-9dfd-9bfbfa4f1fec]
data.aws_caller_identity.pocket-vpc_current_identity_8303C1C9: Read complete after 0s [id=410318598490]
aws_ecs_cluster.application_ecs_cluster_4DC6EFB3: Refreshing state... [id=arn:aws:ecs:us-east-1:410318598490:cluster/CollectionAPI-Dev]
aws_codedeploy_app.application_ecs_service_ecs_codedeploy_ecs_code_deploy_C2F7CBCF: Refreshing state... [id=4bdfd0e5-b22d-492c-bff9-0d909f508ba1:CollectionAPI-Dev-ECS]
data.aws_kms_alias.application_pocket_vpc_secrets_manager_key_2C3C8766: Read complete after 0s [id=arn:aws:kms:us-east-1:410318598490:alias/aws/secretsmanager]
data.aws_kms_alias.kms_alias: Reading...
data.aws_ssm_parameter.application_pocket_vpc_vpc_ssm_param_DD9C7A4F: Read complete after 1s [id=/Shared/Vpc]
data.aws_caller_identity.caller: Reading...
data.aws_ssm_parameter.application_pocket_vpc_private_subnets_424C83F8: Reading...
data.aws_kms_alias.kms_alias: Read complete after 1s [id=arn:aws:kms:us-east-1:410318598490:alias/aws/secretsmanager]
data.aws_ssm_parameter.pocket-vpc_public_subnets_7F9CDB28: Reading...
data.aws_kms_alias.pocket-vpc_secrets_manager_key_BF1637BF: Reading...
data.aws_caller_identity.caller: Read complete after 0s [id=410318598490]
data.aws_region.pocket-vpc_current_region_1602AAD6: Reading...
data.aws_region.pocket-vpc_current_region_1602AAD6: Read complete after 0s [id=us-east-1]
data.aws_sns_topic.backend_notifications: Reading...
data.aws_kms_alias.pocket-vpc_secrets_manager_key_BF1637BF: Read complete after 0s [id=arn:aws:kms:us-east-1:410318598490:alias/aws/secretsmanager]
data.aws_ssm_parameter.application_pocket_vpc_public_subnets_282A59F4: Reading...
data.aws_ssm_parameter.pocket-vpc_vpc_ssm_param_17802658: Reading...
data.aws_ssm_parameter.application_pocket_vpc_private_subnets_424C83F8: Read complete after 0s [id=/Shared/PrivateSubnets]
data.aws_ssm_parameter.pocket-vpc_private_subnets_75BAFB11: Reading...
data.aws_ssm_parameter.application_pocket_vpc_public_subnets_282A59F4: Read complete after 0s [id=/Shared/PublicSubnets]
data.aws_ssm_parameter.pocket-vpc_public_subnets_7F9CDB28: Read complete after 0s [id=/Shared/PublicSubnets]
data.aws_iam_policy_document.application_ecs_service_ecs_codedeploy_codedeploy_assume_role_C76E7224: Reading...
data.aws_ssm_parameter.pocket-vpc_vpc_ssm_param_17802658: Read complete after 0s [id=/Shared/Vpc]
aws_s3_bucket.image-uploads: Refreshing state... [id=pocket-collectionapi-dev-images]
data.aws_region.application_ecs_service_ecs_codedeploy_current_region_A377EAA5: Reading...
data.aws_iam_policy_document.application_ecs_service_ecs_codedeploy_codedeploy_assume_role_C76E7224: Read complete after 0s [id=4250039221]
data.aws_region.application_ecs_service_ecs_codedeploy_current_region_A377EAA5: Read complete after 0s [id=us-east-1]
aws_cloudwatch_log_group.app-log-group: Refreshing state... [id=/Backend/CollectionAPI-Dev/ecs/app]
data.aws_region.region: Reading...
aws_iam_role.application_ecs_service_ecs-iam_ecs-execution-role_FB754BAA: Refreshing state... [id=CollectionAPI-Dev-TaskExecutionRole]
data.aws_sns_topic.backend_notifications: Read complete after 0s [id=arn:aws:sns:us-east-1:410318598490:Backend-Dev-ChatBot]
data.aws_ssm_parameter.pocket-vpc_private_subnets_75BAFB11: Read complete after 0s [id=/Shared/PrivateSubnets]
data.aws_region.region: Read complete after 0s [id=us-east-1]
aws_iam_role.application_ecs_service_ecs-iam_ecs-task-role_A72990ED: Refreshing state... [id=CollectionAPI-Dev-TaskRole]
data.aws_route53_zone.application_base_dns_main_hosted_zone_0141FA96: Read complete after 1s [id=ZCSIDA846KWLN]
data.aws_vpc.application_pocket_vpc_22D55D83: Reading...
aws_iam_role.synthetics_synthetic_check_role_A3A5C38B: Refreshing state... [id=pocket-collectionapi-dev-synthetic-check]
aws_ecr_lifecycle_policy.application_ecs_service_ecr-app_ecr-repo-lifecyclepolicy_CCDF75B7: Refreshing state... [id=collectionapi-dev-app]
data.aws_vpc.pocket-vpc_2587E211: Reading...
aws_codestarnotifications_notification_rule.application_ecs_service_ecs_codedeploy_ecs_codedeploy_notifications_CB44EADE: Refreshing state... [id=arn:aws:codestar-notifications:us-east-1:410318598490:notificationrule/6fde41b25ba61eb900808b680298ef58071ba52f]
aws_iam_role.application_ecs_service_ecs_codedeploy_ecs_code_deploy_role_175DB7D3: Refreshing state... [id=CollectionAPI-Dev-ECSCodeDeployRole]
data.aws_iam_policy_document.application_ecs_service_ecs-iam_data-ecs-task-execution-role-policy_015FDEBA: Reading...
data.aws_iam_policy_document.application_ecs_service_ecs-iam_data-ecs-task-execution-role-policy_015FDEBA: Read complete after 0s [id=964353654]
aws_route53_record.application_base_dns_subhosted_zone_ns_DFB88A22: Refreshing state... [id=ZCSIDA846KWLN_collection-api.getpocket.dev_NS]
aws_iam_role_policy_attachment.application_ecs_service_ecs-iam_ecs-task-execution-default-attachment_99A621FF: Refreshing state... [id=CollectionAPI-Dev-TaskExecutionRole-20230817212120732300000005]
aws_route53_record.application_alb_certificate_certificate_record_51B45CF2: Refreshing state... [id=Z074704915HDYV01X7479__537be9d0a07306ea543ce7a8b875a2b0.collection-api.getpocket.dev._CNAME]
aws_iam_policy.application_ecs_service_ecs-iam_ecs-task-execution-role-policy_2D469A77: Refreshing state... [id=arn:aws:iam::410318598490:policy/CollectionAPI-Dev-TaskExecutionRolePolicy]
data.aws_iam_policy_document.synthetics_synthetics_synthetic_check_access_4C83FECF: Reading...
aws_s3_bucket_lifecycle_configuration.synthetics_synthetics_synthetic_check_artifacts_lifecycle_5A7B9150: Refreshing state... [id=pocket-collectionapi-dev-synthetic-checks]
data.aws_iam_policy_document.synthetics_synthetics_synthetic_check_access_4C83FECF: Read complete after 0s [id=1065625338]
aws_iam_policy.synthetics_synthetics_synthetic_check_access_policy_9A7D8849: Refreshing state... [id=arn:aws:iam::410318598490:policy/pocket-collectionapi-dev-synthetic-check-access]
aws_iam_role_policy_attachment.application_ecs_service_ecs_codedeploy_ecs_codedeploy_role_attachment_1A1D5725: Refreshing state... [id=CollectionAPI-Dev-ECSCodeDeployRole-20230817212121112300000009]
data.aws_vpc.pocket-vpc_2587E211: Read complete after 0s [id=vpc-012481e83ffa5e152]
data.aws_iam_policy_document.application_ecs_service_ecs-iam_data-ecs-task-role-policy_090CC3AD: Reading...
data.aws_vpc.rds_vpc_9E5B9996: Reading...
data.aws_vpc.application_pocket_vpc_22D55D83: Read complete after 0s [id=vpc-012481e83ffa5e152]
data.aws_iam_policy_document.application_ecs_service_ecs-iam_data-ecs-task-role-policy_090CC3AD: Read complete after 0s [id=3291665316]
data.aws_subnets.pocket-vpc_public_subnet_ids_0B13AF23: Reading...
data.aws_security_groups.pocket-vpc_internal_security_groups_147262D8: Reading...
data.aws_subnets.pocket-vpc_private_subnet_ids_73CCA71D: Reading...
data.aws_subnets.application_pocket_vpc_public_subnet_ids_4577655C: Reading...
data.aws_security_groups.pocket-vpc_default_security_groups_1F0F3778: Reading...
data.aws_security_groups.application_pocket_vpc_internal_security_groups_8D057D72: Reading...
data.aws_subnets.application_pocket_vpc_private_subnet_ids_AED9F181: Reading...
data.aws_security_groups.application_pocket_vpc_default_security_groups_4D3B6986: Reading...
data.aws_subnets.pocket-vpc_private_subnet_ids_73CCA71D: Read complete after 0s [id=us-east-1]
aws_security_group.application_application_load_balancer_alb_security_group_7B45D070: Refreshing state... [id=sg-080c07ac864ca9690]
data.aws_security_groups.pocket-vpc_default_security_groups_1F0F3778: Read complete after 0s [id=us-east-1]
data.aws_subnets.application_pocket_vpc_public_subnet_ids_4577655C: Read complete after 0s [id=us-east-1]
data.aws_security_groups.pocket-vpc_internal_security_groups_147262D8: Read complete after 0s [id=us-east-1]
aws_alb_target_group.application_ecs_service_blue_target_group_ecs_target_group_4A9BF49B: Refreshing state... [id=arn:aws:elasticloadbalancing:us-east-1:410318598490:targetgroup/COLAPI20230817212110982000000004/4f14bebf12061151]
data.aws_subnets.application_pocket_vpc_private_subnet_ids_AED9F181: Read complete after 0s [id=us-east-1]
data.aws_subnets.pocket-vpc_public_subnet_ids_0B13AF23: Read complete after 0s [id=us-east-1]
aws_alb_target_group.application_ecs_service_green_target_group_ecs_target_group_4E06DCA6: Refreshing state... [id=arn:aws:elasticloadbalancing:us-east-1:410318598490:targetgroup/COLAPI20210414025827221600000003/9bc6e1023ed028f4]
aws_iam_role_policy_attachment.application_ecs_service_ecs-iam_ecs-task-execution-custom-attachment_046B7E2E: Refreshing state... [id=CollectionAPI-Dev-TaskExecutionRole-20230817212120818100000006]
aws_acm_certificate_validation.application_alb_certificate_certificate_validation_25DAB195: Refreshing state... [id=2023-08-17 21:22:33.233 +0000 UTC]
aws_iam_policy.application_ecs_service_ecs-iam_ecs-task-role-policy_6FC89FB6: Refreshing state... [id=arn:aws:iam::410318598490:policy/CollectionAPI-Dev-TaskRolePolicy]
data.aws_security_groups.application_pocket_vpc_default_security_groups_4D3B6986: Read complete after 0s [id=us-east-1]
aws_iam_role_policy_attachment.synthetics_synthetics_synthetic_check_access_attach_BC7F9559: Refreshing state... [id=pocket-collectionapi-dev-synthetic-check-20230817212120934000000007]
data.aws_security_groups.application_pocket_vpc_internal_security_groups_8D057D72: Read complete after 0s [id=us-east-1]
aws_db_subnet_group.rds_rds_subnet_group_796D20B7: Refreshing state... [id=collectionapi-dev20210413164755845900000008]
aws_synthetics_canary.synthetics_synthetics_synthetic_check_uptime_0_4168D0DB: Refreshing state... [id=colapi-dev-uptime-0]
aws_synthetics_canary.synthetics_synthetics_synthetic_check_query_0_99E4AE1B: Refreshing state... [id=colapi-dev-query-0]
aws_security_group.application_ecs_service_ecs_security_group_231C6B1E: Refreshing state... [id=sg-0427900e603224ce8]
aws_alb.application_application_load_balancer_alb_05EA9801: Refreshing state... [id=arn:aws:elasticloadbalancing:us-east-1:410318598490:loadbalancer/app/COLAPI2023081721212117430000000b/bd3dcaa64c11055f]
aws_iam_role_policy_attachment.application_ecs_service_ecs-iam_ecs-task-custom-attachment_F8DDD355: Refreshing state... [id=CollectionAPI-Dev-TaskRole-20230817212121025000000008]
data.aws_vpc.rds_vpc_9E5B9996: Read complete after 0s [id=vpc-012481e83ffa5e152]
aws_security_group.rds_rds_security_group_B7738CEB: Refreshing state... [id=sg-0a3bc725db485fb4c]
aws_cloudwatch_metric_alarm.synthetics_synthetics_synthetic_check_alarm_uptime_0_3A56DFC7: Refreshing state... [id=colapi-dev-uptime-0]
aws_cloudwatch_metric_alarm.synthetics_synthetics_synthetic_check_alarm_query_0_52F9FF21: Refreshing state... [id=colapi-dev-query-0]
aws_rds_cluster.rds_rds_cluster_1A0399FD: Refreshing state... [id=collectionapi-dev20210413165935549000000009]
aws_alb_listener.application_listener_http_D74EC0ED: Refreshing state... [id=arn:aws:elasticloadbalancing:us-east-1:410318598490:listener/app/COLAPI2023081721212117430000000b/bd3dcaa64c11055f/d57710d83db81742]
aws_route53_record.application_alb_record_8EA9D3F9: Refreshing state... [id=Z074704915HDYV01X7479_collection-api.getpocket.dev_A_1]
aws_alb_listener.application_listener_https_D31CB055: Refreshing state... [id=arn:aws:elasticloadbalancing:us-east-1:410318598490:listener/app/COLAPI2023081721212117430000000b/bd3dcaa64c11055f/43b23577b02e036e]
aws_cloudwatch_metric_alarm.application_alarm-httptarget5xxerrorrate_F94D87C0: Refreshing state... [id=CollectionAPI-Dev-Alarm-HTTPTarget5xxErrorRate]
aws_secretsmanager_secret.rds_rds_secret_A0401B27: Refreshing state... [id=arn:aws:secretsmanager:us-east-1:410318598490:secret:CollectionAPI-Dev/collectionapi-dev20210413165935549000000009-A1RtIJ]
aws_alb_listener_rule.application_ecs_service_listener_rule_903F815F: Refreshing state... [id=arn:aws:elasticloadbalancing:us-east-1:410318598490:listener-rule/app/COLAPI2023081721212117430000000b/bd3dcaa64c11055f/43b23577b02e036e/c488f5305b2d95a3]
aws_ecs_task_definition.application_ecs_service_ecs-task_461CC9D4: Refreshing state... [id=CollectionAPI-Dev]
aws_secretsmanager_secret_version.rds_rds_secret_version_11D8C2B1: Refreshing state... [id=arn:aws:secretsmanager:us-east-1:410318598490:secret:CollectionAPI-Dev/collectionapi-dev20210413165935549000000009-A1RtIJ|C2150292-6DEF-4F63-AA58-74FFC6B74629]
null_resource.application_ecs_service_create-task-definition-file_6BADBAF7: Refreshing state... [id=2778764441279763015]
local_file.application_ecs_service_appspec_94386B9C: Refreshing state... [id=6a7de286c7d7c39605d9a9cfde1cf19e166bdf1b]
aws_ecs_service.application_ecs_service_ecs-service_A8BAB5F4: Refreshing state... [id=arn:aws:ecs:us-east-1:410318598490:service/CollectionAPI-Dev/CollectionAPI-Dev]
aws_cloudwatch_dashboard.application_cloudwatch-dashboard_1F3DC0ED: Refreshing state... [id=CollectionAPI-Dev]
aws_appautoscaling_target.application_autoscaling_autoscaling_target_42BF5C99: Refreshing state... [id=service/CollectionAPI-Dev/CollectionAPI-Dev]
aws_codedeploy_deployment_group.application_ecs_service_ecs_codedeploy_ecs_codedeploy_deployment_group_48384247: Refreshing state... [id=b2277e0f-3085-4fd6-9480-94a03099296b]
aws_appautoscaling_policy.application_autoscaling_scale_in_policy_BF273511: Refreshing state... [id=CollectionAPI-Dev-ScaleInPolicy]
aws_appautoscaling_policy.application_autoscaling_scale_out_policy_D03900A2: Refreshing state... [id=CollectionAPI-Dev-ScaleOutPolicy]
aws_cloudwatch_metric_alarm.application_autoscaling_scale_in_alarm_850BE3A1: Refreshing state... [id=CollectionAPI-Dev Service Low CPU]
aws_cloudwatch_metric_alarm.application_autoscaling_scale_out_alarm_E40FCBA0: Refreshing state... [id=CollectionAPI-Dev Service High CPU]
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
~ update in-place
-/+ destroy and then create replacement
Terraform will perform the following actions:
# aws_cloudwatch_metric_alarm.synthetics_synthetics_synthetic_check_alarm_query_0_52F9FF21 will be updated in-place
~ resource "aws_cloudwatch_metric_alarm" "synthetics_synthetics_synthetic_check_alarm_query_0_52F9FF21" {
~ alarm_actions = [
+ "",
]
id = "colapi-dev-query-0"
~ ok_actions = [
+ "",
]
tags = {}
# (16 unchanged attributes hidden)
}
# aws_cloudwatch_metric_alarm.synthetics_synthetics_synthetic_check_alarm_uptime_0_3A56DFC7 will be updated in-place
~ resource "aws_cloudwatch_metric_alarm" "synthetics_synthetics_synthetic_check_alarm_uptime_0_3A56DFC7" {
~ alarm_actions = [
+ "",
]
id = "colapi-dev-uptime-0"
~ ok_actions = [
+ "",
]
tags = {}
# (16 unchanged attributes hidden)
}
# local_file.application_ecs_service_appspec_94386B9C will be created
+ resource "local_file" "application_ecs_service_appspec_94386B9C" {
+ content = jsonencode(
{
+ Resources = [
+ {
+ TargetService = {
+ Properties = {
+ LoadBalancerInfo = {
+ ContainerName = "app"
+ ContainerPort = 4004
}
+ TaskDefinition = "arn:aws:ecs:us-east-1:410318598490:task-definition/CollectionAPI-Dev:239"
}
+ Type = "AWS::ECS::Service"
}
},
]
+ version = 1
}
)
+ content_base64sha256 = (known after apply)
+ content_base64sha512 = (known after apply)
+ content_md5 = (known after apply)
+ content_sha1 = (known after apply)
+ content_sha256 = (known after apply)
+ content_sha512 = (known after apply)
+ directory_permission = "0777"
+ file_permission = "0777"
+ filename = "appspec.json"
+ id = (known after apply)
}
# null_resource.application_ecs_service_create-task-definition-file_6BADBAF7 must be replaced
-/+ resource "null_resource" "application_ecs_service_create-task-definition-file_6BADBAF7" {
~ id = "2778764441279763015" -> (known after apply)
~ triggers = { # forces replacement
~ "alwaysRun" = "2024-07-27T13:32:22Z" -> (known after apply)
}
}
Plan: 2 to add, 2 to change, 1 to destroy.
null_resource.application_ecs_service_create-task-definition-file_6BADBAF7: Destroying... [id=2778764441279763015]
null_resource.application_ecs_service_create-task-definition-file_6BADBAF7: Destruction complete after 0s
null_resource.application_ecs_service_create-task-definition-file_6BADBAF7: Creating...
null_resource.application_ecs_service_create-task-definition-file_6BADBAF7: Provisioning with 'local-exec'...
null_resource.application_ecs_service_create-task-definition-file_6BADBAF7 (local-exec): Executing: ["/bin/sh" "-c" "aws --region us-east-1 ecs describe-task-definition --task-definition CollectionAPI-Dev --query 'taskDefinition' >> taskdef.json"]
aws_cloudwatch_metric_alarm.synthetics_synthetics_synthetic_check_alarm_uptime_0_3A56DFC7: Modifying... [id=colapi-dev-uptime-0]
local_file.application_ecs_service_appspec_94386B9C: Creating...
aws_cloudwatch_metric_alarm.synthetics_synthetics_synthetic_check_alarm_query_0_52F9FF21: Modifying... [id=colapi-dev-query-0]
local_file.application_ecs_service_appspec_94386B9C: Creation complete after 0s [id=6a7de286c7d7c39605d9a9cfde1cf19e166bdf1b]
aws_cloudwatch_metric_alarm.synthetics_synthetics_synthetic_check_alarm_uptime_0_3A56DFC7: Modifications complete after 0s [id=colapi-dev-uptime-0]
aws_cloudwatch_metric_alarm.synthetics_synthetics_synthetic_check_alarm_query_0_52F9FF21: Modifications complete after 0s [id=colapi-dev-query-0]
null_resource.application_ecs_service_create-task-definition-file_6BADBAF7: Creation complete after 1s [id=5378825230096572687]
Apply complete! Resources: 2 added, 2 changed, 1 destroyed.
|
8df2da0
to
ea3b372
Compare
Plan Result (prospect-translation-lambda-cdk-production)
Change Result (Click me) # aws_lambda_function.translation-lambda_translation-sqs-lambda_B9BDF6BA will be updated in-place
~ resource "aws_lambda_function" "translation-lambda_translation-sqs-lambda_B9BDF6BA" {
id = "ProspectAPI-Prod-Sqs-Translation-Function"
tags = {
"app_code" = "content"
"component_code" = "content-prospectapi"
"env_code" = "prod"
"environment" = "Prod"
"service" = "ProspectAPI-Sqs-Translation"
}
# (22 unchanged attributes hidden)
~ environment {
~ variables = {
~ "GIT_SHA" = (sensitive value)
# (4 unchanged elements hidden)
}
}
# (4 unchanged blocks hidden)
}
Plan: 0 to add, 1 to change, 0 to destroy.
|
Plan Result (prospect-api-cdk-production)
Change Result (Click me) # data.aws_iam_policy_document.application_ecs_service_ecs-iam_data-ecs-task-role-policy_090CC3AD will be read during apply
# (depends on a resource or a module with changes pending)
<= data "aws_iam_policy_document" "application_ecs_service_ecs-iam_data-ecs-task-role-policy_090CC3AD" {
+ id = (known after apply)
+ json = (known after apply)
+ minified_json = (known after apply)
+ version = "2012-10-17"
+ statement {
+ actions = [
+ "dynamodb:BatchGet*",
+ "dynamodb:DescribeTable",
+ "dynamodb:Get*",
+ "dynamodb:Query",
+ "dynamodb:Scan",
+ "dynamodb:UpdateItem",
]
+ effect = "Allow"
+ resources = [
+ "arn:aws:dynamodb:us-east-1:996905175585:table/PROAPI-Prod-Prospects",
+ "arn:aws:dynamodb:us-east-1:996905175585:table/PROAPI-Prod-Prospects/*",
]
}
+ statement {
+ actions = [
+ "s3:*",
]
+ effect = "Allow"
+ resources = [
+ "arn:aws:s3:::pocket-prospectapi-prod-images",
+ "arn:aws:s3:::pocket-prospectapi-prod-images/*",
]
}
+ statement {
+ actions = [
+ "events:PutEvents",
]
+ effect = "Allow"
+ resources = [
+ "arn:aws:events:us-east-1:996905175585:event-bus/PocketEventBridge-Prod-Shared-Event-Bus",
]
}
+ statement {
+ actions = [
+ "logs:CreateLogGroup",
+ "logs:CreateLogStream",
+ "logs:DescribeLogGroups",
+ "logs:DescribeLogStreams",
+ "logs:PutLogEvents",
+ "xray:GetSamplingRules",
+ "xray:GetSamplingStatisticSummaries",
+ "xray:GetSamplingTargets",
+ "xray:PutTelemetryRecords",
+ "xray:PutTraceSegments",
]
+ effect = "Allow"
+ resources = [
+ "*",
]
}
}
# aws_dynamodb_table.dynamodb_prospects_dynamodb_table_9854E41E will be updated in-place
~ resource "aws_dynamodb_table" "dynamodb_prospects_dynamodb_table_9854E41E" {
id = "PROAPI-Prod-Prospects"
name = "PROAPI-Prod-Prospects"
tags = {
"app_code" = "content"
"component_code" = "content-prospectapi"
"env_code" = "prod"
"environment" = "Prod"
"service" = "ProspectAPI"
}
# (9 unchanged attributes hidden)
- global_secondary_index {
- hash_key = "scheduledSurfaceGuid" -> null
- name = "scheduledSurfaceGuid-prospectType" -> null
- non_key_attributes = [] -> null
- projection_type = "ALL" -> null
- range_key = "prospectType" -> null
- read_capacity = 0 -> null
- write_capacity = 0 -> null
}
+ global_secondary_index {
+ hash_key = "scheduledSurfaceGuid"
+ name = "scheduledSurfaceGuid-prospectType"
+ non_key_attributes = []
+ projection_type = "ALL"
+ range_key = "prospectType"
+ read_capacity = 5
+ write_capacity = 5
}
# (5 unchanged blocks hidden)
}
# aws_iam_policy.application_ecs_service_ecs-iam_ecs-task-role-policy_6FC89FB6 will be updated in-place
~ resource "aws_iam_policy" "application_ecs_service_ecs-iam_ecs-task-role-policy_6FC89FB6" {
id = "arn:aws:iam::996905175585:policy/ProspectAPI-Prod-TaskRolePolicy"
name = "ProspectAPI-Prod-TaskRolePolicy"
~ policy = jsonencode(
{
- Statement = [
- {
- Action = [
- "dynamodb:UpdateItem",
- "dynamodb:Scan",
- "dynamodb:Query",
- "dynamodb:Get*",
- "dynamodb:DescribeTable",
- "dynamodb:BatchGet*",
]
- Effect = "Allow"
- Resource = [
- "arn:aws:dynamodb:us-east-1:996905175585:table/PROAPI-Prod-Prospects/*",
- "arn:aws:dynamodb:us-east-1:996905175585:table/PROAPI-Prod-Prospects",
]
},
- {
- Action = "s3:*"
- Effect = "Allow"
- Resource = [
- "arn:aws:s3:::pocket-prospectapi-prod-images/*",
- "arn:aws:s3:::pocket-prospectapi-prod-images",
]
},
- {
- Action = "events:PutEvents"
- Effect = "Allow"
- Resource = "arn:aws:events:us-east-1:996905175585:event-bus/PocketEventBridge-Prod-Shared-Event-Bus"
},
- {
- Action = [
- "xray:PutTraceSegments",
- "xray:PutTelemetryRecords",
- "xray:GetSamplingTargets",
- "xray:GetSamplingStatisticSummaries",
- "xray:GetSamplingRules",
- "logs:PutLogEvents",
- "logs:DescribeLogStreams",
- "logs:DescribeLogGroups",
- "logs:CreateLogStream",
- "logs:CreateLogGroup",
]
- Effect = "Allow"
- Resource = "*"
},
]
- Version = "2012-10-17"
}
) -> (known after apply)
tags = {
"app_code" = "content"
"component_code" = "content-prospectapi"
"env_code" = "prod"
"environment" = "Prod"
"service" = "ProspectAPI"
}
# (5 unchanged attributes hidden)
}
# aws_lambda_function.bridge-lambda_bridge-sqs-lambda_343B543A will be updated in-place
~ resource "aws_lambda_function" "bridge-lambda_bridge-sqs-lambda_343B543A" {
id = "ProspectAPI-Prod-Sqs-Bridge-Function"
~ qualified_arn = "arn:aws:lambda:us-east-1:996905175585:function:ProspectAPI-Prod-Sqs-Bridge-Function:199" -> (known after apply)
~ qualified_invoke_arn = "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:996905175585:function:ProspectAPI-Prod-Sqs-Bridge-Function:199/invocations" -> (known after apply)
tags = {
"app_code" = "content"
"component_code" = "content-prospectapi"
"env_code" = "prod"
"environment" = "Prod"
"service" = "ProspectAPI"
}
~ version = "199" -> (known after apply)
# (20 unchanged attributes hidden)
~ environment {
~ variables = {
~ "GIT_SHA" = (sensitive value)
# (5 unchanged elements hidden)
}
}
# (4 unchanged blocks hidden)
}
Plan: 0 to add, 3 to change, 0 to destroy. |
ea3b372
to
8cfb9f8
Compare
Plan Result (corpus-scheduler-lambda-cdk-production)
Change Result (Click me) # aws_lambda_function.corpus-scheduler-sqs-lambda_F2ECDF9F will be updated in-place
~ resource "aws_lambda_function" "corpus-scheduler-sqs-lambda_F2ECDF9F" {
id = "CorpusSchedulerLambda-Prod-SQS-Function"
~ qualified_arn = "arn:aws:lambda:us-east-1:996905175585:function:CorpusSchedulerLambda-Prod-SQS-Function:157" -> (known after apply)
~ qualified_invoke_arn = "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:996905175585:function:CorpusSchedulerLambda-Prod-SQS-Function:157/invocations" -> (known after apply)
tags = {
"app_code" = "content"
"component_code" = "content-corpusschedulerlambda"
"env_code" = "prod"
"environment" = "Prod"
"service" = "CorpusSchedulerLambda"
}
~ version = "157" -> (known after apply)
# (20 unchanged attributes hidden)
~ environment {
~ variables = {
~ "GIT_SHA" = (sensitive value)
# (7 unchanged elements hidden)
}
}
# (4 unchanged blocks hidden)
}
Plan: 0 to add, 1 to change, 0 to destroy.
|
katerinachinnappan
approved these changes
Sep 25, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤙🏼🔥
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
collection-api-cdk/destroy
collection-api-cdk-production/no-changes
corpus-scheduler-lambda-cdk/add-or-update
curated-corpus-api-cdk/destroy
curated-corpus-api-cdk-production/no-changes
prospect-api-cdk/add-or-update
prospect-api-cdk-production/add-or-update
prospect-translation-lambda-cdk/add-or-update
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Goal
update prisma to 5.17.0 (latest).
has been pushed to dev and verified.
References
JIRA ticket: