diff --git a/base/libvirtd.tf b/base/libvirtd.tf index 61aaa6c..2cad44e 100644 --- a/base/libvirtd.tf +++ b/base/libvirtd.tf @@ -1,12 +1,21 @@ # https://github.com/dmacvicar/terraform-provider-libvirt/blob/master/website/docs/r terraform { - required_version = ">= 0.12" + required_providers { - null = "~> 2.1" - template = "~> 2.1" - libvirt = ">= 0.0.0" + null = { + source = "hashicorp/null" + version = "~> 2.1" + } + template = { + source = "hashicorp/template" + version = "~> 2.1" + } + libvirt = { + source = "dmacvicar/libvirt" + version = ">= 0.6.3" + } } backend "etcdv3" { diff --git a/base/versions.tf b/base/versions.tf new file mode 100644 index 0000000..6b6318d --- /dev/null +++ b/base/versions.tf @@ -0,0 +1,3 @@ +terraform { + required_version = ">= 0.13" +} diff --git a/stack/libvirtd.tf b/stack/libvirtd.tf index 3145a24..a19af1f 100644 --- a/stack/libvirtd.tf +++ b/stack/libvirtd.tf @@ -4,9 +4,18 @@ terraform { required_version = ">= 0.12" required_providers { - null = "~> 2.1" - template = "~> 2.1" - libvirt = ">= 0.0.0" + null = { + source = "hashicorp/null" + version = "~> 2.1" + } + template = { + source = "hashicorp/template" + version = "~> 2.1" + } + libvirt = { + source = "dmacvicar/libvirt" + version = ">= 0.6.3" + } } backend "etcdv3" { diff --git a/stack/versions.tf b/stack/versions.tf new file mode 100644 index 0000000..6b6318d --- /dev/null +++ b/stack/versions.tf @@ -0,0 +1,3 @@ +terraform { + required_version = ">= 0.13" +}