Commit 3e060abf authored by rajat.kulkarni's avatar rajat.kulkarni

Update sampleec2.tf

parent dfbc58f1
Pipeline #26688 failed with stage
in 4 seconds
provider "aws" {
profile = "default"
region = "us-east-1"
access_key = "AKIAXH6PITZUD6E7DLNX"
secret_key = "miYosKiYXxcc4bGpfpVL8dmGWNFLPS4FhIl+dFqM"
access_key = "AKIA3CBLDPGKFLYIQM4T"
secret_key = "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"
}
resource "aws_instance" "ec301" {
......@@ -36,26 +36,21 @@ resource "time_sleep" "wait_30_seconds" {
variable "security_group_name" {
description = "Value of the Security group name"
type = string
default = "ExampleAppServerInstance"
default = "security_group"
}
variable "role_name" {
description = "Value of the Name tag for the IAM role"
type = string
default = "ExampleAppServerInstance"
default = "role_name"
sensitive = true
}
variable "policy_name" {
description = "Value of the Name tag for the EC2 instance"
type = string
default = "ExampleAppServerInstance"
default = "policy_name"
sensitive = true
}
resource "local_file" "foo" {
content = var.environment
filename = "/C:/Users/rajat.kulkarni/Screenshots/New folder/stage.tfvars"
}
variable "environment" {}
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