-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy path_settings.tf
More file actions
49 lines (47 loc) · 1.82 KB
/
_settings.tf
File metadata and controls
49 lines (47 loc) · 1.82 KB
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
terraform {
# At the root of a layer (ie, the directory where "terraform apply" is run),
# best practice is to specify an exact version of Terraform to use. Use the
# "= 1.2.3" constraint to do this.
#
# In a module, you can allow more flexibility with regards to Terraform's
# minor and/or patch versions. For example, the "~> 1.0" constraint will allow
# all 1.x.x versions of Terraform, while the "~> 1.0.0" constraint will allow
# all 1.0.x versions.
#
# For more information: https://www.terraform.io/docs/language/settings/index.html#specifying-a-required-terraform-version
required_version = "~> 1.4"
# Terraform keeps track of all resources it knows of in its state. This state
# can be stored remotely in a "backend".
# For more information on state backends: https://www.terraform.io/docs/language/settings/backends/index.html
# For more information on the "s3" backend: https://www.terraform.io/docs/language/settings/backends/s3.html
backend "s3" {
bucket = "busser-murmur-tfstate"
key = "gcp-secret-manager"
region = "fr-par"
endpoints = {
s3 = "https://s3.fr-par.scw.cloud"
}
profile = "scaleway"
# We are swapping the AWS S3 API for the Scaleway S3 API, so we need to
# skip certain validation steps.
skip_credentials_validation = true
skip_region_validation = true
skip_requesting_account_id = true
}
# This layer requires that certain providers be configured by the caller.
# For more information: https://www.terraform.io/docs/language/providers/requirements.html
required_providers {
google = {
source = "hashicorp/google"
version = "7.23.0"
}
google-beta = {
source = "hashicorp/google-beta"
version = "7.23.0"
}
github = {
source = "integrations/github"
version = "6.6.0"
}
}
}