22 lines
385 B
HCL
22 lines
385 B
HCL
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)
|
|
}
|
|
}
|
|
}
|