2023-02-02 17:15:17 -08:00
|
|
|
# Copyright (c) HashiCorp, Inc.
|
|
|
|
|
# SPDX-License-Identifier: BUSL-1.1
|
|
|
|
|
|
2022-07-28 14:48:51 -06:00
|
|
|
terraform_cli "default" {
|
|
|
|
|
plugin_cache_dir = abspath("./terraform-plugin-cache")
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
terraform "default" {
|
|
|
|
|
required_version = ">= 1.0.0"
|
|
|
|
|
|
|
|
|
|
required_providers {
|
|
|
|
|
enos = {
|
2024-06-10 11:13:09 -04:00
|
|
|
source = "registry.terraform.io/hashicorp-forge/enos"
|
2022-07-28 14:48:51 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
aws = {
|
2024-11-01 13:27:40 -04:00
|
|
|
source = "hashicorp/aws"
|
|
|
|
|
version = "5.72.1"
|
2022-07-28 14:48:51 -06:00
|
|
|
}
|
2024-12-17 14:06:14 -05:00
|
|
|
|
|
|
|
|
google = {
|
|
|
|
|
source = "hashicorp/google"
|
|
|
|
|
version = "5.22.0"
|
|
|
|
|
}
|
2022-07-28 14:48:51 -06:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
provider "aws" "default" {
|
2024-05-28 09:46:01 -04:00
|
|
|
region = var.aws_region
|
2022-07-28 14:48:51 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
provider "enos" "default" {
|
|
|
|
|
transport = {
|
|
|
|
|
ssh = {
|
|
|
|
|
user = "ubuntu"
|
|
|
|
|
private_key_path = abspath(var.aws_ssh_private_key_path)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-12-17 14:06:14 -05:00
|
|
|
|
|
|
|
|
provider "google" "default" {
|
|
|
|
|
region = var.gcp_region
|
|
|
|
|
project = var.gcp_project_id
|
|
|
|
|
}
|