Skip to content

Commit

Permalink
Merge pull request #11 from abhinav-gcp/Abhinav8109-patch-12
Browse files Browse the repository at this point in the history
Update main.tf
  • Loading branch information
Abhinav8109 authored Jul 17, 2024
2 parents f89be61 + a5c7dfe commit 451fb9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/http_server/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ resource "google_compute_instance" "http_server" {
name = "${local.network}-apache2-instance"
machine_type = "f1-micro"

metadata_startup_script = "sudo apt-get update && sudo apt-get install apache2 -y && echo '<html><body><h1>Abhinav Environment: ${local.network}</h1></body></html>' | sudo tee /var/www/html/index.html"
metadata_startup_script = "sudo apt-get update && sudo apt-get install apache2 -y && echo '<html><body><h1>Sakshi Environment: ${local.network}</h1></body></html>' | sudo tee /var/www/html/index.html"

boot_disk {
initialize_params {
Expand Down

0 comments on commit 451fb9c

Please sign in to comment.