Skip to content

Commit

Permalink
fix(basti-cdk): unblock basti instance role update
Browse files Browse the repository at this point in the history
Signed-off-by: Bohdan Petryshyn <b.y.petryshyn@gmail.com>
  • Loading branch information
BohdanPetryshyn committed Oct 24, 2024
1 parent ffe7a98 commit f01e64a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/basti-cdk/src/basti-instance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ export class BastiInstance extends Construct implements IBastiInstance {

this.role = new aws_iam.Role(this, 'IamRoleBastionInstance', {
assumedBy: new aws_iam.ServicePrincipal('ec2.amazonaws.com'),
roleName: `${BASTION_INSTANCE_ROLE_NAME_PREFIX}-${this.bastiId}`,
roleName: `${BASTION_INSTANCE_ROLE_NAME_PREFIX}-${this.bastiId}-v2`,
path: `${BASTION_INSTANCE_ROLE_PATH_PREFIX}/${region}/`,
inlinePolicies: {
'session-manager-access': sessionManagerPolicy,
Expand Down

0 comments on commit f01e64a

Please sign in to comment.