-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmain.tf
56 lines (50 loc) · 915 Bytes
/
main.tf
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
terraform {
# backend "s3" {
# bucket = "mybucket"
# key = "path/to/my/key"
# region = var.region
# }
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 5.10"
}
awscc = {
source = "hashicorp/awscc"
version = "~> 0.57.0"
}
azuread = {
source = "hashicorp/azuread"
version = "2.44.0"
}
random = {
source = "hashicorp/random"
version = "3.4.2"
}
http = {
source = "hashicorp/http"
version = "3.4.0"
}
vault = {
source = "hashicorp/vault"
version = "~> 3.19.0"
}
}
}
// set these as ENV vars or use the Makefile
provider "aws" {
region = var.region
default_tags {
tags = local.aws_tags
}
}
provider "awscc" {
region = var.region
}
provider "azuread" {
}
provider "http" {
}
provider "vault" {
}
data "aws_caller_identity" "current" {}