2023-03-15 16:00:52 +00:00
|
|
|
# Copyright (c) HashiCorp, Inc.
|
2023-09-18 21:10:37 +00:00
|
|
|
# SPDX-License-Identifier: BUSL-1.1
|
2023-03-15 16:00:52 +00:00
|
|
|
|
2022-08-23 19:53:41 +00:00
|
|
|
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)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|