amirainvest / amirainvest_com

Checkout the work we did to build Amira Invest
2 stars 0 forks source link

Josh/watchlist update #306

Closed jlancaster7 closed 2 years ago

jlancaster7 commented 2 years ago

I made a handle full of changes to watchlist logic. I had a hard time understanding the in-mem for loop logic so I rewrote a few of the controller functions to be pure SQL. I know we are using SQLAlchemy, but for the sake of speed, lets just leave it as raw SQL. The impetus of the changes was that I was trying to help Levert hookup the endpoints into the frontend and I ran into a handful of issues with the way it was previously set up:

  1. I couldn't update notes on tickers in a watchlist with what was returned by /watchlist/get or watchlist/list. You need the watchlist_items id, so I added this to /watchlist/get controller function and in the model.
  2. /watchlist/list was returning all of the items in each watchlist when being called. Given that when we will be hitting that endpoint, we only really need the id, name, number of items in the watchlist and the created/updated date, I made this change.
  3. /watchlist_follow/list is meant to return the watchlists that a user follows. It appeared that this hadn't been updated for the update we made to make it so the notes were on the list items, not the list itself. So I updated this.
  4. I also changed the /watchlist_follow/delete endpoint to take the watchlist_id instead of the watchlist_follow_id. Since the delete query uses both the watchlist_id and the user_id, the unique watchlist_follow_id shouldn't be needed and should be more easily accessible on the front end.
github-actions[bot] commented 2 years ago

Terraform Format and Style πŸ–Œsuccess

Terraform Initialization βš™οΈsuccess

Terraform Validation πŸ€–success

Terraform Plan πŸ“–success

