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.*

View file

@ -3,9 +3,9 @@ let
inherit (pkgs)
git-crypt
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.cloudflare
p.null

View file

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