| # Copyright (c) HashiCorp, Inc. | |
| # SPDX-License-Identifier: BUSL-1.1 | |
| provider "aws" "default" { | |
| region = var.aws_region | |
| } | |
| provider "enos" "rhel" { | |
| transport = { | |
| ssh = { | |
| user = "ec2-user" | |
| private_key_path = abspath(var.aws_ssh_private_key_path) | |
| } | |
| } | |
| } | |
| provider "enos" "ubuntu" { | |
| transport = { | |
| ssh = { | |
| user = "ubuntu" | |
| private_key_path = abspath(var.aws_ssh_private_key_path) | |
| } | |
| } | |
| } |