Browse the Repo

file-type-icondata-stores
file-type-iconlambda
file-type-iconmgmt
file-type-iconcloudwatch-dashboard
file-type-iconjenkins
file-type-iconmigration_guides
file-type-iconpacker
file-type-iconuser-data
file-type-iconREADME.md
file-type-iconmain.tf
file-type-iconoutputs.tf
file-type-iconvariables.tf
file-type-iconopenvpn-server
file-type-iconnetworking
file-type-iconsecurity
file-type-iconservice-templates
file-type-iconservices
file-type-icontls-scripts
file-type-icon.gitignore
file-type-iconCODEOWNERS
file-type-iconREADME.md

Browse the Repo

file-type-icondata-stores
file-type-iconlambda
file-type-iconmgmt
file-type-iconcloudwatch-dashboard
file-type-iconjenkins
file-type-iconmigration_guides
file-type-iconpacker
file-type-iconuser-data
file-type-iconREADME.md
file-type-iconmain.tf
file-type-iconoutputs.tf
file-type-iconvariables.tf
file-type-iconopenvpn-server
file-type-iconnetworking
file-type-iconsecurity
file-type-iconservice-templates
file-type-iconservices
file-type-icontls-scripts
file-type-icon.gitignore
file-type-iconCODEOWNERS
file-type-iconREADME.md
Sample Infrastructure Modules

Sample Infrastructure Modules

Sample infrastructure-modules repo (multi-account setup) for fictional company Acme.

Code Preview

Preview the Code

mobile file icon

variables.tf

down
  • # ---------------------------------------------------------------------------------------------------------------------
  • # MODULE PARAMETERS
  • # These variables are expected to be passed in by the operator
  • # ---------------------------------------------------------------------------------------------------------------------
  • variable "aws_region" {
  • description = "The AWS region in which all resources will be created"
  • type = string
  • }
  • variable "aws_account_id" {
  • description = "The ID of the AWS Account in which to create resources."
  • type = string
  • }
  • variable "instance_type" {
  • description = "The instance type to use for the Jenkins server (e.g. t3.medium)"
  • type = string
  • }
  • variable "ami" {
  • description = "The ID of the AMI to run on the Jenkins server. This should be the AMI build from the Packer template at packer/jenkins-ubuntu.json."
  • type = string
  • }

Questions? Ask away.

We're here to talk about our services, answer any questions, give advice, or just to chat.

Ready to hand off the Gruntwork?