Skip to content

2022 06 11 (Saturday) Deployment

jimlerza edited this page Jun 13, 2022 · 5 revisions

General Notes

This deployment contains the latest assortment of work from Flexion. See the stories below.

Feature Stories

Observations

Timeline

(2022-06-10)

(2022-06-11)

  • 22:30 - Updated Secrets Manager with new secrets
  • 23:08 - Ran Environment Specific
Terraform will perform the following actions:

  # aws_iam_role_policy.lambda_policy will be updated in-place
  ~ resource "aws_iam_role_policy" "lambda_policy" {
        id     = "lambda_role_prod:lambda_policy_prod"
        name   = "lambda_policy_prod"
      ~ policy = jsonencode(
          ~ {
              ~ Statement = [
                    # (11 unchanged elements hidden)
                    {
                        Action   = [
                            "execute-api:Invoke",
                            "execute-api:ManageConnections",
                        ]
                        Effect   = "Allow"
                        Resource = [
                            "arn:aws:execute-api:us-east-1:980423577122:*",
                            "arn:aws:execute-api:us-west-1:980423577122:*",
                        ]
                    },
                  ~ {
                      ~ Action   = "SNS:Publish" -> "sns:Publish"
                        # (2 unchanged elements hidden)
                    },
                  + {
                      + Action   = "sns:Subscribe"
                      + Effect   = "Allow"
                      + Resource = "arn:aws:sns:us-east-1:980423577122:bounced_service_emails_prod"
                    },
                ]
                # (1 unchanged element hidden)
            }
        )
        # (1 unchanged attribute hidden)
    }
  • 23:19 - Merged the PR CircleCI Build
  • 23:28 - Tests pass; deploy step starts
  • 23:45 - Deploy step fails
  • 23:45 - Run script
./setup-bounce-handler-deploy-file.sh                                                                                                                 
...
copy: s3://dawson.ustaxcourt.gov.efcms.prod.us-east-1.lambdas/bounce_handler_green.js.zip to s3://dawson.ustaxcourt.gov.efcms.prod.us-east-1.lambdas/bounce_handler_blue.js.zip
  • 23:46 - Re-Run from failed CircleCI Build
  • 23:57 - Deploy step completes
  • 00:03 - Read-only smoketests pass
  • 00:05 - Switched colors
  • 00:05 - Disabled blue api mappings api and public-api, east and west
Clone this wiki locally