Skip to content

Commit dd94a19

Browse files
committed
lint error
1 parent e71b9dd commit dd94a19

File tree

2 files changed

+26
-26
lines changed

2 files changed

+26
-26
lines changed

registry/mavrickrishi/modules/aws-ami-snapshot/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ This module provides AMI-based snapshot functionality for Coder workspaces runni
1313

1414
```tf
1515
module "ami_snapshot" {
16-
source = "registry.coder.com/mavrickrishi/aws-ami-snapshot/coder"
16+
source = "registry.coder.com/mavrickrishi/aws-ami-snapshot/coder"
1717
version = "1.0.0"
18-
18+
1919
instance_id = aws_instance.workspace.id
2020
default_ami_id = data.aws_ami.ubuntu.id
2121
template_name = "aws-linux"
Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,31 @@
11
import { describe, expect, it } from "bun:test";
22
import {
3-
runTerraformApply,
4-
runTerraformInit,
5-
testRequiredVariables,
3+
runTerraformApply,
4+
runTerraformInit,
5+
testRequiredVariables,
66
} from "~test";
77

88
describe("aws-ami-snapshot", async () => {
9-
await runTerraformInit(import.meta.dir);
9+
await runTerraformInit(import.meta.dir);
1010

11-
testRequiredVariables(import.meta.dir, {
12-
instance_id: "i-1234567890abcdef0",
13-
default_ami_id: "ami-12345678",
14-
template_name: "test-template",
15-
});
11+
testRequiredVariables(import.meta.dir, {
12+
instance_id: "i-1234567890abcdef0",
13+
default_ami_id: "ami-12345678",
14+
template_name: "test-template",
15+
});
1616

17-
it("supports optional variables", async () => {
18-
await testRequiredVariables(import.meta.dir, {
19-
instance_id: "i-1234567890abcdef0",
20-
default_ami_id: "ami-12345678",
21-
template_name: "test-template",
22-
enable_dlm_cleanup: true,
23-
dlm_role_arn: "arn:aws:iam::123456789012:role/dlm-lifecycle-role",
24-
snapshot_retention_count: 5,
25-
tags: {
26-
Environment: "test",
27-
Project: "coder",
28-
},
29-
});
30-
});
31-
});
17+
it("supports optional variables", async () => {
18+
await testRequiredVariables(import.meta.dir, {
19+
instance_id: "i-1234567890abcdef0",
20+
default_ami_id: "ami-12345678",
21+
template_name: "test-template",
22+
enable_dlm_cleanup: true,
23+
dlm_role_arn: "arn:aws:iam::123456789012:role/dlm-lifecycle-role",
24+
snapshot_retention_count: 5,
25+
tags: {
26+
Environment: "test",
27+
Project: "coder",
28+
},
29+
});
30+
});
31+
});

0 commit comments

Comments
 (0)