Show Plan ``` terraform Running plan in Terraform Cloud. Output will stream here. Pressing Ctrl-C will stop streaming the logs, but will not stop the plan running remotely. Preparing the remote plan... The remote workspace is configured to work with configuration at /terraform relative to the target repository. Terraform will upload the contents of the following directory, excluding files or directories as defined by a .terraformignore file at /home/runner/work/amirainvest_com/amirainvest_com/.terraformignore (if it is present), in order to capture the filesystem context the remote workspace expects: /home/runner/work/amirainvest_com/amirainvest_com To view this run in a browser, visit: https://app.terraform.io/app/Amirainvest/Production/runs/run-ZqTQQXFpeeLR9BY6 Waiting for the plan to start... Terraform v1.1.6 on linux_amd64 Configuring remote state backend... Initializing Terraform configuration... module.backend_api.aws_ecs_cluster.api: Refreshing state... [id=arn:aws:ecs:us-east-1:903791206266:cluster/api] module.data_imports.aws_sqs_queue.expedited-data-imports-deadletters: Refreshing state... [id=https://sqs.us-east-1.amazonaws.com/903791206266/prod-expedited-data-imports-deadletters] module.data_imports.module.lambda_data_loader_producer.aws_iam_policy.write: Refreshing state... [id=arn:aws:iam::903791206266:policy/service-role/prod-data_imports-sqs-data-producer-lambda-sqs-write] module.data_imports.module.lambda_data_loader_consumer_expedited.aws_iam_policy.sqs_read_delete: Refreshing state... [id=arn:aws:iam::903791206266:policy/service-role/prod-data_imports-sqs-data-consumer-expedited-lambda-sqs-read-delete] module.data_imports.aws_ecr_repository.lambda: Refreshing state... [id=amirainvest_com/data_imports.lambda] module.backend_api.aws_sqs_queue.photo-processing-deadletter: Refreshing state... [id=https://sqs.us-east-1.amazonaws.com/903791206266/prod-photo-processing-deadletter] module.market_data_realtime_updates_lambda.module.market_data_realtime_updates_lambda.aws_kms_key.logs: Refreshing state... [id=217e86b1-c5b3-4550-a160-240f1f5c0a5d] module.brokerage_data_lambda.aws_sqs_queue.brokerage-data-deadletter: Refreshing state... [id=https://sqs.us-east-1.amazonaws.com/903791206266/prod-brokerage-data-deadletter] module.backend_api.aws_s3_bucket.amira-user-profile-photos: Refreshing state... [id=prod-amira-user-profile-photos] module.data_imports.module.lambda_data_loader_consumer_expedited.module.lambda.aws_kms_key.logs: Refreshing state... [id=c307942f-e774-4eaf-b85e-5d609b619056] aws_vpc.elastic-beanstalk: Refreshing state... [id=vpc-bb2d45c6] module.market_data_realtime_updates_lambda.aws_cloudwatch_event_rule.working_day_every_minute_cron: Refreshing state... [id=prod-market-data-realtime-updates_working_day_every_minute_cron] module.backend_api.aws_ecr_repository.backend_amirainvest_com: Refreshing state... [id=amirainvest_com/backend_amirainvest_com] module.brokerage_data_lambda.aws_iam_policy.sqs_read_write: Refreshing state... [id=arn:aws:iam::903791206266:policy/service-role/prod-brokerage-data-sqs-consumer-lambda-sqs-read-write] module.market_data_lambda_base.aws_ecr_repository.market_data_lambda: Refreshing state... [id=amirainvest_com/market_data.lambda] module.backend_api.aws_s3_bucket.amira-post-photos: Refreshing state... [id=prod-amira-post-photos] module.data_imports.module.lambda_data_loader_consumer.aws_iam_policy.sqs_read_delete: Refreshing state... [id=arn:aws:iam::903791206266:policy/service-role/prod-data_imports-sqs-data-consumer-lambda-sqs-read-delete] module.data_imports.module.lambda_data_loader_producer.module.lambda_base.aws_kms_key.logs: Refreshing state... [id=2d7a58d2-dfeb-4220-a42f-be6ef9ce6058] module.brokerage_data_lambda.aws_iam_policy.dynamo_read_write: Refreshing state... [id=arn:aws:iam::903791206266:policy/service-role/prod-brokerage-data-sqs-consumer-lambda-dynamo-read-write] module.brokerage_data_lambda.module.brokerage_data_lambda.aws_kms_key.logs: Refreshing state... [id=95cd14b6-48e0-4601-b40e-76f739924927] module.data_imports.aws_sqs_queue.data-imports-deadletters: Refreshing state... [id=https://sqs.us-east-1.amazonaws.com/903791206266/prod-data-imports-deadletters] module.market_data_eod_updates_lambda.aws_cloudwatch_event_rule.working_day_market_close: Refreshing state... [id=prod-market-data-eod-updates_working_day_market_close] module.networking.aws_vpc.public-private: Refreshing state... [id=vpc-004c212060d1b7976] module.data_imports.module.lambda_data_loader_consumer.module.lambda.aws_kms_key.logs: Refreshing state... [id=78ac0baa-2101-44aa-ac40-4f46dad4e4e4] module.backend_api.aws_s3_bucket.amira-post-photos-holding: Refreshing state... [id=prod-amira-post-photos-holding] module.brokerage_data_lambda_base.aws_ecr_repository.brokerage_data_lambda: Refreshing state... [id=amirainvest_com/brokerage.lambda] module.brokerage_data_lambda.aws_dynamodb_table.brokerage_users: Refreshing state... [id=brokerage_users] module.backend_api.aws_s3_bucket.amira-user-profile-photos-holding: Refreshing state... [id=prod-amira-user-profile-photos-holding] module.market_data_eod_updates_lambda.module.market_data_eod_updates_lambda.aws_kms_key.logs: Refreshing state... [id=14e26d7b-a836-4fea-9a28-3a2926b3ba17] module.data_imports.module.lambda_data_loader_consumer_expedited.module.lambda.aws_cloudwatch_log_group.lambda: Refreshing state... [id=/aws/lambda/prod-data_imports-sqs-data-consumer-expedited] module.data_imports.aws_sqs_queue.expedited-data-imports: Refreshing state... [id=https://sqs.us-east-1.amazonaws.com/903791206266/prod-expedited-data-imports] module.market_data_realtime_updates_lambda.module.market_data_realtime_updates_lambda.aws_cloudwatch_log_group.lambda: Refreshing state... [id=/aws/lambda/prod-market-data-realtime-updates] module.brokerage_data_lambda.aws_sqs_queue.brokerage-data: Refreshing state... [id=https://sqs.us-east-1.amazonaws.com/903791206266/prod-brokerage-data] module.backend_api.aws_ecs_cluster_capacity_providers.api: Refreshing state... [id=api] module.backend_api.aws_sqs_queue.photo-processing: Refreshing state... [id=https://sqs.us-east-1.amazonaws.com/903791206266/prod-photo-processing] module.data_imports.module.lambda_data_loader_producer.module.lambda_base.aws_cloudwatch_log_group.lambda: Refreshing state... [id=/aws/lambda/prod-data_imports-sqs-data-producer] module.brokerage_data_lambda.module.brokerage_data_lambda.aws_cloudwatch_log_group.lambda: Refreshing state... [id=/aws/lambda/prod-brokerage-data-sqs-consumer] module.data_imports.module.lambda_data_loader_consumer.module.lambda.aws_cloudwatch_log_group.lambda: Refreshing state... [id=/aws/lambda/prod-data_imports-sqs-data-consumer] module.data_imports.aws_sqs_queue.data-imports: Refreshing state... [id=https://sqs.us-east-1.amazonaws.com/903791206266/prod-data-imports] module.backend_api.aws_s3_bucket_acl.amira-user-profile-photos: Refreshing state... [id=prod-amira-user-profile-photos,private] module.backend_api.aws_s3_bucket_server_side_encryption_configuration.amira-user-profile-photos: Refreshing state... [id=prod-amira-user-profile-photos] module.backend_api.aws_s3_bucket_request_payment_configuration.amira-user-profile-photos: Refreshing state... [id=prod-amira-user-profile-photos] module.backend_api.aws_s3_bucket_versioning.amira-user-profile-photos: Refreshing state... [id=prod-amira-user-profile-photos] module.data_imports.module.lambda_data_loader_consumer_expedited.module.lambda.aws_iam_policy.log-writing: Refreshing state... [id=arn:aws:iam::903791206266:policy/service-role/prod-data_imports-sqs-data-consumer-expedited-lambda-log-writing] module.market_data_eod_updates_lambda.module.market_data_eod_updates_lambda.aws_cloudwatch_log_group.lambda: Refreshing state... [id=/aws/lambda/prod-market-data-eod-updates] module.market_data_realtime_updates_lambda.module.market_data_realtime_updates_lambda.aws_iam_policy.log-writing: Refreshing state... [id=arn:aws:iam::903791206266:policy/service-role/prod-market-data-realtime-updates-lambda-log-writing] module.data_imports.module.lambda_data_loader_producer.module.lambda_base.aws_iam_policy.log-writing: Refreshing state... [id=arn:aws:iam::903791206266:policy/service-role/prod-data_imports-sqs-data-producer-lambda-log-writing] module.backend_api.aws_s3_bucket_server_side_encryption_configuration.amira-post-photos: Refreshing state... [id=prod-amira-post-photos] module.backend_api.aws_s3_bucket_request_payment_configuration.amira-post-photos: Refreshing state... [id=prod-amira-post-photos] module.backend_api.aws_s3_bucket_versioning.amira-post-photos: Refreshing state... [id=prod-amira-post-photos] module.backend_api.aws_s3_bucket_acl.amira-post-photos: Refreshing state... [id=prod-amira-post-photos,private] module.backend_api.aws_ecs_task_definition.api-public-ecs-task-definition: Refreshing state... [id=prod-api-public-ecs-task-definition] module.backend_api.aws_s3_bucket_versioning.amira-post-photos-holding: Refreshing state... [id=prod-amira-post-photos-holding] module.backend_api.aws_s3_bucket_server_side_encryption_configuration.amira-post-photos-holding: Refreshing state... [id=prod-amira-post-photos-holding] module.backend_api.aws_s3_bucket_acl.amira-post-photos-holding: Refreshing state... [id=prod-amira-post-photos-holding,private] module.brokerage_data_lambda.module.brokerage_data_lambda.aws_iam_policy.log-writing: Refreshing state... [id=arn:aws:iam::903791206266:policy/service-role/prod-brokerage-data-sqs-consumer-lambda-log-writing] module.backend_api.aws_s3_bucket_request_payment_configuration.amira-post-photos-holding: Refreshing state... [id=prod-amira-post-photos-holding] module.data_imports.module.lambda_data_loader_consumer.module.lambda.aws_iam_policy.log-writing: Refreshing state... [id=arn:aws:iam::903791206266:policy/service-role/prod-data_imports-sqs-data-consumer-lambda-log-writing] module.market_data_eod_updates_lambda.module.market_data_eod_updates_lambda.aws_iam_policy.log-writing: Refreshing state... [id=arn:aws:iam::903791206266:policy/service-role/prod-market-data-eod-updates-lambda-log-writing] module.backend_api.aws_s3_bucket_request_payment_configuration.amira-user-profile-photos-holding: Refreshing state... [id=prod-amira-user-profile-photos-holding] module.backend_api.aws_s3_bucket_server_side_encryption_configuration.amira-user-profile-photos-holding: Refreshing state... [id=prod-amira-user-profile-photos-holding] module.backend_api.aws_s3_bucket_versioning.amira-user-profile-photos-holding: Refreshing state... [id=prod-amira-user-profile-photos-holding] module.backend_api.aws_s3_bucket_acl.amira-user-profile-photos-holding: Refreshing state... [id=prod-amira-user-profile-photos-holding,private] module.data_imports.module.lambda_data_loader_consumer_expedited.module.lambda.aws_iam_role.lambda: Refreshing state... [id=prod-data_imports-sqs-data-consumer-expedited-lambda] module.data_imports.module.lambda_data_loader_producer.module.lambda_base.aws_iam_role.lambda: Refreshing state... [id=prod-data_imports-sqs-data-producer-lambda] module.market_data_realtime_updates_lambda.module.market_data_realtime_updates_lambda.aws_iam_role.lambda: Refreshing state... [id=prod-market-data-realtime-updates-lambda] module.brokerage_data_lambda.module.brokerage_data_lambda.aws_iam_role.lambda: Refreshing state... [id=prod-brokerage-data-sqs-consumer-lambda] module.data_imports.module.lambda_data_loader_consumer.module.lambda.aws_iam_role.lambda: Refreshing state... [id=prod-data_imports-sqs-data-consumer-lambda] module.market_data_eod_updates_lambda.module.market_data_eod_updates_lambda.aws_iam_role.lambda: Refreshing state... [id=prod-market-data-eod-updates-lambda] module.networking.aws_subnet.private-3: Refreshing state... [id=subnet-0bb4370ccc2df1e3e] module.networking.aws_subnet.public-2: Refreshing state... [id=subnet-073ca0b0ec5005fe9] module.networking.aws_subnet.private-2: Refreshing state... [id=subnet-05a45c47337ce649e] module.networking.aws_subnet.public-1: Refreshing state... [id=subnet-0dca5ef95d08f2d2c] module.networking.aws_subnet.private-1: Refreshing state... [id=subnet-031bdf1a786694a68] module.networking.aws_subnet.public-3: Refreshing state... [id=subnet-09f2a12a119bcc599] module.market_data_eod_updates_lambda.module.market_data_eod_updates_lambda.aws_security_group.lambda: Refreshing state... [id=sg-0c5690a37e13700d2] module.backend_api.aws_security_group.api-public-service: Refreshing state... [id=sg-04c6dcf097a53b73c] module.market_data_realtime_updates_lambda.module.market_data_realtime_updates_lambda.aws_security_group.lambda: Refreshing state... [id=sg-08ef4427aec81f4bc] module.brokerage_data_lambda.module.brokerage_data_lambda.aws_security_group.lambda: Refreshing state... [id=sg-096cd128173fa28d0] module.data_imports.module.lambda_data_loader_consumer.module.lambda.aws_security_group.lambda: Refreshing state... [id=sg-063a7a163ea748422] module.data_imports.module.lambda_data_loader_producer.module.lambda_base.aws_security_group.lambda: Refreshing state... [id=sg-0150ee5e667365ae1] module.data_imports.module.lambda_data_loader_consumer_expedited.module.lambda.aws_security_group.lambda: Refreshing state... [id=sg-0edb93a49368e9eb0] module.backend_api.aws_ecs_service.api-public-service: Refreshing state... [id=arn:aws:ecs:us-east-1:903791206266:service/api/prod-api-public-service] module.market_data_eod_updates_lambda.module.market_data_eod_updates_lambda.aws_lambda_function.main: Refreshing state... [id=prod-market-data-eod-updates] module.market_data_realtime_updates_lambda.module.market_data_realtime_updates_lambda.aws_lambda_function.main: Refreshing state... [id=prod-market-data-realtime-updates] module.data_imports.module.lambda_data_loader_consumer.module.lambda.aws_lambda_function.main: Refreshing state... [id=prod-data_imports-sqs-data-consumer] module.data_imports.module.lambda_data_loader_consumer_expedited.module.lambda.aws_lambda_function.main: Refreshing state... [id=prod-data_imports-sqs-data-consumer-expedited] module.brokerage_data_lambda.module.brokerage_data_lambda.aws_lambda_function.main: Refreshing state... [id=prod-brokerage-data-sqs-consumer] module.data_imports.module.lambda_data_loader_producer.module.lambda_base.aws_lambda_function.main: Refreshing state... [id=prod-data_imports-sqs-data-producer] module.market_data_eod_updates_lambda.aws_lambda_permission.allow_working_day_market_close_cron_to_call_market_data_eod_updates_lambda: Refreshing state... [id=AllowExecutionFromCloudWatch] module.data_imports.module.lambda_data_loader_consumer.aws_lambda_event_source_mapping.sqs-to-consumer-lambda: Refreshing state... [id=4af43d97-439d-43a3-b50b-34cdfdf40ad4] module.market_data_eod_updates_lambda.aws_cloudwatch_event_target.working_day_market_close_cron: Refreshing state... [id=prod-market-data-eod-updates_working_day_market_close-terraform-20220212234456322700000001] module.market_data_realtime_updates_lambda.aws_lambda_permission.allow_working_day_every_minute_cron_to_call_market_data_realtime_updates_lambda: Refreshing state... [id=AllowExecutionFromCloudWatch] module.market_data_realtime_updates_lambda.aws_cloudwatch_event_target.working_day_every_minute_cron: Refreshing state... [id=prod-market-data-realtime-updates_working_day_every_minute_cron-terraform-20220119175437204000000001] module.brokerage_data_lambda.aws_lambda_event_source_mapping.sqs-to-brokerage-data-sqs-consumer-lambda: Refreshing state... [id=23af04aa-8c2d-4965-827c-195bd556a550] module.data_imports.module.lambda_data_loader_consumer_expedited.aws_lambda_event_source_mapping.sqs-to-consumer-lambda: Refreshing state... [id=77642441-2a8e-4649-857a-10d820608e64] No changes. Your infrastructure matches the configuration. Terraform has compared your real infrastructure against your configuration and found no differences, so no changes are needed. ```

