feat: updated root module skeleton template
This commit is contained in:
+1
-9
@@ -1,9 +1 @@
|
||||
# Every module should be documented
|
||||
|
||||
## Description
|
||||
|
||||
## Input variables
|
||||
|
||||
## Output variables
|
||||
|
||||
## Example
|
||||
# TODO generate with terraform-docs
|
||||
+4
-1
@@ -1 +1,4 @@
|
||||
# main.tf
|
||||
/**
|
||||
* # Module Name
|
||||
*
|
||||
*/
|
||||
+2
-2
@@ -13,11 +13,11 @@ provider "aws" {
|
||||
|
||||
|
||||
terraform {
|
||||
required_version = ">= 1.3"
|
||||
required_version = ">= 1.11"
|
||||
required_providers {
|
||||
aws = {
|
||||
source = "hashicorp/aws"
|
||||
version = ">= 5.0"
|
||||
version = ">= 6.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
aws-region = "ap-east-1"
|
||||
customer-name = "CX"
|
||||
environment = "prod"
|
||||
environment = "Lab"
|
||||
project = "SupportTools"
|
||||
application = "Undefined"
|
||||
|
||||
+20
-5
@@ -1,5 +1,20 @@
|
||||
variable "aws-region" {}
|
||||
variable "customer-name" {}
|
||||
variable "environment" {}
|
||||
variable "project" {}
|
||||
variable "application" {}
|
||||
variable "aws-region" {
|
||||
description = "AWS Region"
|
||||
type = string
|
||||
}
|
||||
variable "customer-name" {
|
||||
description = "Resource owner"
|
||||
type = string
|
||||
}
|
||||
variable "environment" {
|
||||
description = "Environment i.e. Prod/Qa/Dev"
|
||||
type = string
|
||||
}
|
||||
variable "project" {
|
||||
description = "Name of project"
|
||||
type = string
|
||||
}
|
||||
variable "application" {
|
||||
description = "Name of application"
|
||||
type = string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user