update to Terraform 1.0
This commit is contained in:
parent
a35272b352
commit
353654afff
3 changed files with 9 additions and 3 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -8,3 +8,4 @@ result-*
|
||||||
|
|
||||||
# Terraform
|
# Terraform
|
||||||
.terraform
|
.terraform
|
||||||
|
.terraform.*
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue