mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-27 08:56:25 -06:00
31349a9c3a
This is part of a general effort to move all of Terraform's non-library package surface under internal in order to reinforce that these are for internal use within Terraform only. If you were previously importing packages under this prefix into an external codebase, you could pin to an earlier release tag as an interim solution until you've make a plan to achieve the same functionality some other way.
35 lines
853 B
HCL
35 lines
853 B
HCL
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 "kinder" {
|
|
source = "./child"
|
|
}
|
|
|
|
# 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" {
|
|
}
|
|
|
|
# There is no provider in required_providers called "configured", so the version
|
|
# constraint should come from this configuration block.
|
|
provider "configured" {
|
|
version = "~> 1.4"
|
|
}
|