2023-03-15 16:00:52 +00:00
|
|
|
# Copyright (c) HashiCorp, Inc.
|
|
|
|
# SPDX-License-Identifier: MPL-2.0
|
|
|
|
|
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)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|