update to Terraform 1.0

This commit is contained in:
zimbatm 2021-08-18 13:05:59 +02:00
parent a35272b352
commit 353654afff
No known key found for this signature in database
GPG key ID: 71BAF6D40C1D63D7
3 changed files with 9 additions and 3 deletions

1
.gitignore vendored
View file

@ -8,3 +8,4 @@ result-*
# Terraform # Terraform
.terraform .terraform
.terraform.*

View file

@ -3,9 +3,9 @@ let
inherit (pkgs) inherit (pkgs)
git-crypt git-crypt
niv; niv;
nixopsUnstable = (pkgs.nixopsUnstable.withPlugins(ps: [])); nixopsUnstable = (pkgs.nixopsUnstable.withPlugins (ps: [ ]));
terraform = pkgs.terraform_0_12.withPlugins ( terraform = pkgs.terraform_1_0.withPlugins (
p: [ p: [
p.cloudflare p.cloudflare
p.null p.null

View file

@ -3,9 +3,14 @@ terraform {
organization = "nix-community" organization = "nix-community"
workspaces { name = "nix-community" } workspaces { name = "nix-community" }
} }
required_providers {
cloudflare = {
source = "cloudflare/cloudflare"
}
}
} }
provider "cloudflare" { provider "cloudflare" {
version = "~> 2.0"
account_id = "e4a2db52c495db230973c839a0699ae1" account_id = "e4a2db52c495db230973c839a0699ae1"
} }