mirror of
https://github.com/ansible-lockdown/RHEL9-CIS.git
synced 2025-12-24 14:23:05 +00:00
75 lines
1.4 KiB
HCL
75 lines
1.4 KiB
HCL
// Taken from the OSname.tfvars
|
|
|
|
variable "aws_region" {
|
|
description = "AWS region"
|
|
default = "us-east-1"
|
|
type = string
|
|
}
|
|
|
|
variable "instance_type" {
|
|
description = "EC2 Instance Type"
|
|
default = "t3.micro"
|
|
type = string
|
|
}
|
|
|
|
variable "instance_tags" {
|
|
description = "Tags to set for instances"
|
|
type = map(string)
|
|
}
|
|
|
|
variable "ami_key_pair_name" {
|
|
description = "Name of key pair in AWS thats used"
|
|
type = string
|
|
}
|
|
|
|
variable "private_key" {
|
|
description = "path to private key for ssh"
|
|
type = string
|
|
}
|
|
|
|
variable "ami_os" {
|
|
description = "AMI OS Type"
|
|
type = string
|
|
}
|
|
|
|
variable "ami_id" {
|
|
description = "AMI ID reference"
|
|
type = string
|
|
}
|
|
|
|
variable "ami_username" {
|
|
description = "Username for the ami id"
|
|
type = string
|
|
}
|
|
|
|
variable "ami_user_home" {
|
|
description = "home dir for the username"
|
|
type = string
|
|
}
|
|
|
|
variable "namespace" {
|
|
description = "Name used across all tags"
|
|
type = string
|
|
}
|
|
|
|
variable "environment" {
|
|
description = "Env Name used across all tags"
|
|
type = string
|
|
}
|
|
|
|
// taken from github_vars.tfvars &
|
|
|
|
variable "main_vpc_cidr" {
|
|
description = "Private cidr block to be used for vpc"
|
|
type = string
|
|
}
|
|
|
|
variable "public_subnets" {
|
|
description = "public subnet cidr block"
|
|
type = string
|
|
}
|
|
|
|
variable "private_subnets" {
|
|
description = "private subnet cidr block"
|
|
type = string
|
|
}
|