Skip to content

Commit 501e5c4

Browse files
Make preprod same as prod (#434)
* preprod permissions * fix remove poetry dependency in preprod step
1 parent e4b9289 commit 501e5c4

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

.github/workflows/base-deploy.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,9 @@ jobs:
241241
INPUT_RELEASE_TYPE: ${{ inputs.release_type }}
242242
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
243243
GITHUB_REPOSITORY: ${{ github.repository }}
244-
run: poetry run python scripts/workflow/tag_and_release.py
244+
run: |
245+
pip install requests
246+
python scripts/workflow/tag_and_release.py
245247
246248
247249
regression-tests:

infrastructure/stacks/iams-developer-roles/github_actions_policies.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ resource "aws_iam_policy" "dynamodb_management" {
100100
"dynamodb:DescribeTimeToLive",
101101
"dynamodb:DescribeTable",
102102
"dynamodb:DescribeContinuousBackups",
103+
"dynamodb:UpdateContinuousBackups",
103104
"dynamodb:ListTables",
104105
"dynamodb:DeleteTable",
105106
"dynamodb:CreateTable",

infrastructure/stacks/iams-developer-roles/iams_permissions_boundary.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ data "aws_iam_policy_document" "permissions_boundary" {
3838
"dynamodb:UntagResource",
3939
"dynamodb:ListTagsOfResource",
4040
"dynamodb:UpdateTable",
41+
"dynamodb:UpdateContinuousBackups",
4142

4243
# EC2 - networking infrastructure
4344
"ec2:Describe*",

0 commit comments

Comments
 (0)