This is a work in progress to stand up a Pi-Hole server using Terraform and Ansible.
The Ansible part probably doesn't work properly because port 22 is blocked from my location.
Core Version Constraints:
>=0.12.0
Provider Requirements:
- aws:
~> 2.0
- null: (any version)
Patch_Group
(default"Ubuntu18"
): This can be used for AWS SSMenv
(default"dev"
): The environment that this instance will be deployed toiam_profile
(default"Insert IAM role for the instance"
): The profile to assign to the instanceinstance_type
(default"t2.nano"
): Instance typekey_name
(default"Insert key pair name here"
): Key name to be used on the instanceowner
(default"Zaphod Beeblebrox"
): Who is responsible for this instanceregion
(default"Insert region here"
)tag_name
(default"Tag name of the instance"
): Tags for the instancezone
(default"Insert the zone for the instance deployment"
)
aws_eip.eip
fromaws
aws_eip_association.eip-asoc
fromaws
null_resource.ansible
fromnull
ec2
from./modules/ec2
security
from./modules/sg/openvpn
subnet
from./modules/subnets
vpc
from./modules/vpc