24 lines
528 B
HCL
24 lines
528 B
HCL
provider "aws" {
|
|
region = var.aws-region
|
|
default_tags {
|
|
tags = {
|
|
ServiceProvider = "RackspaceTechnology"
|
|
Environment = var.environment
|
|
Project = var.project
|
|
Application = var.application
|
|
Owner = var.owner
|
|
TerraformDir = "${reverse(split("/", path.cwd))[1]}/${reverse(split("/", path.cwd))[0]}"
|
|
}
|
|
}
|
|
}
|
|
|
|
terraform {
|
|
required_version = ">= 1.3.9"
|
|
required_providers {
|
|
aws = {
|
|
source = "hashicorp/aws"
|
|
version = "~> 5.0"
|
|
}
|
|
}
|
|
}
|