hmckenzie.net Terraform Stack
Note : This project was created for the purpose of my own personal portfolio website.
While there are customisable variables, I have set the default and flexibility to match my own personal needs.
S3 Bucket
A bucket containing the static web content (I'm personally using Hugo)
Another bucket to store the CodePipeline artifacts
Your own domain hosted in Route 53
A Key Pair in the region this is being deployed in
A connection to have been manually created to your repo in CodePipeline
Name
Description
Type
Default
Required
apex-domain
(optional) The apex domain of the hostname being used for the frontend. This can be left blank if the apex is being used for the frontend.
string
""
no
codepipeline-bucket
Name of the S3 bucket to use for CodePipeline
string
n/a
yes
codestar-connection-arn
The ARN of the codestar connection used to connect to the VC (ie GitHub)
string
n/a
yes
env
Name of the environment, such as 'live' or 'development'
string
n/a
yes
hostname
Hostname to use for the frontend
string
n/a
yes
keypair
Name of the key to associate with the web instance
string
n/a
yes
name
The name to assign to the environment
string
n/a
yes
permitted_ssh_ips
List of IPs to permit SSH access to on the web instances
list(string)
n/a
yes
web-ami
AMI to use for the web instance
string
n/a
yes
web-bucket
Name of the S3 bucket containing the web content
string
n/a
yes
web-instance-type
Instance type to use for the web servers
string
"t2.micro"
no
No outputs.
Harley McKenzie - Creator