Skip to content

Commit

Permalink
instead of IAM role chaining just gonna use two separate profiles, on…
Browse files Browse the repository at this point in the history
…e for ec2 and the other for eks
  • Loading branch information
jgoldverg committed Jun 21, 2024
1 parent 97a3e34 commit 1d42b95
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ spring:
backend: secrets
authentication: aws_iam
aws-iam:
role: aws-role
role: ec2-role
14 changes: 14 additions & 0 deletions src/main/resources/bootstrap-eks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
spring:
application:
name: TransferService
cloud:
vault:
uri: ${VAULT_URI}
kv:
enabled: true
profile-separator: '/'
default-context: prod/TransferService
backend: secrets
authentication: aws_iam
aws-iam:
role: eks-role

0 comments on commit 1d42b95

Please sign in to comment.