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:
Jakub Sokołowski 2022-10-20 22:59:18 +02:00
parent aa3778b616
commit 5da8134f27
No known key found for this signature in database
GPG Key ID: 09AA5403E54D9931
2 changed files with 6 additions and 10 deletions

View File

@ -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" {
credentials = data.pass_password.google_cloud_cred_json.full
project = "russia-servers"
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
}

View File

@ -1,10 +1,6 @@
terraform {
required_version = "~> 1.3.0"
required_providers {
ansible = {
source = "nbering/ansible"
version = " = 1.0.4"
}
cloudflare = {
source = "cloudflare/cloudflare"
version = " = 2.21.0"