Skip to content

Commit 631f42d

Browse files
committed
Add docs
1 parent 9ebb0f8 commit 631f42d

File tree

4 files changed

+60
-1
lines changed

4 files changed

+60
-1
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
/website/static/2767/main.js
1010
node_modules/
1111
*.tar
12-
*.json
1312
!package.json
1413
!package-lock.json
1514
/*.pickle

docs/amazon/container.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"Description": "Nixos 24.11",
3+
"Format": "VHD",
4+
"UserBucket": {
5+
"S3Bucket": "strykeforce-ami-import-us-east-2",
6+
"S3Key": "nixos-amazon-image-24.11.20250206.f5a32fa-x86_64-linux.vhd"
7+
}
8+
}

docs/amazon/role-policy.json

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"Version": "2012-10-17",
3+
"Statement": [
4+
{
5+
"Effect": "Allow",
6+
"Action": ["s3:GetBucketLocation", "s3:GetObject", "s3:ListBucket"],
7+
"Resource": [
8+
"arn:aws:s3:::strykeforce-ami-import-us-east-2",
9+
"arn:aws:s3:::strykeforce-ami-import-us-east-2/*"
10+
]
11+
},
12+
{
13+
"Effect": "Allow",
14+
"Action": [
15+
"s3:GetBucketLocation",
16+
"s3:GetObject",
17+
"s3:ListBucket",
18+
"s3:PutObject",
19+
"s3:GetBucketAcl"
20+
],
21+
"Resource": [
22+
"arn:aws:s3:::strykeforce-ami-export-us-east-2",
23+
"arn:aws:s3:::strykeforce-ami-export-us-east-2/*"
24+
]
25+
},
26+
{
27+
"Effect": "Allow",
28+
"Action": [
29+
"ec2:ModifySnapshotAttribute",
30+
"ec2:CopySnapshot",
31+
"ec2:RegisterImage",
32+
"ec2:Describe*"
33+
],
34+
"Resource": "*"
35+
}
36+
]
37+
}

docs/amazon/trust-policy.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"Version": "2012-10-17",
3+
"Statement": [
4+
{
5+
"Effect": "Allow",
6+
"Principal": { "Service": "vmie.amazonaws.com" },
7+
"Action": "sts:AssumeRole",
8+
"Condition": {
9+
"StringEquals": {
10+
"sts:Externalid": "vmimport"
11+
}
12+
}
13+
}
14+
]
15+
}

0 commit comments

Comments
 (0)