Skip to content

Commit 61db8b6

Browse files
committed
bun fmt
1 parent a0c46c8 commit 61db8b6

File tree

6 files changed

+145
-146
lines changed

6 files changed

+145
-146
lines changed

registry/coder/templates/aws-devcontainer/README.md

Lines changed: 45 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -31,51 +31,51 @@ instances provisioned by Coder:
3131

3232
```json
3333
{
34-
"Version": "2012-10-17",
35-
"Statement": [
36-
{
37-
"Sid": "VisualEditor0",
38-
"Effect": "Allow",
39-
"Action": [
40-
"ec2:GetDefaultCreditSpecification",
41-
"ec2:DescribeIamInstanceProfileAssociations",
42-
"ec2:DescribeTags",
43-
"ec2:DescribeInstances",
44-
"ec2:DescribeInstanceTypes",
45-
"ec2:DescribeInstanceStatus",
46-
"ec2:CreateTags",
47-
"ec2:RunInstances",
48-
"ec2:DescribeInstanceCreditSpecifications",
49-
"ec2:DescribeImages",
50-
"ec2:ModifyDefaultCreditSpecification",
51-
"ec2:DescribeVolumes"
52-
],
53-
"Resource": "*"
54-
},
55-
{
56-
"Sid": "CoderResources",
57-
"Effect": "Allow",
58-
"Action": [
59-
"ec2:DescribeInstanceAttribute",
60-
"ec2:UnmonitorInstances",
61-
"ec2:TerminateInstances",
62-
"ec2:StartInstances",
63-
"ec2:StopInstances",
64-
"ec2:DeleteTags",
65-
"ec2:MonitorInstances",
66-
"ec2:CreateTags",
67-
"ec2:RunInstances",
68-
"ec2:ModifyInstanceAttribute",
69-
"ec2:ModifyInstanceCreditSpecification"
70-
],
71-
"Resource": "arn:aws:ec2:*:*:instance/*",
72-
"Condition": {
73-
"StringEquals": {
74-
"aws:ResourceTag/Coder_Provisioned": "true"
75-
}
76-
}
77-
}
78-
]
34+
"Version": "2012-10-17",
35+
"Statement": [
36+
{
37+
"Sid": "VisualEditor0",
38+
"Effect": "Allow",
39+
"Action": [
40+
"ec2:GetDefaultCreditSpecification",
41+
"ec2:DescribeIamInstanceProfileAssociations",
42+
"ec2:DescribeTags",
43+
"ec2:DescribeInstances",
44+
"ec2:DescribeInstanceTypes",
45+
"ec2:DescribeInstanceStatus",
46+
"ec2:CreateTags",
47+
"ec2:RunInstances",
48+
"ec2:DescribeInstanceCreditSpecifications",
49+
"ec2:DescribeImages",
50+
"ec2:ModifyDefaultCreditSpecification",
51+
"ec2:DescribeVolumes"
52+
],
53+
"Resource": "*"
54+
},
55+
{
56+
"Sid": "CoderResources",
57+
"Effect": "Allow",
58+
"Action": [
59+
"ec2:DescribeInstanceAttribute",
60+
"ec2:UnmonitorInstances",
61+
"ec2:TerminateInstances",
62+
"ec2:StartInstances",
63+
"ec2:StopInstances",
64+
"ec2:DeleteTags",
65+
"ec2:MonitorInstances",
66+
"ec2:CreateTags",
67+
"ec2:RunInstances",
68+
"ec2:ModifyInstanceAttribute",
69+
"ec2:ModifyInstanceCreditSpecification"
70+
],
71+
"Resource": "arn:aws:ec2:*:*:instance/*",
72+
"Condition": {
73+
"StringEquals": {
74+
"aws:ResourceTag/Coder_Provisioned": "true"
75+
}
76+
}
77+
}
78+
]
7979
}
8080
```
8181

registry/coder/templates/aws-linux/README.md

Lines changed: 45 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -28,51 +28,51 @@ instances provisioned by Coder:
2828