Pusher: @jlancaster7, Action: pull_request

github-actions[bot] commented 2 years ago

Terraform Format and Style πŸ–Œsuccess

Terraform Initialization βš™οΈsuccess

Terraform Validation πŸ€–success

Terraform Plan πŸ“–success

Show Plan ``` terraform Running plan in Terraform Cloud. Output will stream here. Pressing Ctrl-C will stop streaming the logs, but will not stop the plan running remotely. Preparing the remote plan... The remote workspace is configured to work with configuration at /terraform relative to the target repository. Terraform will upload the contents of the following directory, excluding files or directories as defined by a .terraformignore file at /home/runner/work/amirainvest_com/amirainvest_com/.terraformignore (if it is present), in order to capture the filesystem context the remote workspace expects: /home/runner/work/amirainvest_com/amirainvest_com To view this run in a browser, visit: https://app.terraform.io/app/Amirainvest/Production/runs/run-iwH5oFyyF2zxXeTs Waiting for the plan to start... Terraform v1.1.6 on linux_amd64 Configuring remote state backend... Initializing Terraform configuration... module.data_imports.module.lambda_data_loader_consumer.aws_iam_policy.sqs_read_delete: Refreshing state... [id=arn:aws:iam::903791206266:policy/service-role/prod-data_imports-sqs-data-consumer-lambda-sqs-read-delete] module.data_imports.aws_ecr_repository.lambda: Refreshing state... [id=amirainvest_com/data_imports.lambda] module.brokerage_data_lambda.module.brokerage_data_lambda.aws_kms_key.logs: Refreshing state... [id=95cd14b6-48e0-4601-b40e-76f739924927] module.data_imports.module.lambda_data_loader_consumer.module.lambda.aws_kms_key.logs: Refreshing state... [id=78ac0baa-2101-44aa-ac40-4f46dad4e4e4] module.data_imports.module.lambda_data_loader_producer.module.lambda_base.aws_kms_key.logs: Refreshing state... [id=2d7a58d2-dfeb-4220-a42f-be6ef9ce6058] module.market_data_eod_updates_lambda.aws_cloudwatch_event_rule.working_day_market_close: Refreshing state... [id=prod-market-data-eod-updates_working_day_market_close] module.market_data_eod_updates_lambda.module.market_data_eod_updates_lambda.aws_kms_key.logs: Refreshing state... [id=14e26d7b-a836-4fea-9a28-3a2926b3ba17] module.data_imports.module.lambda_data_loader_consumer_expedited.module.lambda.aws_kms_key.logs: Refreshing state... [id=c307942f-e774-4eaf-b85e-5d609b619056] module.data_imports.aws_sqs_queue.expedited-data-imports-deadletters: Refreshing state... [id=https://sqs.us-east-1.amazonaws.com/903791206266/prod-expedited-data-imports-deadletters] module.data_imports.aws_sqs_queue.data-imports-deadletters: Refreshing state... [id=https://sqs.us-east-1.amazonaws.com/903791206266/prod-data-imports-deadletters] module.market_data_realtime_updates_lambda.module.market_data_realtime_updates_lambda.aws_kms_key.logs: Refreshing state... [id=217e86b1-c5b3-4550-a160-240f1f5c0a5d] module.brokerage_data_lambda.aws_dynamodb_table.brokerage_users: Refreshing state... [id=brokerage_users] module.brokerage_data_lambda_base.aws_ecr_repository.brokerage_data_lambda: Refreshing state... [id=amirainvest_com/brokerage.lambda] module.market_data_lambda_base.aws_ecr_repository.market_data_lambda: Refreshing state... [id=amirainvest_com/market_data.lambda] module.backend_api.aws_s3_bucket.amira-user-profile-photos: Refreshing state... [id=prod-amira-user-profile-photos] module.backend_api.aws_sqs_queue.photo-processing-deadletter: Refreshing state... [id=https://sqs.us-east-1.amazonaws.com/903791206266/prod-photo-processing-deadletter] module.backend_api.aws_ecr_repository.backend_amirainvest_com: Refreshing state... [id=amirainvest_com/backend_amirainvest_com] module.backend_api.aws_s3_bucket.amira-post-photos-holding: Refreshing state... [id=prod-amira-post-photos-holding] module.networking.aws_vpc.public-private: Refreshing state... [id=vpc-004c212060d1b7976] module.brokerage_data_lambda.aws_iam_policy.dynamo_read_write: Refreshing state... [id=arn:aws:iam::903791206266:policy/service-role/prod-brokerage-data-sqs-consumer-lambda-dynamo-read-write] module.backend_api.aws_ecs_cluster.api: Refreshing state... [id=arn:aws:ecs:us-east-1:903791206266:cluster/api] module.brokerage_data_lambda.aws_iam_policy.sqs_read_write: Refreshing state... [id=arn:aws:iam::903791206266:policy/service-role/prod-brokerage-data-sqs-consumer-lambda-sqs-read-write] module.brokerage_data_lambda.aws_sqs_queue.brokerage-data-deadletter: Refreshing state... [id=https://sqs.us-east-1.amazonaws.com/903791206266/prod-brokerage-data-deadletter] module.data_imports.module.lambda_data_loader_consumer_expedited.aws_iam_policy.sqs_read_delete: Refreshing state... [id=arn:aws:iam::903791206266:policy/service-role/prod-data_imports-sqs-data-consumer-expedited-lambda-sqs-read-delete] module.market_data_realtime_updates_lambda.aws_cloudwatch_event_rule.working_day_every_minute_cron: Refreshing state... [id=prod-market-data-realtime-updates_working_day_every_minute_cron] module.backend_api.aws_s3_bucket.amira-post-photos: Refreshing state... [id=prod-amira-post-photos] module.data_imports.module.lambda_data_loader_producer.aws_iam_policy.write: Refreshing state... [id=arn:aws:iam::903791206266:policy/service-role/prod-data_imports-sqs-data-producer-lambda-sqs-write] aws_vpc.elastic-beanstalk: Refreshing state... [id=vpc-bb2d45c6] module.backend_api.aws_s3_bucket.amira-user-profile-photos-holding: Refreshing state... [id=prod-amira-user-profile-photos-holding] module.data_imports.module.lambda_data_loader_consumer.module.lambda.aws_cloudwatch_log_group.lambda: Refreshing state... [id=/aws/lambda/prod-data_imports-sqs-data-consumer] module.market_data_eod_updates_lambda.module.market_data_eod_updates_lambda.aws_cloudwatch_log_group.lambda: Refreshing state... [id=/aws/lambda/prod-market-data-eod-updates] module.brokerage_data_lambda.module.brokerage_data_lambda.aws_cloudwatch_log_group.lambda: Refreshing state... [id=/aws/lambda/prod-brokerage-data-sqs-consumer] module.data_imports.module.lambda_data_loader_consumer_expedited.module.lambda.aws_cloudwatch_log_group.lambda: Refreshing state... [id=/aws/lambda/prod-data_imports-sqs-data-consumer-expedited] module.data_imports.aws_sqs_queue.data-imports: Refreshing state... [id=https://sqs.us-east-1.amazonaws.com/903791206266/prod-data-imports] module.data_imports.module.lambda_data_loader_producer.module.lambda_base.aws_cloudwatch_log_group.lambda: Refreshing state... [id=/aws/lambda/prod-data_imports-sqs-data-producer] module.data_imports.aws_sqs_queue.expedited-data-imports: Refreshing state... [id=https://sqs.us-east-1.amazonaws.com/903791206266/prod-expedited-data-imports] module.backend_api.aws_sqs_queue.photo-processing: Refreshing state... [id=https://sqs.us-east-1.amazonaws.com/903791206266/prod-photo-processing] module.brokerage_data_lambda.aws_sqs_queue.brokerage-data: Refreshing state... [id=https://sqs.us-east-1.amazonaws.com/903791206266/prod-brokerage-data] module.backend_api.aws_ecs_cluster_capacity_providers.api: Refreshing state... [id=api] module.market_data_realtime_updates_lambda.module.market_data_realtime_updates_lambda.aws_cloudwatch_log_group.lambda: Refreshing state... [id=/aws/lambda/prod-market-data-realtime-updates] module.data_imports.module.lambda_data_loader_consumer.module.lambda.aws_iam_policy.log-writing: Refreshing state... [id=arn:aws:iam::903791206266:policy/service-role/prod-data_imports-sqs-data-consumer-lambda-log-writing] module.market_data_eod_updates_lambda.module.market_data_eod_updates_lambda.aws_iam_policy.log-writing: Refreshing state... [id=arn:aws:iam::903791206266:policy/service-role/prod-market-data-eod-updates-lambda-log-writing] module.brokerage_data_lambda.module.brokerage_data_lambda.aws_iam_policy.log-writing: Refreshing state... [id=arn:aws:iam::903791206266:policy/service-role/prod-brokerage-data-sqs-consumer-lambda-log-writing] module.data_imports.module.lambda_data_loader_consumer_expedited.module.lambda.aws_iam_policy.log-writing: Refreshing state... [id=arn:aws:iam::903791206266:policy/service-role/prod-data_imports-sqs-data-consumer-expedited-lambda-log-writing] module.data_imports.module.lambda_data_loader_producer.module.lambda_base.aws_iam_policy.log-writing: Refreshing state... [id=arn:aws:iam::903791206266:policy/service-role/prod-data_imports-sqs-data-producer-lambda-log-writing] module.backend_api.aws_s3_bucket_acl.amira-post-photos-holding: Refreshing state... [id=prod-amira-post-photos-holding,private] module.backend_api.aws_s3_bucket_versioning.amira-post-photos-holding: Refreshing state... [id=prod-amira-post-photos-holding] module.backend_api.aws_s3_bucket_server_side_encryption_configuration.amira-post-photos-holding: Refreshing state... [id=prod-amira-post-photos-holding] module.backend_api.aws_s3_bucket_request_payment_configuration.amira-post-photos-holding: Refreshing state... [id=prod-amira-post-photos-holding] module.backend_api.aws_ecs_task_definition.api-public-ecs-task-definition: Refreshing state... [id=prod-api-public-ecs-task-definition] module.backend_api.aws_s3_bucket_versioning.amira-user-profile-photos: Refreshing state... [id=prod-amira-user-profile-photos] module.backend_api.aws_s3_bucket_acl.amira-user-profile-photos: Refreshing state... [id=prod-amira-user-profile-photos,private] module.backend_api.aws_s3_bucket_server_side_encryption_configuration.amira-user-profile-photos: Refreshing state... [id=prod-amira-user-profile-photos] module.backend_api.aws_s3_bucket_request_payment_configuration.amira-user-profile-photos: Refreshing state... [id=prod-amira-user-profile-photos] module.backend_api.aws_s3_bucket_acl.amira-post-photos: Refreshing state... [id=prod-amira-post-photos,private] module.backend_api.aws_s3_bucket_versioning.amira-post-photos: Refreshing state... [id=prod-amira-post-photos] module.backend_api.aws_s3_bucket_server_side_encryption_configuration.amira-post-photos: Refreshing state... [id=prod-amira-post-photos] module.market_data_realtime_updates_lambda.module.market_data_realtime_updates_lambda.aws_iam_policy.log-writing: Refreshing state... [id=arn:aws:iam::903791206266:policy/service-role/prod-market-data-realtime-updates-lambda-log-writing] module.backend_api.aws_s3_bucket_server_side_encryption_configuration.amira-user-profile-photos-holding: Refreshing state... [id=prod-amira-user-profile-photos-holding] module.backend_api.aws_s3_bucket_acl.amira-user-profile-photos-holding: Refreshing state... [id=prod-amira-user-profile-photos-holding,private] module.backend_api.aws_s3_bucket_request_payment_configuration.amira-user-profile-photos-holding: Refreshing state... [id=prod-amira-user-profile-photos-holding] module.backend_api.aws_s3_bucket_versioning.amira-user-profile-photos-holding: Refreshing state... [id=prod-amira-user-profile-photos-holding] module.backend_api.aws_s3_bucket_request_payment_configuration.amira-post-photos: Refreshing state... [id=prod-amira-post-photos] module.data_imports.module.lambda_data_loader_consumer.module.lambda.aws_iam_role.lambda: Refreshing state... [id=prod-data_imports-sqs-data-consumer-lambda] module.brokerage_data_lambda.module.brokerage_data_lambda.aws_iam_role.lambda: Refreshing state... [id=prod-brokerage-data-sqs-consumer-lambda] module.networking.aws_subnet.public-2: Refreshing state... [id=subnet-073ca0b0ec5005fe9] module.networking.aws_subnet.public-3: Refreshing state... [id=subnet-09f2a12a119bcc599] module.networking.aws_subnet.private-2: Refreshing state... [id=subnet-05a45c47337ce649e] module.networking.aws_subnet.private-3: Refreshing state... [id=subnet-0bb4370ccc2df1e3e] module.networking.aws_subnet.private-1: Refreshing state... [id=subnet-031bdf1a786694a68] module.networking.aws_subnet.public-1: Refreshing state... [id=subnet-0dca5ef95d08f2d2c] module.data_imports.module.lambda_data_loader_consumer_expedited.module.lambda.aws_iam_role.lambda: Refreshing state... [id=prod-data_imports-sqs-data-consumer-expedited-lambda] module.market_data_eod_updates_lambda.module.market_data_eod_updates_lambda.aws_iam_role.lambda: Refreshing state... [id=prod-market-data-eod-updates-lambda] module.data_imports.module.lambda_data_loader_producer.module.lambda_base.aws_iam_role.lambda: Refreshing state... [id=prod-data_imports-sqs-data-producer-lambda] module.backend_api.aws_security_group.api-public-service: Refreshing state... [id=sg-04c6dcf097a53b73c] module.market_data_realtime_updates_lambda.module.market_data_realtime_updates_lambda.aws_iam_role.lambda: Refreshing state... [id=prod-market-data-realtime-updates-lambda] module.brokerage_data_lambda.module.brokerage_data_lambda.aws_security_group.lambda: Refreshing state... [id=sg-096cd128173fa28d0] module.market_data_realtime_updates_lambda.module.market_data_realtime_updates_lambda.aws_security_group.lambda: Refreshing state... [id=sg-08ef4427aec81f4bc] module.market_data_eod_updates_lambda.module.market_data_eod_updates_lambda.aws_security_group.lambda: Refreshing state... [id=sg-0c5690a37e13700d2] module.data_imports.module.lambda_data_loader_consumer_expedited.module.lambda.aws_security_group.lambda: Refreshing state... [id=sg-0edb93a49368e9eb0] module.data_imports.module.lambda_data_loader_producer.module.lambda_base.aws_security_group.lambda: Refreshing state... [id=sg-0150ee5e667365ae1] module.data_imports.module.lambda_data_loader_consumer.module.lambda.aws_security_group.lambda: Refreshing state... [id=sg-063a7a163ea748422] module.backend_api.aws_ecs_service.api-public-service: Refreshing state... [id=arn:aws:ecs:us-east-1:903791206266:service/api/prod-api-public-service] module.brokerage_data_lambda.module.brokerage_data_lambda.aws_lambda_function.main: Refreshing state... [id=prod-brokerage-data-sqs-consumer] module.data_imports.module.lambda_data_loader_consumer_expedited.module.lambda.aws_lambda_function.main: Refreshing state... [id=prod-data_imports-sqs-data-consumer-expedited] module.market_data_eod_updates_lambda.module.market_data_eod_updates_lambda.aws_lambda_function.main: Refreshing state... [id=prod-market-data-eod-updates] module.data_imports.module.lambda_data_loader_producer.module.lambda_base.aws_lambda_function.main: Refreshing state... [id=prod-data_imports-sqs-data-producer] module.data_imports.module.lambda_data_loader_consumer.module.lambda.aws_lambda_function.main: Refreshing state... [id=prod-data_imports-sqs-data-consumer] module.market_data_realtime_updates_lambda.module.market_data_realtime_updates_lambda.aws_lambda_function.main: Refreshing state... [id=prod-market-data-realtime-updates] module.brokerage_data_lambda.aws_lambda_event_source_mapping.sqs-to-brokerage-data-sqs-consumer-lambda: Refreshing state... [id=23af04aa-8c2d-4965-827c-195bd556a550] module.data_imports.module.lambda_data_loader_consumer_expedited.aws_lambda_event_source_mapping.sqs-to-consumer-lambda: Refreshing state... [id=77642441-2a8e-4649-857a-10d820608e64] module.data_imports.module.lambda_data_loader_consumer.aws_lambda_event_source_mapping.sqs-to-consumer-lambda: Refreshing state... [id=4af43d97-439d-43a3-b50b-34cdfdf40ad4] module.market_data_realtime_updates_lambda.aws_lambda_permission.allow_working_day_every_minute_cron_to_call_market_data_realtime_updates_lambda: Refreshing state... [id=AllowExecutionFromCloudWatch] module.market_data_realtime_updates_lambda.aws_cloudwatch_event_target.working_day_every_minute_cron: Refreshing state... [id=prod-market-data-realtime-updates_working_day_every_minute_cron-terraform-20220119175437204000000001] module.market_data_eod_updates_lambda.aws_cloudwatch_event_target.working_day_market_close_cron: Refreshing state... [id=prod-market-data-eod-updates_working_day_market_close-terraform-20220212234456322700000001] module.market_data_eod_updates_lambda.aws_lambda_permission.allow_working_day_market_close_cron_to_call_market_data_eod_updates_lambda: Refreshing state... [id=AllowExecutionFromCloudWatch] No changes. Your infrastructure matches the configuration. Terraform has compared your real infrastructure against your configuration and found no differences, so no changes are needed. ```

