automated terminal push
This commit is contained in:
31
terraform/versions.tf
Normal file
31
terraform/versions.tf
Normal file
@@ -0,0 +1,31 @@
|
||||
# versions.tf - Enterprise-grade version management
|
||||
# This file pins provider versions for consistency across environments
|
||||
|
||||
terraform {
|
||||
required_version = ">= 1.5.0"
|
||||
|
||||
required_providers {
|
||||
aws = {
|
||||
source = "hashicorp/aws"
|
||||
version = "~> 6.3.0" # Pin to specific minor version for stability
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Provider configuration with default tags (enterprise best practice)
|
||||
provider "aws" {
|
||||
region = var.aws_region
|
||||
|
||||
# Default tags applied to all resources (enterprise requirement)
|
||||
default_tags {
|
||||
tags = {
|
||||
Environment = "production"
|
||||
Project = "nvhi-atsila"
|
||||
ManagedBy = "terraform"
|
||||
Owner = "devops-team"
|
||||
CostCenter = "engineering"
|
||||
SecurityReview = "2024-Q4"
|
||||
DataClassification = "internal"
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user