Browse Source

reorder to group similar items together

Steven Jacobs 11 months ago
parent
commit
8b3db47ce5
1 changed files with 6 additions and 6 deletions
  1. 6 6
      main.tf

+ 6 - 6
main.tf

@@ -17,12 +17,6 @@ resource "linode_instance" "unifi-instance" {
     ]
   }
 
-  provisioner "remote-exec" {
-    inline = [
-      "mkdir -p /tmp/scripts",
-    ]
-  }
-
   provisioner "file" {
     source      = "${path.module}/files/etc/"
     destination = "/etc"
@@ -34,6 +28,12 @@ resource "linode_instance" "unifi-instance" {
     ]
   }
 
+  provisioner "remote-exec" {
+    inline = [
+      "mkdir -p /tmp/scripts",
+    ]
+  }
+
   provisioner "file" {
     source      = "${path.module}/scripts/"
     destination = "/tmp/scripts"