2023-03-15 16:00:52 +00:00
|
|
|
# Copyright (c) HashiCorp, Inc.
|
|
|
|
# SPDX-License-Identifier: MPL-2.0
|
|
|
|
|
2022-10-19 18:26:31 +00:00
|
|
|
terraform "k8s" {
|
|
|
|
required_version = ">= 1.2.0"
|
2023-06-09 19:40:59 +00:00
|
|
|
|
2022-10-19 18:26:31 +00:00
|
|
|
required_providers {
|
|
|
|
enos = {
|
2023-06-09 19:40:59 +00:00
|
|
|
source = "app.terraform.io/hashicorp-qti/enos"
|
|
|
|
version = "< 0.4.0"
|
2022-10-19 18:26:31 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
helm = {
|
2023-06-09 19:40:59 +00:00
|
|
|
source = "hashicorp/helm"
|
2022-10-19 18:26:31 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
terraform_cli "default" {
|
|
|
|
plugin_cache_dir = var.terraform_plugin_cache_dir != null ? abspath(var.terraform_plugin_cache_dir) : null
|
|
|
|
|
|
|
|
credentials "app.terraform.io" {
|
|
|
|
token = var.tfc_api_token
|
|
|
|
}
|
|
|
|
}
|