Skip to content

Instantly share code, notes, and snippets.

@phillhocking
Created September 25, 2019 07:36
Show Gist options
  • Save phillhocking/9e5792fe3ec9e7d0ab4df23d0dd35e7a to your computer and use it in GitHub Desktop.
Save phillhocking/9e5792fe3ec9e7d0ab4df23d0dd35e7a to your computer and use it in GitHub Desktop.
Example variables.tf
# AWS Config
variable "aws_access_key" {
default = "YOUR_ACCESS_KEY_ID"
}
variable "aws_secret_key" {
default = "YOUR_SECRET_KEY"
}
variable "aws_region" {
default = "us-west-2"
}
variable "key_pair_name" {
default = "your_key_name"
}
variable "key_pair_location" {
default = "~/Documents/your_key_name.pem"
}
# This ACM certificate MUST be in us-east-1
variable "cloudfront_ssl_acm_arn" {
default = "arn:aws:acm:us-east-1:YOUR_AWS_ID:certificate/YOUR_CERTIFICATE_ID"
}
# Ghost Config
variable "domain_name" {
default = "my-ghost-blog.com"
}
variable "db_name" {
default = "ghost_blog_db"
}
variable "db_user" {
default = "ghost_user"
}
variable "db_pass" {
default = "593!MyB!og!Ghost!Pass"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment