Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
Terraform_ec2_instance
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rajat.kulkarni
Terraform_ec2_instance
Commits
533e619e
Commit
533e619e
authored
Dec 17, 2021
by
rajat.kulkarni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upload New File
parent
42edec7a
Pipeline
#26680
failed with stage
in 4 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
42 additions
and
0 deletions
+42
-0
variable.tfvars
variable.tfvars
+42
-0
No files found.
variable.tfvars
0 → 100644
View file @
533e619e
variable "instance_type" {
description = "Value of the Name tag for the EC2 instance"
type = string
default = "t2.micro"
sensitive = true
}
variable "role_name" {
description = "Value of the Name tag for the IAM role"
type = string
default = "ExampleAppServerInstance"
sensitive = true
}
variable "policy_name" {
description = "Value of the Name tag for the EC2 instance"
type = string
default = "ExampleAppServerInstance"
sensitive = true
}
variable "security_group_name" {
description = "Value of the Security group name"
type = string
default = "ExampleAppServerInstance"
}
#data "aws_iam_role" "role_name" {
# name = var.role_name
#}
#resource "aws_instance" "web" {
# ami = "ami-a0cfeed8"
#instance_type = "t2.micro"
#user_data = file("init-script.sh")
#+ vpc_security_group_ids = [aws_security_group.web-sg.id]
#tags = {
#Name = random_pet.name.id
# }
#}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment