terraform-demo/modules/ec2/outputs.tf
2023-01-11 01:31:56 +09:00

13 lines
228 B
HCL

output "ec2_id" {
value = aws_instance.ubuntu.id
}
output "public_ip_associate" {
value = aws_instance.ubuntu.associate_public_ip_address
}
output "sg_id" {
value = aws_network_interface.eni.security_groups
}