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
fec210b9
Commit
fec210b9
authored
Dec 17, 2021
by
rajat.kulkarni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update sampleSG.tf
parent
f2682ac4
Pipeline
#26635
failed with stage
in 4 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
26 deletions
+23
-26
sampleSG.tf
sampleSG.tf
+23
-26
No files found.
sampleSG.tf
View file @
fec210b9
resource
"aws_security_group"
"security_group_name1"
{
name
=
"security_group_name1"
description
=
"Allow TLS inbound traffic"
vpc_id
=
aws_default_vpc
.
main
.
id
ingress
{
from_port
=
80
to_port
=
80
protocol
=
"tcp"
cidr_blocks
=
[
"0.0.0.0/0"
]
}
ingress
{
from_port
=
22
to_port
=
22
protocol
=
"tcp"
cidr_blocks
=
[
"0.0.0.0/0"
]
}
egress
{
from_port
=
0
to_port
=
0
protocol
=
"-1"
cidr_blocks
=
[
"0.0.0.0/0"
]
}
}
\ No newline at end of file
description
=
"Allow TLS inbound traffic"
vpc_id
=
aws_default_vpc
.
main
.
id
ingress
{
from_port
=
80
to_port
=
80
protocol
=
"tcp"
cidr_blocks
=
[
"0.0.0.0/0"
]
}
ingress
{
from_port
=
22
to_port
=
22
protocol
=
"tcp"
cidr_blocks
=
[
"0.0.0.0/0"
]
}
egress
{
from_port
=
0
to_port
=
0
protocol
=
"-1"
cidr_blocks
=
[
"0.0.0.0/0"
]
}
}
\ No newline at end of file
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