瀏覽代碼

install python3

Chris Mague 4 年之前
父節點
當前提交
d4f6d3d10f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      provisioning.tf

+ 1 - 1
provisioning.tf

@@ -9,7 +9,7 @@ resource "null_resource" "remote-config" {
       private_key = file(local.ssh_key_path)
       agent       = true
     }
-    inline = ["sudo apt update > /dev/null  && sudo apt install -y python3-pip > /dev/null"]
+    inline = ["sudo apt update > /dev/null  && sudo apt install -y python3 python3-pip > /dev/null"]
   }
   depends_on = [aws_instance.re, aws_eip_association.re-eip-assoc, null_resource.inventory-setup, null_resource.ssh-setup]
 }