2023-02-02 17:15:17 -08:00
|
|
|
# Copyright (c) HashiCorp, Inc.
|
2023-08-11 10:31:53 -07:00
|
|
|
# SPDX-License-Identifier: BUSL-1.1
|
2023-02-02 17:15:17 -08:00
|
|
|
|
2022-07-28 14:48:51 -06:00
|
|
|
terraform_cli "default" {
|
|
|
|
|
plugin_cache_dir = abspath("./terraform-plugin-cache")
|
|
|
|
|
|
|
|
|
|
credentials "app.terraform.io" {
|
|
|
|
|
token = var.tfc_api_token
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
terraform "default" {
|
|
|
|
|
required_version = ">= 1.0.0"
|
|
|
|
|
|
|
|
|
|
required_providers {
|
|
|
|
|
enos = {
|
2022-08-16 13:07:19 -04:00
|
|
|
source = "app.terraform.io/hashicorp-qti/enos"
|
2022-07-28 14:48:51 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
aws = {
|
|
|
|
|
source = "hashicorp/aws"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
provider "aws" "default" {
|
|
|
|
|
region = "us-east-1"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
provider "enos" "default" {
|
|
|
|
|
transport = {
|
|
|
|
|
ssh = {
|
|
|
|
|
user = "ubuntu"
|
|
|
|
|
private_key_path = abspath(var.aws_ssh_private_key_path)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|