terraform-training/NetworkContentDelivery/Exercise3/provider.tf

31 lines
601 B
Terraform
Raw Normal View History

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