docker-compose.yml with MySQL, PHP/Apache, volumes, networking, and working curl test
main.tf with kreuzwerker/docker provider, docker_network, docker_volume, docker_image, docker_container resources
variables.tf with student_name validation, web_port, mysql credentials; terraform.tfvars with personal settings
web container uses count parameter; web_count variable controls container count; ports scale with count.index
terraform init/plan/apply succeeds; all containers running; curl returns success; terraform destroy cleans up
lamp-stack-terraform/ pushed to GitHub with .gitignore excluding .terraform/ and terraform.tfvars
I reenabled apparmor with: sudo status enable apparmor
There was an error while loading. Please reload this page.