2020-03-26 20:04:48 +01:00
|
|
|
terraform {
|
|
|
|
required_providers {
|
|
|
|
null = "~> 2.0.0"
|
|
|
|
random = {
|
|
|
|
version = "~> 1.2.0"
|
|
|
|
}
|
|
|
|
tls = {
|
|
|
|
source = "hashicorp/tls"
|
|
|
|
version = "~> 3.0"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
# There is no provider in required_providers called "implied", so this
|
|
|
|
# implicitly declares a dependency on "hashicorp/implied".
|
|
|
|
resource "implied_foo" "bar" {
|
|
|
|
}
|
|
|
|
|
|
|
|
module "child" {
|
|
|
|
source = "./child"
|
|
|
|
}
|
2020-04-02 01:11:15 +02:00
|
|
|
|
|
|
|
# There is no provider in required_providers called "terraform", but for
|
|
|
|
# this name in particular we imply terraform.io/builtin/terraform instead,
|
|
|
|
# to avoid selecting the now-unmaintained
|
|
|
|
# registry.terraform.io/hashicorp/terraform.
|
|
|
|
data "terraform_remote_state" "bar" {
|
|
|
|
}
|
2020-04-10 19:26:38 +02:00
|
|
|
|
|
|
|
# There is no provider in required_providers called "configured", so the version
|
|
|
|
# constraint should come from this configuration block.
|
|
|
|
provider "configured" {
|
|
|
|
version = "~> 1.4"
|
|
|
|
}
|