-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathprovider.tf
More file actions
35 lines (33 loc) · 959 Bytes
/
provider.tf
File metadata and controls
35 lines (33 loc) · 959 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 5.0"
}
archive = {
source = "hashicorp/archive"
version = "~> 2.2.0"
}
random = {
source = "hashicorp/random"
version = "~> 3.5"
}
}
required_version = ">= 1.0.0"
# Remote State Configuration
# Uncomment the backend block below after creating the S3 bucket and DynamoDB table.
# The bucket name is passed dynamically at init time — no hardcoding needed.
# See README.md "Remote State Setup" section for instructions.
#
# backend "s3" {
# key = "ai-chatbot/terraform.tfstate"
# region = "us-east-1"
# encrypt = true
# dynamodb_table = "terraform-locks"
# }
}
provider "aws" {
region = "us-east-1"
# AWS Academy credentials are read from ~/.aws/credentials
# or environment variables AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN
}