We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ab2aba commit 6864b2cCopy full SHA for 6864b2c
terraform.tf
@@ -108,8 +108,9 @@ resource "null_resource" "setup" {
108
inline = [
109
"sudo chmod +x /home/ubuntu/setup_server.sh",
110
"/home/ubuntu/setup_server.sh",
111
- "git clone https://oauth2:[email protected]/PSNAppz/Fold-ELK.git && cd Fold-ELK",
112
- "docker compose up -d --build"
+ "git clone https://oauth2:${var.git_access_token}@github.com/PSNAppz/Fold-ELK.git && cd Fold-ELK",
+ "mv /home/ubuntu/.env .env",
113
+ "sudo /home/ubuntu/.docker/cli-plugins/docker-compose up -d --build"
114
]
115
}
116
0 commit comments