We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75d8d0d commit 2940475Copy full SHA for 2940475
gcp-region/main.test.ts
@@ -23,4 +23,22 @@ describe("gcp-region", async () => {
23
});
24
expect(state.outputs.value.value).toBe("asia-east1-a");
25
26
+
27
+ it("gpu only invalid default", async () => {
28
+ const state = await runTerraformApply(import.meta.dir, {
29
+ regions: '["us-west2"]',
30
+ default: "us-west2-a",
31
+ gpu_only: "true",
32
+ });
33
+ expect(state.outputs.value.value).toBe("");
34
35
36
+ it("gpu only valid default", async () => {
37
38
39
+ default: "us-west2-b",
40
41
42
+ expect(state.outputs.value.value).toBe("us-west2-b");
43
44
0 commit comments