2929
```json
3030
{
31-
"Version": "2012-10-17",
32-
"Statement": [
33-
{
34-
"Sid": "VisualEditor0",
35-
"Effect": "Allow",
36-
"Action": [
37-
"ec2:GetDefaultCreditSpecification",
38-
"ec2:DescribeIamInstanceProfileAssociations",
39-
"ec2:DescribeTags",
40-
"ec2:DescribeInstances",
41-
"ec2:DescribeInstanceTypes",
42-
"ec2:DescribeInstanceStatus",
43-
"ec2:CreateTags",
44-
"ec2:RunInstances",
45-
"ec2:DescribeInstanceCreditSpecifications",
46-
"ec2:DescribeImages",
47-
"ec2:ModifyDefaultCreditSpecification",
48-
"ec2:DescribeVolumes"
49-
],
50-
"Resource": "*"
51-
},
52-
{
53-
"Sid": "CoderResources",
54-
"Effect": "Allow",
55-
"Action": [
56-
"ec2:DescribeInstanceAttribute",
57-
"ec2:UnmonitorInstances",
58-
"ec2:TerminateInstances",
59-
"ec2:StartInstances",
60-
"ec2:StopInstances",
61-
"ec2:DeleteTags",
62-
"ec2:MonitorInstances",
63-
"ec2:CreateTags",
64-
"ec2:RunInstances",
65-
"ec2:ModifyInstanceAttribute",
66-
"ec2:ModifyInstanceCreditSpecification"
67-
],
68-
"Resource": "arn:aws:ec2:*:*:instance/*",
69-
"Condition": {
70-
"StringEquals": {
71-
"aws:ResourceTag/Coder_Provisioned": "true"
72-
}
73-
}
74-
}
75-
]
31+
"Version": "2012-10-17",
32+
"Statement": [
33+
{
34+
"Sid": "VisualEditor0",
35+
"Effect": "Allow",
36+
"Action": [
37+
"ec2:GetDefaultCreditSpecification",
38+
"ec2:DescribeIamInstanceProfileAssociations",
39+
"ec2:DescribeTags",
40+
"ec2:DescribeInstances",
41+
"ec2:DescribeInstanceTypes",
42+
"ec2:DescribeInstanceStatus",
43+
"ec2:CreateTags",
44+
"ec2:RunInstances",
45+
"ec2:DescribeInstanceCreditSpecifications",
46+
"ec2:DescribeImages",
47+
"ec2:ModifyDefaultCreditSpecification",
48+
"ec2:DescribeVolumes"
49+
],
50+
"Resource": "*"
51+
},
52+
{
53+
"Sid": "CoderResources",
54+
"Effect": "Allow",
55+
"Action": [
56+
"ec2:DescribeInstanceAttribute",
57+
"ec2:UnmonitorInstances",
58+
"ec2:TerminateInstances",
59+
"ec2:StartInstances",
60+
"ec2:StopInstances",
61+
"ec2:DeleteTags",
62+
"ec2:MonitorInstances",
63+
"ec2:CreateTags",
64+
"ec2:RunInstances",
65+
"ec2:ModifyInstanceAttribute",
66+
"ec2:ModifyInstanceCreditSpecification"
67+
],
68+
"Resource": "arn:aws:ec2:*:*:instance/*",
69+
"Condition": {
70+
"StringEquals": {
71+
"aws:ResourceTag/Coder_Provisioned": "true"
72+
}
73+
}
74+
}
75+
]
7676
}
7777
```
7878

registry/coder/templates/aws-windows/README.md

Lines changed: 45 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -30,51 +30,51 @@ instances provisioned by Coder:
3030

