Commit febe27f0 authored by rajat.kulkarni's avatar rajat.kulkarni

Update sampleec2.tf

parent ff45d574
Pipeline #26670 failed with stage
in 4 seconds
......@@ -14,12 +14,12 @@ resource "aws_instance" "ec301" {
}
variable "instance_type" {
description = "Value of the Name tag for the EC2 instance"
type = string
default = "t2.micro"
sensitive = true
}
#variable "instance_type" {
# description = "Value of the Name tag for the EC2 instance"
#type = string
#default = "t2.micro"
#sensitive = true
#}
resource "aws_default_vpc" "main" {
......@@ -38,20 +38,20 @@ resource "time_sleep" "wait_30_seconds" {
variable "security_group_name1" {
description = "Value of the Security group name"
type = string
type = "string"
default = "security_group"
}
variable "role_ec2" {
description = "Value of the Name tag for the IAM role"
type = string
type = "string"
default = "role_name"
sensitive = true
}
variable "policy_name" {
description = "Value of the Name tag for the EC2 instance"
type = string
type = "string"
default = "policy_name"
sensitive = true
}
......
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