13 lines
269 B
HCL
13 lines
269 B
HCL
output ec2-id-ip {
|
|
value = {
|
|
instance-id = aws_instance.ec2-instance.id
|
|
private-ip = aws_instance.ec2-instance.private_ip
|
|
}
|
|
}
|
|
output instance-id {
|
|
value = aws_instance.ec2-instance.id
|
|
}
|
|
|
|
output private-ip {
|
|
value = aws_instance.ec2-instance.private_ip
|
|
} |