Skip to content

Commit

Permalink
skip: fix secrets auto-test
Browse files Browse the repository at this point in the history
  • Loading branch information
anna-shcherbak committed Jun 1, 2024
1 parent 3e5d59b commit 1aa5e56
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tf_testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ env:
CORE_TESTING_FOLDER: ${{ github.workspace }}
OUTPUT_DIR: ${{ github.workspace }}/auto_policy_testing/output
AWS_DEFAULT_REGION: ${{ vars.AWS_REGION }}
resource_priority_list: 'emr'
resource_priority_list: 'secrets'
RED: '\033[0;31m'

jobs:
Expand Down
9 changes: 8 additions & 1 deletion auto_policy_testing/green/secrets/secrets.tf
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,15 @@ resource "aws_secretsmanager_secret_rotation" "this" {
rotation_rules {
automatically_after_days = 90
}
}

depends_on = [
aws_lambda_permission.this,
aws_iam_role_policy.this1,
aws_iam_role_policy.this2,
aws_iam_role_policy.this3,
aws_iam_role_policy_attachment.this1
]
}

resource "aws_security_group" "this" {
name = module.naming.resource_prefix.security_group
Expand Down

0 comments on commit 1aa5e56

Please sign in to comment.