Skip to content

Commit

Permalink
Merge branch 'main' into UML-3738
Browse files Browse the repository at this point in the history
  • Loading branch information
jay-whitwell authored Jan 10, 2025
2 parents dfca208 + d394448 commit 56be0c4
Show file tree
Hide file tree
Showing 6 changed files with 57 additions and 62 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/_lint-terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
role-duration-seconds: 1800
role-session-name: OPGUseAnLPAECRGithubAction

- uses: webfactory/ssh-agent@dc588b651fe13675774614f8e6a936a468676387 # [email protected]
- uses: webfactory/ssh-agent@72c0bfd31ab22a2e11716951e3f107a9647dc97e # [email protected]
with:
ssh-private-key: ${{ secrets.USE_AN_LPA_DEPLOY_KEY_PRIVATE_KEY }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_run-terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ jobs:
role-duration-seconds: 1800
role-session-name: OPGUseAnLPATerraformGithubAction

- uses: webfactory/ssh-agent@dc588b651fe13675774614f8e6a936a468676387 # [email protected]
- uses: webfactory/ssh-agent@72c0bfd31ab22a2e11716951e3f107a9647dc97e # [email protected]
with:
ssh-private-key: ${{ secrets.USE_AN_LPA_DEPLOY_KEY_PRIVATE_KEY }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scheduled-workspace-cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
terraform_version: ${{ steps.set-terraform-version.outputs.TF_VERSION }}
terraform_wrapper: false

- uses: webfactory/ssh-agent@dc588b651fe13675774614f8e6a936a468676387 # [email protected]
- uses: webfactory/ssh-agent@72c0bfd31ab22a2e11716951e3f107a9647dc97e # [email protected]
with:
ssh-private-key: ${{ secrets.USE_AN_LPA_DEPLOY_KEY_PRIVATE_KEY }}

Expand Down
2 changes: 1 addition & 1 deletion service-front/app/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"mezzio/mezzio-helpers": "^5.0",
"mezzio/mezzio-session": "^1.3",
"mezzio/mezzio-twigrenderer": "^2.3",
"nesbot/carbon": "^3.0.0",
"nesbot/carbon": "3.8.0",
"paragonie/halite": "^5.0"
},
"require-dev": {
Expand Down
90 changes: 45 additions & 45 deletions service-front/app/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 8 additions & 13 deletions terraform/account/kms.tf
Original file line number Diff line number Diff line change
Expand Up @@ -150,11 +150,9 @@ data "aws_iam_policy_document" "cloudwatch_kms" {

data "aws_iam_policy_document" "event_receiver_kms" {
statement {
sid = "Allow Encryption by Service"
effect = "Allow"
resources = [
"arn:aws:kms:*:${data.aws_caller_identity.current.account_id}:key/*"
]
sid = "Allow Encryption by Service"
effect = "Allow"
resources = ["*"]
actions = [
"kms:Encrypt",
"kms:ReEncrypt*",
Expand All @@ -171,23 +169,20 @@ data "aws_iam_policy_document" "event_receiver_kms" {
}

statement {
sid = "Allow Decryption by Service"
effect = "Allow"
resources = [
"arn:aws:kms:*:${data.aws_caller_identity.current.account_id}:key/*"
]
sid = "Allow Decryption by Service"
effect = "Allow"
resources = ["*"]
actions = [
"kms:Decrypt",
"kms:GenerateDataKey*",
"kms:DescribeKey",
"kms:DescribeKey"
]

principals {
type = "Service"
identifiers = [
"sqs.amazonaws.com",
"events.amazonaws.com",
"lambda.amazonaws.com",
"events.amazonaws.com"
]
}
}
Expand Down

0 comments on commit 56be0c4

Please sign in to comment.