Skip to content

Commit 372b4a2

Browse files
author
Sandip Das
committed
code changes
1 parent bdae349 commit 372b4a2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

buildspec_eks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ phases:
1919
pre_build:
2020
commands:
2121
- echo Logging in to Amazon EKS...
22-
- aws eks --region $AWS_DEFAULT_REGION update-kubeconfig --name $AWS_CLUSTER_NAME
22+
- aws eks --region $AWS_DEFAULT_REGION update-kubeconfig --name $AWS_CLUSTER_NAME --role-arn arn:aws:iam::120717539064:role/CodeBuildKubectlRole
2323
- echo check config
2424
- kubectl config view --minify
2525
- echo check kubectl access

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const config = require('config')
55
console.log(config);
66

77
app.get('/', (req, res) => {
8-
res.send('CICD App V3!')
8+
res.send('CICD App V4!')
99
})
1010

1111
app.get('/status', (req, res) => {

0 commit comments

Comments
 (0)