github.com/terraform-modules-krish/terratest@v0.29.0/examples/terraform-aws-network-example/variables.tf (about)

     1  # ---------------------------------------------------------------------------------------------------------------------
     2  # ENVIRONMENT VARIABLES
     3  # Define these secrets as environment variables
     4  # ---------------------------------------------------------------------------------------------------------------------
     5  
     6  # AWS_ACCESS_KEY_ID
     7  # AWS_SECRET_ACCESS_KEY
     8  
     9  # ---------------------------------------------------------------------------------------------------------------------
    10  # REQUIRED PARAMETERS
    11  # You must provide a value for each of these parameters.
    12  # ---------------------------------------------------------------------------------------------------------------------
    13  
    14  variable "main_vpc_cidr" {
    15    description = "The CIDR of the main VPC"
    16    type        = string
    17  }
    18  
    19  variable "public_subnet_cidr" {
    20    description = "The CIDR of public subnet"
    21    type        = string
    22  }
    23  
    24  variable "private_subnet_cidr" {
    25    description = "The CIDR of the private subnet"
    26    type        = string
    27  }
    28  
    29  # ---------------------------------------------------------------------------------------------------------------------
    30  # OPTIONAL PARAMETERS
    31  # These parameters have reasonable defaults.
    32  # ---------------------------------------------------------------------------------------------------------------------
    33  
    34  variable "aws_region" {
    35    description = "The AWS region to deploy into"
    36    type        = string
    37    default     = "us-east-1"
    38  }
    39  
    40  variable "tag_name" {
    41    description = "A name used to tag the resource"
    42    type        = string
    43    default     = "terraform-network-example"
    44  }
    45