Pusher: @jlancaster7, Action: pull_request

github-actions[bot] commented 2 years ago

Terraform Format and Style πŸ–Œsuccess

Terraform Initialization βš™οΈsuccess

Terraform Validation πŸ€–success

Terraform Plan πŸ“–success

Show Plan ``` terraform Running plan in Terraform Cloud. Output will stream here. Pressing Ctrl-C will stop streaming the logs, but will not stop the plan running remotely. Preparing the remote plan... The remote workspace is configured to work with configuration at /terraform relative to the target repository. Terraform will upload the contents of the following directory, excluding files or directories as defined by a .terraformignore file at /home/runner/work/amirainvest_com/amirainvest_com/.terraformignore (if it is present), in order to capture the filesystem context the remote workspace expects: /home/runner/work/amirainvest_com/amirainvest_com To view this run in a browser, visit: https://app.terraform.io/app/Amirainvest/Production/runs/run-q7qUjG9QiMEskKVe Waiting for the plan to start... Terraform v1.1.6 on linux_amd64 Configuring remote state backend... Initializing Terraform configuration... module.data_imports.module.lambda_data_loader_consumer.aws_iam_policy.sqs_read_delete: Refreshing state... [id=arn:aws:iam::903791206266:policy/service-role/prod-data_imports-sqs-data-consumer-lambda-sqs-read-delete] module.backend_api.aws_ecr_repository.backend_amirainvest_com: Refreshing state... [id=amirainvest_com/backend_amirainvest_com] module.market_data_lambda_base.aws_ecr_repository.market_data_lambda: Refreshing state... [id=amirainvest_com/market_data.lambda] module.backend_api.aws_ecs_cluster.api: Refreshing state... [id=arn:aws:ecs:us-east-1:903791206266:cluster/api] module.data_imports.aws_sqs_queue.expedited-data-imports-deadletters: Refreshing state... [id=https://sqs.us-east-1.amazonaws.com/903791206266/prod-expedited-data-imports-deadletters] module.market_data_eod_updates_lambda.aws_cloudwatch_event_rule.working_day_market_close: Refreshing state... [id=prod-market-data-eod-updates_working_day_market_close] module.data_imports.aws_ecr_repository.lambda: Refreshing state... [id=amirainvest_com/data_imports.lambda] module.brokerage_data_lambda.aws_dynamodb_table.brokerage_users: Refreshing state... [id=brokerage_users] module.data_imports.module.lambda_data_loader_producer.aws_iam_policy.write: Refreshing state... [id=arn:aws:iam::903791206266:policy/service-role/prod-data_imports-sqs-data-producer-lambda-sqs-write] module.data_imports.aws_sqs_queue.data-imports-deadletters: Refreshing state... [id=https://sqs.us-east-1.amazonaws.com/903791206266/prod-data-imports-deadletters] module.backend_api.aws_sqs_queue.photo-processing-deadletter: Refreshing state... [id=https://sqs.us-east-1.amazonaws.com/903791206266/prod-photo-processing-deadletter] module.brokerage_data_lambda.aws_iam_policy.sqs_read_write: Refreshing state... [id=arn:aws:iam::903791206266:policy/service-role/prod-brokerage-data-sqs-consumer-lambda-sqs-read-write] module.data_imports.module.lambda_data_loader_consumer_expedited.module.lambda.aws_kms_key.logs: Refreshing state... [id=c307942f-e774-4eaf-b85e-5d609b619056] module.backend_api.aws_s3_bucket.amira-user-profile-photos-holding: Refreshing state... [id=prod-amira-user-profile-photos-holding] module.data_imports.module.lambda_data_loader_consumer_expedited.aws_iam_policy.sqs_read_delete: Refreshing state... [id=arn:aws:iam::903791206266:policy/service-role/prod-data_imports-sqs-data-consumer-expedited-lambda-sqs-read-delete] aws_vpc.elastic-beanstalk: Refreshing state... [id=vpc-bb2d45c6] module.backend_api.aws_s3_bucket.amira-user-profile-photos: Refreshing state... [id=prod-amira-user-profile-photos] module.market_data_realtime_updates_lambda.module.market_data_realtime_updates_lambda.aws_kms_key.logs: Refreshing state... [id=217e86b1-c5b3-4550-a160-240f1f5c0a5d] module.brokerage_data_lambda_base.aws_ecr_repository.brokerage_data_lambda: Refreshing state... [id=amirainvest_com/brokerage.lambda] module.networking.aws_vpc.public-private: Refreshing state... [id=vpc-004c212060d1b7976] module.market_data_realtime_updates_lambda.aws_cloudwatch_event_rule.working_day_every_minute_cron: Refreshing state... [id=prod-market-data-realtime-updates_working_day_every_minute_cron] module.data_imports.module.lambda_data_loader_consumer.module.lambda.aws_kms_key.logs: Refreshing state... [id=78ac0baa-2101-44aa-ac40-4f46dad4e4e4] module.brokerage_data_lambda.aws_iam_policy.dynamo_read_write: Refreshing state... [id=arn:aws:iam::903791206266:policy/service-role/prod-brokerage-data-sqs-consumer-lambda-dynamo-read-write] module.backend_api.aws_s3_bucket.amira-post-photos: Refreshing state... [id=prod-amira-post-photos] module.data_imports.module.lambda_data_loader_producer.module.lambda_base.aws_kms_key.logs: Refreshing state... [id=2d7a58d2-dfeb-4220-a42f-be6ef9ce6058] module.brokerage_data_lambda.module.brokerage_data_lambda.aws_kms_key.logs: Refreshing state... [id=95cd14b6-48e0-4601-b40e-76f739924927] module.market_data_eod_updates_lambda.module.market_data_eod_updates_lambda.aws_kms_key.logs: Refreshing state... [id=14e26d7b-a836-4fea-9a28-3a2926b3ba17] module.backend_api.aws_s3_bucket.amira-post-photos-holding: Refreshing state... [id=prod-amira-post-photos-holding] module.brokerage_data_lambda.aws_sqs_queue.brokerage-data-deadletter: Refreshing state... [id=https://sqs.us-east-1.amazonaws.com/903791206266/prod-brokerage-data-deadletter] module.backend_api.aws_ecs_cluster_capacity_providers.api: Refreshing state... [id=api] module.data_imports.aws_sqs_queue.expedited-data-imports: Refreshing state... [id=https://sqs.us-east-1.amazonaws.com/903791206266/prod-expedited-data-imports] module.backend_api.aws_sqs_queue.photo-processing: Refreshing state... [id=https://sqs.us-east-1.amazonaws.com/903791206266/prod-photo-processing] module.data_imports.module.lambda_data_loader_consumer_expedited.module.lambda.aws_cloudwatch_log_group.lambda: Refreshing state... [id=/aws/lambda/prod-data_imports-sqs-data-consumer-expedited] module.data_imports.aws_sqs_queue.data-imports: Refreshing state... [id=https://sqs.us-east-1.amazonaws.com/903791206266/prod-data-imports] module.data_imports.module.lambda_data_loader_consumer.module.lambda.aws_cloudwatch_log_group.lambda: Refreshing state... [id=/aws/lambda/prod-data_imports-sqs-data-consumer] module.market_data_realtime_updates_lambda.module.market_data_realtime_updates_lambda.aws_cloudwatch_log_group.lambda: Refreshing state... [id=/aws/lambda/prod-market-data-realtime-updates] module.data_imports.module.lambda_data_loader_producer.module.lambda_base.aws_cloudwatch_log_group.lambda: Refreshing state... [id=/aws/lambda/prod-data_imports-sqs-data-producer] module.brokerage_data_lambda.module.brokerage_data_lambda.aws_cloudwatch_log_group.lambda: Refreshing state... [id=/aws/lambda/prod-brokerage-data-sqs-consumer] module.market_data_eod_updates_lambda.module.market_data_eod_updates_lambda.aws_cloudwatch_log_group.lambda: Refreshing state... [id=/aws/lambda/prod-market-data-eod-updates] module.brokerage_data_lambda.aws_sqs_queue.brokerage-data: Refreshing state... [id=https://sqs.us-east-1.amazonaws.com/903791206266/prod-brokerage-data] module.backend_api.aws_ecs_task_definition.api-public-ecs-task-definition: Refreshing state... [id=prod-api-public-ecs-task-definition] module.backend_api.aws_s3_bucket_acl.amira-user-profile-photos-holding: Refreshing state... [id=prod-amira-user-profile-photos-holding,private] module.backend_api.aws_s3_bucket_request_payment_configuration.amira-user-profile-photos-holding: Refreshing state... [id=prod-amira-user-profile-photos-holding] module.backend_api.aws_s3_bucket_server_side_encryption_configuration.amira-user-profile-photos-holding: Refreshing state... [id=prod-amira-user-profile-photos-holding] module.backend_api.aws_s3_bucket_versioning.amira-user-profile-photos-holding: Refreshing state... [id=prod-amira-user-profile-photos-holding] module.backend_api.aws_s3_bucket_server_side_encryption_configuration.amira-user-profile-photos: Refreshing state... [id=prod-amira-user-profile-photos] module.backend_api.aws_s3_bucket_versioning.amira-user-profile-photos: Refreshing state... [id=prod-amira-user-profile-photos] module.backend_api.aws_s3_bucket_acl.amira-user-profile-photos: Refreshing state... [id=prod-amira-user-profile-photos,private] module.backend_api.aws_s3_bucket_request_payment_configuration.amira-user-profile-photos: Refreshing state... [id=prod-amira-user-profile-photos] module.data_imports.module.lambda_data_loader_consumer_expedited.module.lambda.aws_iam_policy.log-writing: Refreshing state... [id=arn:aws:iam::903791206266:policy/service-role/prod-data_imports-sqs-data-consumer-expedited-lambda-log-writing] module.data_imports.module.lambda_data_loader_producer.module.lambda_base.aws_iam_policy.log-writing: Refreshing state... [id=arn:aws:iam::903791206266:policy/service-role/prod-data_imports-sqs-data-producer-lambda-log-writing] module.market_data_realtime_updates_lambda.module.market_data_realtime_updates_lambda.aws_iam_policy.log-writing: Refreshing state... [id=arn:aws:iam::903791206266:policy/service-role/prod-market-data-realtime-updates-lambda-log-writing] module.brokerage_data_lambda.module.brokerage_data_lambda.aws_iam_policy.log-writing: Refreshing state... [id=arn:aws:iam::903791206266:policy/service-role/prod-brokerage-data-sqs-consumer-lambda-log-writing] module.backend_api.aws_s3_bucket_server_side_encryption_configuration.amira-post-photos: Refreshing state... [id=prod-amira-post-photos] module.backend_api.aws_s3_bucket_versioning.amira-post-photos: Refreshing state... [id=prod-amira-post-photos] module.backend_api.aws_s3_bucket_request_payment_configuration.amira-post-photos: Refreshing state... [id=prod-amira-post-photos] module.backend_api.aws_s3_bucket_acl.amira-post-photos: Refreshing state... [id=prod-amira-post-photos,private] module.market_data_eod_updates_lambda.module.market_data_eod_updates_lambda.aws_iam_policy.log-writing: Refreshing state... [id=arn:aws:iam::903791206266:policy/service-role/prod-market-data-eod-updates-lambda-log-writing] module.data_imports.module.lambda_data_loader_consumer.module.lambda.aws_iam_policy.log-writing: Refreshing state... [id=arn:aws:iam::903791206266:policy/service-role/prod-data_imports-sqs-data-consumer-lambda-log-writing] module.backend_api.aws_s3_bucket_acl.amira-post-photos-holding: Refreshing state... [id=prod-amira-post-photos-holding,private] module.backend_api.aws_s3_bucket_versioning.amira-post-photos-holding: Refreshing state... [id=prod-amira-post-photos-holding] module.backend_api.aws_s3_bucket_server_side_encryption_configuration.amira-post-photos-holding: Refreshing state... [id=prod-amira-post-photos-holding] module.backend_api.aws_s3_bucket_request_payment_configuration.amira-post-photos-holding: Refreshing state... [id=prod-amira-post-photos-holding] module.data_imports.module.lambda_data_loader_consumer_expedited.module.lambda.aws_iam_role.lambda: Refreshing state... [id=prod-data_imports-sqs-data-consumer-expedited-lambda] module.market_data_realtime_updates_lambda.module.market_data_realtime_updates_lambda.aws_iam_role.lambda: Refreshing state... [id=prod-market-data-realtime-updates-lambda] module.brokerage_data_lambda.module.brokerage_data_lambda.aws_iam_role.lambda: Refreshing state... [id=prod-brokerage-data-sqs-consumer-lambda] module.data_imports.module.lambda_data_loader_producer.module.lambda_base.aws_iam_role.lambda: Refreshing state... [id=prod-data_imports-sqs-data-producer-lambda] module.market_data_eod_updates_lambda.module.market_data_eod_updates_lambda.aws_iam_role.lambda: Refreshing state... [id=prod-market-data-eod-updates-lambda] module.data_imports.module.lambda_data_loader_consumer.module.lambda.aws_iam_role.lambda: Refreshing state... [id=prod-data_imports-sqs-data-consumer-lambda] module.networking.aws_subnet.public-3: Refreshing state... [id=subnet-09f2a12a119bcc599] module.networking.aws_subnet.private-3: Refreshing state... [id=subnet-0bb4370ccc2df1e3e] module.networking.aws_subnet.public-1: Refreshing state... [id=subnet-0dca5ef95d08f2d2c] module.networking.aws_subnet.private-2: Refreshing state... [id=subnet-05a45c47337ce649e] module.networking.aws_subnet.private-1: Refreshing state... [id=subnet-031bdf1a786694a68] module.networking.aws_subnet.public-2: Refreshing state... [id=subnet-073ca0b0ec5005fe9] module.market_data_realtime_updates_lambda.module.market_data_realtime_updates_lambda.aws_security_group.lambda: Refreshing state... [id=sg-08ef4427aec81f4bc] module.backend_api.aws_security_group.api-public-service: Refreshing state... [id=sg-04c6dcf097a53b73c] module.brokerage_data_lambda.module.brokerage_data_lambda.aws_security_group.lambda: Refreshing state... [id=sg-096cd128173fa28d0] module.market_data_eod_updates_lambda.module.market_data_eod_updates_lambda.aws_security_group.lambda: Refreshing state... [id=sg-0c5690a37e13700d2] module.data_imports.module.lambda_data_loader_consumer.module.lambda.aws_security_group.lambda: Refreshing state... [id=sg-063a7a163ea748422] module.data_imports.module.lambda_data_loader_producer.module.lambda_base.aws_security_group.lambda: Refreshing state... [id=sg-0150ee5e667365ae1] module.data_imports.module.lambda_data_loader_consumer_expedited.module.lambda.aws_security_group.lambda: Refreshing state... [id=sg-0edb93a49368e9eb0] module.backend_api.aws_ecs_service.api-public-service: Refreshing state... [id=arn:aws:ecs:us-east-1:903791206266:service/api/prod-api-public-service] module.market_data_realtime_updates_lambda.module.market_data_realtime_updates_lambda.aws_lambda_function.main: Refreshing state... [id=prod-market-data-realtime-updates] module.brokerage_data_lambda.module.brokerage_data_lambda.aws_lambda_function.main: Refreshing state... [id=prod-brokerage-data-sqs-consumer] module.data_imports.module.lambda_data_loader_consumer.module.lambda.aws_lambda_function.main: Refreshing state... [id=prod-data_imports-sqs-data-consumer] module.market_data_eod_updates_lambda.module.market_data_eod_updates_lambda.aws_lambda_function.main: Refreshing state... [id=prod-market-data-eod-updates] module.data_imports.module.lambda_data_loader_producer.module.lambda_base.aws_lambda_function.main: Refreshing state... [id=prod-data_imports-sqs-data-producer] module.data_imports.module.lambda_data_loader_consumer_expedited.module.lambda.aws_lambda_function.main: Refreshing state... [id=prod-data_imports-sqs-data-consumer-expedited] module.market_data_realtime_updates_lambda.aws_cloudwatch_event_target.working_day_every_minute_cron: Refreshing state... [id=prod-market-data-realtime-updates_working_day_every_minute_cron-terraform-20220119175437204000000001] module.market_data_realtime_updates_lambda.aws_lambda_permission.allow_working_day_every_minute_cron_to_call_market_data_realtime_updates_lambda: Refreshing state... [id=AllowExecutionFromCloudWatch] module.brokerage_data_lambda.aws_lambda_event_source_mapping.sqs-to-brokerage-data-sqs-consumer-lambda: Refreshing state... [id=23af04aa-8c2d-4965-827c-195bd556a550] module.data_imports.module.lambda_data_loader_consumer.aws_lambda_event_source_mapping.sqs-to-consumer-lambda: Refreshing state... [id=4af43d97-439d-43a3-b50b-34cdfdf40ad4] module.data_imports.module.lambda_data_loader_consumer_expedited.aws_lambda_event_source_mapping.sqs-to-consumer-lambda: Refreshing state... [id=77642441-2a8e-4649-857a-10d820608e64] module.market_data_eod_updates_lambda.aws_lambda_permission.allow_working_day_market_close_cron_to_call_market_data_eod_updates_lambda: Refreshing state... [id=AllowExecutionFromCloudWatch] module.market_data_eod_updates_lambda.aws_cloudwatch_event_target.working_day_market_close_cron: Refreshing state... [id=prod-market-data-eod-updates_working_day_market_close-terraform-20220212234456322700000001] No changes. Your infrastructure matches the configuration. Terraform has compared your real infrastructure against your configuration and found no differences, so no changes are needed. ```