3131
```json
3232
{
33-
"Version": "2012-10-17",
34-
"Statement": [
35-
{
36-
"Sid": "VisualEditor0",
37-
"Effect": "Allow",
38-
"Action": [
39-
"ec2:GetDefaultCreditSpecification",
40-
"ec2:DescribeIamInstanceProfileAssociations",
41-
"ec2:DescribeTags",
42-
"ec2:DescribeInstances",
43-
"ec2:DescribeInstanceTypes",
44-
"ec2:DescribeInstanceStatus",
45-
"ec2:CreateTags",
46-
"ec2:RunInstances",
47-
"ec2:DescribeInstanceCreditSpecifications",
48-
"ec2:DescribeImages",
49-
"ec2:ModifyDefaultCreditSpecification",
50-
"ec2:DescribeVolumes"
51-
],
52-
"Resource": "*"
53-
},
54-
{
55-
"Sid": "CoderResources",
56-
"Effect": "Allow",
57-
"Action": [
58-
"ec2:DescribeInstanceAttribute",
59-
"ec2:UnmonitorInstances",
60-
"ec2:TerminateInstances",
61-
"ec2:StartInstances",
62-
"ec2:StopInstances",
63-
"ec2:DeleteTags",
64-
"ec2:MonitorInstances",
65-
"ec2:CreateTags",
66-
"ec2:RunInstances",
67-
"ec2:ModifyInstanceAttribute",
68-
"ec2:ModifyInstanceCreditSpecification"
69-
],
70-
"Resource": "arn:aws:ec2:*:*:instance/*",
71-
"Condition": {
72-
"StringEquals": {
73-
"aws:ResourceTag/Coder_Provisioned": "true"
74-
}
75-
}
76-
}
77-
]
33+
"Version": "2012-10-17",
34+
"Statement": [
35+
{
36+
"Sid": "VisualEditor0",
37+
"Effect": "Allow",
38+
"Action": [
39+
"ec2:GetDefaultCreditSpecification",
40+
"ec2:DescribeIamInstanceProfileAssociations",
41+
"ec2:DescribeTags",
42+
"ec2:DescribeInstances",
43+
"ec2:DescribeInstanceTypes",
44+
"ec2:DescribeInstanceStatus",
45+
"ec2:CreateTags",
46+
"ec2:RunInstances",
47+
"ec2:DescribeInstanceCreditSpecifications",
48+
"ec2:DescribeImages",
49+
"ec2:ModifyDefaultCreditSpecification",
50+
"ec2:DescribeVolumes"
51+
],
52+
"Resource": "*"
53+
},
54+
{
55+
"Sid": "CoderResources",
56+
"Effect": "Allow",
57+
"Action": [
58+
"ec2:DescribeInstanceAttribute",
59+
"ec2:UnmonitorInstances",
60+
"ec2:TerminateInstances",
61+
"ec2:StartInstances",
62+
"ec2:StopInstances",
63+
"ec2:DeleteTags",
64+
"ec2:MonitorInstances",
65+
"ec2:CreateTags",
66+
"ec2:RunInstances",
67+
"ec2:ModifyInstanceAttribute",
68+
"ec2:ModifyInstanceCreditSpecification"
69+
],
70+
"Resource": "arn:aws:ec2:*:*:instance/*",
71+
"Condition": {
72+
"StringEquals": {
73+
"aws:ResourceTag/Coder_Provisioned": "true"
74+
}
75+
}
76+
}
77+
]
7878
}
7979
```
8080

registry/coder/templates/azure-linux/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ This means, when the workspace restarts, any tools or files outside of the home
3434
> [!NOTE]
3535
> This template is designed to be a starting point! Edit the Terraform to extend the template to support your use case.
3636
37-
3837
### Persistent VM
3938

4039
> [!IMPORTANT]

registry/coder/templates/kubernetes-envbox/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ It mainly acts as a wrapper for the excellent [sysbox runtime](https://github.co
2020
The following environment variables can be used to configure various aspects of the inner and outer container.
2121

2222
| env | usage | required |
23-
|----------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------|
23+
| -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- |
2424
| `CODER_INNER_IMAGE` | The image to use for the inner container. | True |
2525
| `CODER_INNER_USERNAME` | The username to use for the inner container. | True |
2626
| `CODER_AGENT_TOKEN` | The [Coder Agent](https://coder.com/docs/about/architecture#agents) token to pass to the inner container. | True |

registry/coder/templates/nomad-docker/README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -48,31 +48,31 @@ The CSI Host Volume plugin is used to mount host volumes into Nomad tasks. This
4848
```tf
4949
job "hostpath-csi-plugin" {
5050
datacenters = ["dc1"]
51-
type = "system"
52-
51+
type = "system"
52+
5353
group "csi" {
5454
task "plugin" {
5555
driver = "docker"
56-
56+
5757
config {
5858
image = "registry.k8s.io/sig-storage/hostpathplugin:v1.10.0"
59-
59+
6060
args = [
6161
"--drivername=csi-hostpath",
6262
"--v=5",
6363
"--endpoint=${CSI_ENDPOINT}",
6464
"--nodeid=node-${NOMAD_ALLOC_INDEX}",
6565
]
66-
66+
6767
privileged = true
6868
}
69-
69+
7070
csi_plugin {
71-
id = "hostpath"
72-
type = "monolith"
71+
id = "hostpath"
72+
type = "monolith"
7373
mount_dir = "/csi"
7474
}
75-
75+
7676
resources {
7777
cpu = 256
7878
memory = 128

0 commit comments

Comments
 (0)