-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathproviders.tf
More file actions
42 lines (37 loc) · 811 Bytes
/
providers.tf
File metadata and controls
42 lines (37 loc) · 811 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
36
37
38
39
40
41
terraform {
required_version = "~> 1.12.0"
backend "s3" {
bucket = "codeforpoznan-tfstate"
key = "codeforpoznan.tfstate"
profile = "codeforpoznan"
region = "eu-west-1"
}
required_providers {
aws = {
source = "hashicorp/aws"
version = "5.98.0"
configuration_aliases = [aws.north_virginia]
}
random = {
source = "hashicorp/random"
version = "3.7.2"
}
cloudinit = {
source = "hashicorp/cloudinit"
version = "2.3.7"
}
postgresql = {
source = "cyrilgdn/postgresql"
version = "1.25.0"
}
}
}
provider "aws" {
region = "eu-west-1"
profile = "codeforpoznan"
}
provider "aws" {
region = "us-east-1"
profile = "codeforpoznan"
alias = "north_virginia"
}