Skip to content

Commit

Permalink
Merge pull request #315 from privacy-scaling-explorations/dev
Browse files Browse the repository at this point in the history
use AWS tag
  • Loading branch information
NicoSerranoP authored Aug 16, 2024
2 parents 64b6517 + 9239207 commit 547aa03
Show file tree
Hide file tree
Showing 3 changed files with 376 additions and 366 deletions.
2 changes: 2 additions & 0 deletions packages/actions/.env.default
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ AWS_REGION="YOUR-AWS-REGION"
AWS_AMI_ID="ami-022e1a32d3f742bd8"
# The IAM instance profile for the EC2 instance to assume
AWS_INSTANCE_PROFILE_ARN="YOUR-AWS-INSTANCE-PROFILE-ARN"
# The AWS tag key for each element to create (comply to PSE's AWS policy)
AWS_TAG_VALUE="trusted-setup"

### AUTHENTICATION ###
### These configs are related to the authentication of users.
Expand Down
4 changes: 4 additions & 0 deletions packages/actions/src/helpers/vm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,10 @@ export const createEC2Instance = async (
{
Key: "Initialized",
Value: "false"
},
{
Key: "ProjectName",
Value: process.env.AWS_TAG_VALUE
}
]
}
Expand Down
Loading

0 comments on commit 547aa03

Please sign in to comment.