Pusher: @jlancaster7, Action: pull_request

github-actions[bot] commented 2 years ago

Terraform Format and Style πŸ–Œsuccess

Terraform Initialization βš™οΈsuccess

Terraform Validation πŸ€–success

Terraform Plan πŸ“–success

Show Plan ``` terraform Running plan in Terraform Cloud. Output will stream here. Pressing Ctrl-C will stop streaming the logs, but will not stop the plan running remotely. Preparing the remote plan... The remote workspace is configured to work with configuration at /terraform relative to the target repository. Terraform will upload the contents of the following directory, excluding files or directories as defined by a .terraformignore file at /home/runner/work/amirainvest_com/amirainvest_com/.terraformignore (if it is present), in order to capture the filesystem context the remote workspace expects: /home/runner/work/amirainvest_com/amirainvest_com To view this run in a browser, visit: https://app.terraform.io/app/Amirainvest/Production/runs/run-y2oaXDHiVu4SLr4W Waiting for the plan to start... Terraform v1.1.6 on linux_amd64 Configuring remote state backend... Initializing Terraform configuration... module.networking.aws_vpc.public-private: Refreshing state... [id=vpc-004c212060d1b7976] module.market_data_realtime_updates_lambda.module.market_data_realtime_updates_lambda.aws_kms_key.logs: Refreshing state... [id=217e86b1-c5b3-4550-a160-240f1f5c0a5d] module.brokerage_data_lambda.aws_iam_policy.dynamo_read_write: Refreshing state... [id=arn:aws:iam::903791206266:policy/service-role/prod-brokerage-data-sqs-consumer-lambda-dynamo-read-write] module.data_imports.module.lambda_data_loader_consumer.aws_iam_policy.sqs_read_delete: Refreshing state... [id=arn:aws:iam::903791206266:policy/service-role/prod-data_imports-sqs-data-consumer-lambda-sqs-read-delete] module.data_imports.aws_ecr_repository.lambda: Refreshing state... [id=amirainvest_com/data_imports.lambda] module.market_data_lambda_base.aws_ecr_repository.market_data_lambda: Refreshing state... [id=amirainvest_com/market_data.lambda] module.market_data_eod_updates_lambda.aws_cloudwatch_event_rule.working_day_market_close: Refreshing state... [id=prod-market-data-eod-updates_working_day_market_close] module.data_imports.module.lambda_data_loader_consumer.module.lambda.aws_kms_key.logs: Refreshing state... [id=78ac0baa-2101-44aa-ac40-4f46dad4e4e4] module.backend_api.aws_sqs_queue.photo-processing-deadletter: Refreshing state... [id=https://sqs.us-east-1.amazonaws.com/903791206266/prod-photo-processing-deadletter] module.data_imports.module.lambda_data_loader_producer.module.lambda_base.aws_kms_key.logs: Refreshing state... [id=2d7a58d2-dfeb-4220-a42f-be6ef9ce6058] module.data_imports.module.lambda_data_loader_consumer_expedited.module.lambda.aws_kms_key.logs: Refreshing state... [id=c307942f-e774-4eaf-b85e-5d609b619056] module.backend_api.aws_s3_bucket.amira-user-profile-photos-holding: Refreshing state... [id=prod-amira-user-profile-photos-holding] module.data_imports.aws_sqs_queue.data-imports-deadletters: Refreshing state... [id=https://sqs.us-east-1.amazonaws.com/903791206266/prod-data-imports-deadletters] module.backend_api.aws_s3_bucket.amira-user-profile-photos: Refreshing state... [id=prod-amira-user-profile-photos] module.backend_api.aws_s3_bucket.amira-post-photos: Refreshing state... [id=prod-amira-post-photos] module.brokerage_data_lambda.aws_iam_policy.sqs_read_write: Refreshing state... [id=arn:aws:iam::903791206266:policy/service-role/prod-brokerage-data-sqs-consumer-lambda-sqs-read-write] module.brokerage_data_lambda_base.aws_ecr_repository.brokerage_data_lambda: Refreshing state... [id=amirainvest_com/brokerage.lambda] module.brokerage_data_lambda.aws_dynamodb_table.brokerage_users: Refreshing state... [id=brokerage_users] module.backend_api.aws_s3_bucket.amira-post-photos-holding: Refreshing state... [id=prod-amira-post-photos-holding] module.backend_api.aws_ecr_repository.backend_amirainvest_com: Refreshing state... [id=amirainvest_com/backend_amirainvest_com] module.data_imports.aws_sqs_queue.expedited-data-imports-deadletters: Refreshing state... [id=https://sqs.us-east-1.amazonaws.com/903791206266/prod-expedited-data-imports-deadletters] module.market_data_eod_updates_lambda.module.market_data_eod_updates_lambda.aws_kms_key.logs: Refreshing state... [id=14e26d7b-a836-4fea-9a28-3a2926b3ba17] module.backend_api.aws_ecs_cluster.api: Refreshing state... [id=arn:aws:ecs:us-east-1:903791206266:cluster/api] module.market_data_realtime_updates_lambda.aws_cloudwatch_event_rule.working_day_every_minute_cron: Refreshing state... [id=prod-market-data-realtime-updates_working_day_every_minute_cron] module.brokerage_data_lambda.module.brokerage_data_lambda.aws_kms_key.logs: Refreshing state... [id=95cd14b6-48e0-4601-b40e-76f739924927] module.brokerage_data_lambda.aws_sqs_queue.brokerage-data-deadletter: Refreshing state... [id=https://sqs.us-east-1.amazonaws.com/903791206266/prod-brokerage-data-deadletter] module.data_imports.module.lambda_data_loader_producer.aws_iam_policy.write: Refreshing state... [id=arn:aws:iam::903791206266:policy/service-role/prod-data_imports-sqs-data-producer-lambda-sqs-write] module.data_imports.module.lambda_data_loader_consumer_expedited.aws_iam_policy.sqs_read_delete: Refreshing state... [id=arn:aws:iam::903791206266:policy/service-role/prod-data_imports-sqs-data-consumer-expedited-lambda-sqs-read-delete] aws_vpc.elastic-beanstalk: Refreshing state... [id=vpc-bb2d45c6] module.data_imports.module.lambda_data_loader_producer.module.lambda_base.aws_cloudwatch_log_group.lambda: Refreshing state... [id=/aws/lambda/prod-data_imports-sqs-data-producer] module.market_data_realtime_updates_lambda.module.market_data_realtime_updates_lambda.aws_cloudwatch_log_group.lambda: Refreshing state... [id=/aws/lambda/prod-market-data-realtime-updates] module.data_imports.module.lambda_data_loader_consumer.module.lambda.aws_cloudwatch_log_group.lambda: Refreshing state... [id=/aws/lambda/prod-data_imports-sqs-data-consumer] module.backend_api.aws_sqs_queue.photo-processing: Refreshing state... [id=https://sqs.us-east-1.amazonaws.com/903791206266/prod-photo-processing] module.data_imports.aws_sqs_queue.data-imports: Refreshing state... [id=https://sqs.us-east-1.amazonaws.com/903791206266/prod-data-imports] module.data_imports.module.lambda_data_loader_consumer_expedited.module.lambda.aws_cloudwatch_log_group.lambda: Refreshing state... [id=/aws/lambda/prod-data_imports-sqs-data-consumer-expedited] module.data_imports.aws_sqs_queue.expedited-data-imports: Refreshing state... [id=https://sqs.us-east-1.amazonaws.com/903791206266/prod-expedited-data-imports] module.brokerage_data_lambda.aws_sqs_queue.brokerage-data: Refreshing state... [id=https://sqs.us-east-1.amazonaws.com/903791206266/prod-brokerage-data] module.market_data_eod_updates_lambda.module.market_data_eod_updates_lambda.aws_cloudwatch_log_group.lambda: Refreshing state... [id=/aws/lambda/prod-market-data-eod-updates] module.brokerage_data_lambda.module.brokerage_data_lambda.aws_cloudwatch_log_group.lambda: Refreshing state... [id=/aws/lambda/prod-brokerage-data-sqs-consumer] module.backend_api.aws_ecs_cluster_capacity_providers.api: Refreshing state... [id=api] module.data_imports.module.lambda_data_loader_producer.module.lambda_base.aws_iam_policy.log-writing: Refreshing state... [id=arn:aws:iam::903791206266:policy/service-role/prod-data_imports-sqs-data-producer-lambda-log-writing] module.market_data_realtime_updates_lambda.module.market_data_realtime_updates_lambda.aws_iam_policy.log-writing: Refreshing state... [id=arn:aws:iam::903791206266:policy/service-role/prod-market-data-realtime-updates-lambda-log-writing] module.data_imports.module.lambda_data_loader_consumer.module.lambda.aws_iam_policy.log-writing: Refreshing state... [id=arn:aws:iam::903791206266:policy/service-role/prod-data_imports-sqs-data-consumer-lambda-log-writing] module.backend_api.aws_s3_bucket_acl.amira-user-profile-photos: Refreshing state... [id=prod-amira-user-profile-photos,private] module.backend_api.aws_s3_bucket_versioning.amira-user-profile-photos: Refreshing state... [id=prod-amira-user-profile-photos] module.backend_api.aws_s3_bucket_request_payment_configuration.amira-user-profile-photos: Refreshing state... [id=prod-amira-user-profile-photos] module.backend_api.aws_s3_bucket_server_side_encryption_configuration.amira-user-profile-photos: Refreshing state... [id=prod-amira-user-profile-photos] module.data_imports.module.lambda_data_loader_consumer_expedited.module.lambda.aws_iam_policy.log-writing: Refreshing state... [id=arn:aws:iam::903791206266:policy/service-role/prod-data_imports-sqs-data-consumer-expedited-lambda-log-writing] module.backend_api.aws_s3_bucket_request_payment_configuration.amira-post-photos-holding: Refreshing state... [id=prod-amira-post-photos-holding] module.backend_api.aws_s3_bucket_acl.amira-post-photos-holding: Refreshing state... [id=prod-amira-post-photos-holding,private] module.backend_api.aws_s3_bucket_versioning.amira-post-photos-holding: Refreshing state... [id=prod-amira-post-photos-holding] module.backend_api.aws_s3_bucket_server_side_encryption_configuration.amira-post-photos-holding: Refreshing state... [id=prod-amira-post-photos-holding] module.backend_api.aws_s3_bucket_request_payment_configuration.amira-user-profile-photos-holding: Refreshing state... [id=prod-amira-user-profile-photos-holding] module.backend_api.aws_s3_bucket_server_side_encryption_configuration.amira-user-profile-photos-holding: Refreshing state... [id=prod-amira-user-profile-photos-holding] module.backend_api.aws_s3_bucket_versioning.amira-user-profile-photos-holding: Refreshing state... [id=prod-amira-user-profile-photos-holding] module.backend_api.aws_s3_bucket_acl.amira-user-profile-photos-holding: Refreshing state... [id=prod-amira-user-profile-photos-holding,private] module.backend_api.aws_s3_bucket_acl.amira-post-photos: Refreshing state... [id=prod-amira-post-photos,private] module.backend_api.aws_s3_bucket_request_payment_configuration.amira-post-photos: Refreshing state... [id=prod-amira-post-photos] module.backend_api.aws_s3_bucket_server_side_encryption_configuration.amira-post-photos: Refreshing state... [id=prod-amira-post-photos] module.backend_api.aws_s3_bucket_versioning.amira-post-photos: Refreshing state... [id=prod-amira-post-photos] module.market_data_eod_updates_lambda.module.market_data_eod_updates_lambda.aws_iam_policy.log-writing: Refreshing state... [id=arn:aws:iam::903791206266:policy/service-role/prod-market-data-eod-updates-lambda-log-writing] module.backend_api.aws_ecs_task_definition.api-public-ecs-task-definition: Refreshing state... [id=prod-api-public-ecs-task-definition] module.networking.aws_subnet.public-2: Refreshing state... [id=subnet-073ca0b0ec5005fe9] module.networking.aws_subnet.private-3: Refreshing state... [id=subnet-0bb4370ccc2df1e3e] module.networking.aws_subnet.public-3: Refreshing state... [id=subnet-09f2a12a119bcc599] module.networking.aws_subnet.private-1: Refreshing state... [id=subnet-031bdf1a786694a68] module.networking.aws_subnet.public-1: Refreshing state... [id=subnet-0dca5ef95d08f2d2c] module.networking.aws_subnet.private-2: Refreshing state... [id=subnet-05a45c47337ce649e] module.brokerage_data_lambda.module.brokerage_data_lambda.aws_iam_policy.log-writing: Refreshing state... [id=arn:aws:iam::903791206266:policy/service-role/prod-brokerage-data-sqs-consumer-lambda-log-writing] module.data_imports.module.lambda_data_loader_producer.module.lambda_base.aws_iam_role.lambda: Refreshing state... [id=prod-data_imports-sqs-data-producer-lambda] module.market_data_realtime_updates_lambda.module.market_data_realtime_updates_lambda.aws_iam_role.lambda: Refreshing state... [id=prod-market-data-realtime-updates-lambda] module.data_imports.module.lambda_data_loader_consumer.module.lambda.aws_iam_role.lambda: Refreshing state... [id=prod-data_imports-sqs-data-consumer-lambda] module.backend_api.aws_security_group.api-public-service: Refreshing state... [id=sg-04c6dcf097a53b73c] module.data_imports.module.lambda_data_loader_consumer_expedited.module.lambda.aws_iam_role.lambda: Refreshing state... [id=prod-data_imports-sqs-data-consumer-expedited-lambda] module.market_data_realtime_updates_lambda.module.market_data_realtime_updates_lambda.aws_security_group.lambda: Refreshing state... [id=sg-08ef4427aec81f4bc] module.brokerage_data_lambda.module.brokerage_data_lambda.aws_security_group.lambda: Refreshing state... [id=sg-096cd128173fa28d0] module.market_data_eod_updates_lambda.module.market_data_eod_updates_lambda.aws_security_group.lambda: Refreshing state... [id=sg-0c5690a37e13700d2] module.market_data_eod_updates_lambda.module.market_data_eod_updates_lambda.aws_iam_role.lambda: Refreshing state... [id=prod-market-data-eod-updates-lambda] module.data_imports.module.lambda_data_loader_consumer.module.lambda.aws_security_group.lambda: Refreshing state... [id=sg-063a7a163ea748422] module.data_imports.module.lambda_data_loader_consumer_expedited.module.lambda.aws_security_group.lambda: Refreshing state... [id=sg-0edb93a49368e9eb0] module.data_imports.module.lambda_data_loader_producer.module.lambda_base.aws_security_group.lambda: Refreshing state... [id=sg-0150ee5e667365ae1] module.brokerage_data_lambda.module.brokerage_data_lambda.aws_iam_role.lambda: Refreshing state... [id=prod-brokerage-data-sqs-consumer-lambda] module.backend_api.aws_ecs_service.api-public-service: Refreshing state... [id=arn:aws:ecs:us-east-1:903791206266:service/api/prod-api-public-service] module.market_data_realtime_updates_lambda.module.market_data_realtime_updates_lambda.aws_lambda_function.main: Refreshing state... [id=prod-market-data-realtime-updates] module.data_imports.module.lambda_data_loader_consumer.module.lambda.aws_lambda_function.main: Refreshing state... [id=prod-data_imports-sqs-data-consumer] module.data_imports.module.lambda_data_loader_consumer_expedited.module.lambda.aws_lambda_function.main: Refreshing state... [id=prod-data_imports-sqs-data-consumer-expedited] module.data_imports.module.lambda_data_loader_producer.module.lambda_base.aws_lambda_function.main: Refreshing state... [id=prod-data_imports-sqs-data-producer] module.market_data_realtime_updates_lambda.aws_cloudwatch_event_target.working_day_every_minute_cron: Refreshing state... [id=prod-market-data-realtime-updates_working_day_every_minute_cron-terraform-20220119175437204000000001] module.market_data_realtime_updates_lambda.aws_lambda_permission.allow_working_day_every_minute_cron_to_call_market_data_realtime_updates_lambda: Refreshing state... [id=AllowExecutionFromCloudWatch] module.data_imports.module.lambda_data_loader_consumer_expedited.aws_lambda_event_source_mapping.sqs-to-consumer-lambda: Refreshing state... [id=77642441-2a8e-4649-857a-10d820608e64] module.data_imports.module.lambda_data_loader_consumer.aws_lambda_event_source_mapping.sqs-to-consumer-lambda: Refreshing state... [id=4af43d97-439d-43a3-b50b-34cdfdf40ad4] module.market_data_eod_updates_lambda.module.market_data_eod_updates_lambda.aws_lambda_function.main: Refreshing state... [id=prod-market-data-eod-updates] module.market_data_eod_updates_lambda.aws_lambda_permission.allow_working_day_market_close_cron_to_call_market_data_eod_updates_lambda: Refreshing state... [id=AllowExecutionFromCloudWatch] module.market_data_eod_updates_lambda.aws_cloudwatch_event_target.working_day_market_close_cron: Refreshing state... [id=prod-market-data-eod-updates_working_day_market_close-terraform-20220212234456322700000001] module.brokerage_data_lambda.module.brokerage_data_lambda.aws_lambda_function.main: Refreshing state... [id=prod-brokerage-data-sqs-consumer] module.brokerage_data_lambda.aws_lambda_event_source_mapping.sqs-to-brokerage-data-sqs-consumer-lambda: Refreshing state... [id=23af04aa-8c2d-4965-827c-195bd556a550] No changes. Your infrastructure matches the configuration. Terraform has compared your real infrastructure against your configuration and found no differences, so no changes are needed. ```

Pusher: @dvbz, Action: pull_request