Skip to content

Commit e156e3f

Browse files
authored
Update main.tf
1 parent 4700a8b commit e156e3f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

infra/ec2/main.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ variable "user_data_install_apache" {}
99
variable "ec2_sg_name_for_python_api" {}
1010

1111
output "ssh_connection_string_for_ec2" {
12-
value = format("%s%s", "ssh -i /home/ubuntu/keys/aws_ec2_terraform ubuntu@", aws_instance.dev_proj_1_ec2.public_ip)
12+
value = format("%s%s", "G:/CLOUD DOWNLOADS/ABCCORP.pem", aws_instance.cba_1_ec2.public_ip)
1313
}
1414

15-
output "dev_proj_1_ec2_instance_id" {
16-
value = aws_instance.dev_proj_1_ec2.id
15+
output "cba_1_ec2_instance_id" {
16+
value = aws_instance.cba_1_ec2.id
1717
}
1818

19-
resource "aws_instance" "dev_proj_1_ec2" {
19+
resource "aws_instance" "cba_1_ec2" {
2020
ami = var.ami_id
2121
instance_type = var.instance_type
2222
tags = {

0 commit comments

Comments
 (0)