-
-
Notifications
You must be signed in to change notification settings - Fork 8
46 lines (45 loc) · 1.68 KB
/
security-keys.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: "Security Keys Layer: Unit Tests"
on:
pull_request:
branches:
- master
jobs:
testing-security-keys:
strategy:
fail-fast: false
matrix:
terraform_versions:
- 1.6
- 1.8
accounts:
- layer: apps-devstg/us-east-1/security-keys
aws_region: us-east-1
required_state_file: true
bucket: security
bucket_folder: identities
aws_profile: bb-security-devops
state_file_test_path: tests/terraform.tfstate.template
- layer: apps-devstg/us-east-2/security-keys
aws_region: us-east-2
- layer: apps-prd/us-east-1/security-keys
- layer: data-science/us-east-1/security-keys
- layer: management/us-east-1/security-keys
- layer: network/us-east-1/security-keys
- layer: network/us-east-2/security-keys
aws_region: us-east-2
- layer: security/us-east-1/security-keys
- layer: shared/us-east-1/security-keys
- layer: shared/us-east-2/security-keys
aws_region: us-east-2
name: security-keys-layer
uses: ./.github/workflows/testing-workflow.yml
with:
localstack_version: '3.7.2'
terraform_version: ${{ matrix.terraform_versions }}
aws_region: ${{ matrix.accounts.aws_region }}
required_state_file: ${{ matrix.accounts.required_state_file }}
state_file_test_path: ${{ matrix.accounts.state_file_test_path }}
bucket_name: ${{ matrix.accounts.bucket }}
bucket_folder: ${{ matrix.accounts.bucket_folder }}
aws_profile: ${{ matrix.accounts.aws_profile }}
working_directory: ${{ matrix.accounts.layer }}