-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproviders.tf
More file actions
34 lines (29 loc) · 849 Bytes
/
providers.tf
File metadata and controls
34 lines (29 loc) · 849 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
terraform {
required_version = ">= 1.0"
backend "s3" {}
required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 4.15.1"
}
}
}
provider "aws" {
access_key = var.aws_access_key
profile = var.aws_profile
region = var.aws_region
secret_key = var.aws_secret_key
skip_credentials_validation = var.aws_skip_credential_validation
skip_metadata_api_check = var.aws_skip_metadata_api_check
skip_requesting_account_id = var.aws_skip_requesting_account_id
default_tags {
tags = var.tags
}
endpoints {
cloudtrail = var.aws_cloudtrail_endpoint
cloudwatch = var.aws_cloudwatch_endpoint
iam = var.aws_iam_endpoint
logs = var.aws_logs_endpoint
s3 = var.aws_s3_endpoint
}
}