We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4700a8b commit e156e3fCopy full SHA for e156e3f
infra/ec2/main.tf
@@ -9,14 +9,14 @@ variable "user_data_install_apache" {}
9
variable "ec2_sg_name_for_python_api" {}
10
11
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)
+ value = format("%s%s", "G:/CLOUD DOWNLOADS/ABCCORP.pem", aws_instance.cba_1_ec2.public_ip)
13
}
14
15
-output "dev_proj_1_ec2_instance_id" {
16
- value = aws_instance.dev_proj_1_ec2.id
+output "cba_1_ec2_instance_id" {
+ value = aws_instance.cba_1_ec2.id
17
18
19
-resource "aws_instance" "dev_proj_1_ec2" {
+resource "aws_instance" "cba_1_ec2" {
20
ami = var.ami_id
21
instance_type = var.instance_type
22
tags = {
0 commit comments