Skip to content

Commit 8db000b

Browse files
committed
Updated pipeline and OICD in aws
1 parent d97be80 commit 8db000b

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: PR build and test
2+
3+
on:
4+
pull_request:
5+
branches: [main]
6+
7+
env:
8+
TF_CLI_ARGS_apply: --auto-approve
9+
10+
jobs:
11+
pr-build:
12+
name: pr-build
13+
runs-on: ubuntu-latest
14+
permissions:
15+
id-token: write
16+
contents: read
17+
concurrency:
18+
group: ${{ github.ref }}-build
19+
steps:
20+
- name: Configure AWS Credentials
21+
uses: aws-actions/configure-aws-credentials@v4
22+
with:
23+
aws-region: eu-west-2
24+
role-to-assume: arn:aws:iam::084828561157:role/auto-ops
25+
role-session-name: github-actions
26+
27+
- name: Checkout
28+
uses: actions/checkout@v4
29+
with:
30+
fetch-depth: 1
31+

0 commit comments

Comments
 (0)