terraform-training/SecurityIdentityCompliance/Exercise1/provider.tf

27 lines
523 B
Terraform
Raw Normal View History

2024-05-30 14:28:14 +08:00
provider "aws" {
2024-05-30 14:46:28 +08:00
region = "us-east-1"
2024-05-30 14:28:14 +08:00
default_tags {
tags = {
2024-05-30 14:46:28 +08:00
ServiceProvider = "RackspaceTechnology"
Environment = "Training"
Project = "Iac"
TerraformMode = "managed"
TerraformDir = "${reverse(split("/", path.cwd))[1]}/${reverse(split("/", path.cwd))[0]}"
2024-05-30 14:28:14 +08:00
}
}
}
output "last-updated" {
value = timestamp()
}
terraform {
required_version = ">= 1.3.0"
required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 5.0"
}
}
}