27 lines
498 B
Terraform
27 lines
498 B
Terraform
provider "aws" {
|
|
region = "ap-east-1"
|
|
|
|
default_tags {
|
|
tags = {
|
|
Environment = "lab"
|
|
Project = "iac"
|
|
Application = "terraform"
|
|
Owner = "ken2026"
|
|
TerraformDir = "${reverse(split("/", path.cwd))[1]}/${reverse(split("/", path.cwd))[0]}"
|
|
}
|
|
}
|
|
}
|
|
|
|
output "last-updated" {
|
|
value = timestamp()
|
|
}
|
|
|
|
terraform {
|
|
required_version = ">= 1.13.0"
|
|
required_providers {
|
|
aws = {
|
|
source = "hashicorp/aws"
|
|
version = "~> 5.100.0"
|
|
}
|
|
}
|
|
} |