automated terminal push
This commit is contained in:
33
Infrastructure/foundation/versions.tf
Normal file
33
Infrastructure/foundation/versions.tf
Normal file
@@ -0,0 +1,33 @@
|
||||
# Terraform and Provider Versions
|
||||
# Defines the minimum required versions for consistency and reliability
|
||||
|
||||
terraform {
|
||||
required_version = ">= 1.5"
|
||||
|
||||
required_providers {
|
||||
aws = {
|
||||
source = "hashicorp/aws"
|
||||
version = "~> 5.0"
|
||||
}
|
||||
random = {
|
||||
source = "hashicorp/random"
|
||||
version = "~> 3.1"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# AWS Provider Configuration
|
||||
provider "aws" {
|
||||
region = var.aws_region
|
||||
|
||||
default_tags {
|
||||
tags = merge(
|
||||
var.common_tags,
|
||||
{
|
||||
Environment = var.environment
|
||||
Project = var.project_name
|
||||
ManagedBy = "terraform"
|
||||
}
|
||||
)
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user