Files

54 lines
809 B
Terraform
Raw Normal View History

2024-04-12 16:57:30 +05:30
variable "aws_region" {
type = string
}
variable "project_name" {
type = string
}
variable "environment" {
type = string
}
variable "client_name" {
type = string
}
2024-05-30 15:54:52 -05:00
2024-04-12 16:57:30 +05:30
# dynamoDB table
variable "terraform_dynamodb_table" {
type = object({
name = string
hash_key = string
read_capacity = string
write_capacity = string
attributes = list(object({
name = string
type = string
}))
})
default = {
name = "terraform-lock"
hash_key = "LockID"
read_capacity = 20
write_capacity = 20
attributes = [
{
name = "LockID"
type = "S"
}
]
}
}
# s3 bucket
variable "terraform_s3_bucket" {
type = object({
name = string
})
default = {
name = "terraform-state"
}
}