Skip to content

Commit e2ff0ef

Browse files
committed
Extend instances with java
1 parent 7983cdd commit e2ff0ef

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ terraform/terraform.tfvars
22
.idea
33
terraform/.terraform
44
terraform/terraform.tfstate*
5+
terraform/.terraform.tfstate.lock.info

terraform/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ resource "aws_instance" "awx_host" {
7878
inline = [
7979
"sudo apt update",
8080
"sudo apt upgrade -y",
81-
"sudo apt install -y python python-apt apt-transport-https ca-certificates curl software-properties-common git",
81+
"sudo apt install -y python python-apt apt-transport-https ca-certificates curl software-properties-common git openjdk-8-jdk-headless",
8282
]
8383

8484
connection {

0 commit comments

Comments
 (0)