Skip to content

Instantly share code, notes, and snippets.

@theCaptN21
Last active February 2, 2023 21:11
Show Gist options
  • Save theCaptN21/4bdf893c77ee0ea03826a7d76afd7e16 to your computer and use it in GitHub Desktop.
Save theCaptN21/4bdf893c77ee0ea03826a7d76afd7e16 to your computer and use it in GitHub Desktop.
Project Variables
#Project variables
variable "aws_region" {
default = "us-east-1"
}
variable "vpc_cidr_block" {
description = "CIDR block for VPC"
type = list(string)
default = []
}
variable "public_subnet_cidr_block" {
description = "CIDR block for public subnet"
type = list(string)
default = []
}
variable "my_ip" {
description = "YourIPAddress"
type = string
sensitive = true
}
variable "ec2_instance_type" {
description = "Value of the Name tag for the EC2 instance"
type = string
default = "jenkins_server"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment