fix Terraform CloudFlare module config
For some stupid reason the order matters. Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
aa3778b616
commit
5da8134f27
12
providers.tf
12
providers.tf
|
@ -1,11 +1,11 @@
|
||||||
provider "cloudflare" {
|
|
||||||
email = data.pass_password.cloudflare_email.password
|
|
||||||
api_key = data.pass_password.cloudflare_token.password
|
|
||||||
account_id = data.pass_password.cloudflare_account.password
|
|
||||||
}
|
|
||||||
|
|
||||||
provider "google" {
|
provider "google" {
|
||||||
credentials = data.pass_password.google_cloud_cred_json.full
|
credentials = data.pass_password.google_cloud_cred_json.full
|
||||||
project = "russia-servers"
|
project = "russia-servers"
|
||||||
region = "us-central1"
|
region = "us-central1"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
provider "cloudflare" {
|
||||||
|
email = data.pass_password.cloudflare_email.password
|
||||||
|
api_key = data.pass_password.cloudflare_token.password
|
||||||
|
account_id = data.pass_password.cloudflare_account.password
|
||||||
|
}
|
||||||
|
|
|
@ -1,10 +1,6 @@
|
||||||
terraform {
|
terraform {
|
||||||
required_version = "~> 1.3.0"
|
required_version = "~> 1.3.0"
|
||||||
required_providers {
|
required_providers {
|
||||||
ansible = {
|
|
||||||
source = "nbering/ansible"
|
|
||||||
version = " = 1.0.4"
|
|
||||||
}
|
|
||||||
cloudflare = {
|
cloudflare = {
|
||||||
source = "cloudflare/cloudflare"
|
source = "cloudflare/cloudflare"
|
||||||
version = " = 2.21.0"
|
version = " = 2.21.0"
|
||||||
|
|
Loading…
Reference in New Issue