From 1e139a768c5e8c28c5c3b3aef5eae1e4fd20650a Mon Sep 17 00:00:00 2001 From: Thomas Wunderlich Date: Wed, 17 Aug 2022 21:27:36 -0400 Subject: [PATCH] Ugh, vars isn't optional RM bad code --- nomad/template_smple.json | 12 ------------ pulumi/grapl/__main__.py | 1 + 2 files changed, 1 insertion(+), 12 deletions(-) delete mode 100644 nomad/template_smple.json diff --git a/nomad/template_smple.json b/nomad/template_smple.json deleted file mode 100644 index ebbdbcc09c..0000000000 --- a/nomad/template_smple.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "name": "foo", - "count": 1, - "container_image": "bar", - "env": { - "key": "value" - }, - "service_type": "grpc", - "upstreams": { - "service": "port" - } -} \ No newline at end of file diff --git a/pulumi/grapl/__main__.py b/pulumi/grapl/__main__.py index 36c6536f46..daa31b7d2d 100644 --- a/pulumi/grapl/__main__.py +++ b/pulumi/grapl/__main__.py @@ -286,6 +286,7 @@ def main() -> None: nomad_grapl_ingress = NomadJob( "grapl-ingress", jobspec=repository_path("nomad/grapl-ingress.nomad"), + vars={}, opts=pulumi.ResourceOptions( provider=nomad_provider, # This dependson ensures we've switched the web-ui protocol to http instead of tcp prior. Otherwise there's