Commit 1b198b19 authored by rajat.kulkarni's avatar rajat.kulkarni

Update sampleec2.tf

parent b1550126
Pipeline #26637 canceled with stage
...@@ -13,7 +13,7 @@ provider "aws" { ...@@ -13,7 +13,7 @@ provider "aws" {
resource "aws_instance" "ec301" { resource "aws_instance" "ec301" {
ami ="ami-087c17d1fe0178315" ami ="ami-087c17d1fe0178315"
instance_type =var.instance_type instance_type =var.instance_type
#security_groups = var.security_group_name security_groups = [aws_security_group.security_group_name1.name]
key_name = "ec2instance" key_name = "ec2instance"
tags = { ec2_create = "instance1" } tags = { ec2_create = "instance1" }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment