Skip to content

Commit

Permalink
Add posix user 1000
Browse files Browse the repository at this point in the history
allow exec commands
  • Loading branch information
raykrueger committed Oct 31, 2023
1 parent 70e1be5 commit c4080ba
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,12 @@ export class GameServer extends Construct {
enableAutomaticBackups: true,
});

const ap = fs.addAccessPoint('AccessPoint');
const ap = fs.addAccessPoint('AccessPoint', {
posixUser: {
gid: '1000',
uid: '1000',
},
});

//Create our ECS Cluster
const cluster = new ecs.Cluster(this, 'Cluster', {
Expand Down Expand Up @@ -243,6 +248,7 @@ export class GameServer extends Construct {
assignPublicIp: true,
maxHealthyPercent: 100,
minHealthyPercent: 0,
enableExecuteCommand: true,
capacityProviderStrategies: [
{
capacityProvider: 'FARGATE_SPOT',
Expand Down

0 comments on commit c4080ba

Please sign in to comment.