-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathproviders.tf
More file actions
37 lines (34 loc) · 912 Bytes
/
providers.tf
File metadata and controls
37 lines (34 loc) · 912 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
terraform {
required_version = "~> 1.7"
required_providers {
cloudfoundry = {
source = "cloudfoundry-community/cloudfoundry"
version = "0.53.1"
}
cfcommunity = {
source = "cloudfoundry-community/cloudfoundry"
version = "0.53.1"
}
}
backend "s3" {
bucket = "cg-6b759c13-6253-4a64-9bda-dd1f620185b0"
key = "api.tfstate.prod"
encrypt = "true"
region = "us-gov-west-1"
use_lockfile = "true"
}
}
# Official provider (should be default but aliased for now)
provider "cloudfoundry" {
alias = "official"
api_url = "https://api.fr.cloud.gov"
user = var.cf_user
password = var.cf_password
}
# Community provider (should be aliased but default for now)
provider "cfcommunity" {
api_url = "https://api.fr.cloud.gov"
user = var.cf_user
password = var.cf_password
app_logs_max = 30
}