This directory contains a Terraform module to deploy DVWA on AWS.
cp terraform.tfvars-example terraform.tfvars
terraform init
terraform plan
terraform apply
Name |
Description |
Type |
Default |
Required |
instance_type |
AWS EC2 instance type to use for DVWA server |
string |
"t3.nano" |
no |
listen_port |
Port for DVWA web interface |
string |
"8080" |
no |
php_version |
PHP version to run DVWA |
string |
"8.1" |
no |
public_key |
SSH public key to add |
string |
"" |
no |
tags |
Tags to add to all resources |
map |
{ "Name": "dvwa" } |
no |
vpc_cidr |
VPC CIDR |
string |
"10.0.0.0/16" |
no |
vpc_subnet_cidr |
Subnet CIDR |
string |
"10.0.1.0/24" |
no |
Name |
Description |
dvwa_ssh_uri |
DVWA SSH uri |
dvwa_web_uri |
DVWA web interface uri |
public_ip |
Public IP address of EC2 instance containing DVWA web interface |