Skip to content

Commit f904b28

Browse files
committed
Merge branch 'main' of github.com:IBM/infra-to-app-with-landing-zone into main
2 parents 26eee93 + c63b955 commit f904b28

File tree

3 files changed

+21
-1
lines changed

3 files changed

+21
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ This deployable architecture automates all of the deployment steps to:
44
1. Provision a VPC-based topology aligned with best practices from the [IBM Cloud Framework for Financial Services](https://cloud.ibm.com/docs/framework-financial-services?topic=framework-financial-services-vpc-architecture-about).
55
2. Deploy an Apache web server on top of this secure topology
66

7-
This deployable architecture is built in the context of the lab *Seamless Deployment: From Provisioning to Runtime with IBM Cloud’s Landing Zone lab*. Instructions for the lab can be found at: https://ibm.github.io/infra-to-app-with-landing-zone/
7+
This deployable architecture is built in the context of the lab *Seamless Deployment: From Provisioning to Runtime with IBM Cloud’s Landing Zone*. Instructions for the lab can be found at: https://ibm.github.io/infra-to-app-with-landing-zone/

app-install/main.tf

+10
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,14 @@ resource "null_resource" "application-install" {
3030
"apt-get install apache2 -y"
3131
]
3232
}
33+
34+
provisioner "file" {
35+
content = <<EOT
36+
<html>
37+
<img src="https://raw.githubusercontent.com/IBM/infra-to-app-with-landing-zone/main/docs/header.jpg">
38+
<h1> You did it!! </h1>
39+
</html>
40+
EOT
41+
destination = "/var/www/html/index.html"
42+
}
3343
}

lab/step2/apache.tf

+10
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,16 @@ resource "null_resource" "application-install" {
3737
"apt-get install apache2 -y"
3838
]
3939
}
40+
41+
provisioner "file" {
42+
content = <<EOT
43+
<html>
44+
<img src="https://raw.githubusercontent.com/IBM/infra-to-app-with-landing-zone/main/docs/header.jpg">
45+
<h1> You did it!! </h1>
46+
</html>
47+
EOT
48+
destination = "/var/www/html/index.html"
49+
}
4050
}
4151

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

0 commit comments

Comments
 (0)