Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v012 is finished #23

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

v012 is finished #23

wants to merge 1 commit into from

Conversation

signorrayan
Copy link
Contributor

@signorrayan signorrayan commented Apr 4, 2023

Update the main branch. (v012 > main)
(The main branch haven't the latest changes that applied in v012 branch.)

@halavehzadeh
Copy link

Hi
this is new request for adding security group for SSH traffic in code. please let me know

'resource "aws_security_group" "allow_tls" {
name = "Terrafrom-firewall"
description = "Managed from Terraform"
}

resource "aws_vpc_security_group_ingress_rule" "allow_tls_ipv4" {
security_group_id = aws_security_group.allow_tls.id
cidr_ipv4 = "0.0.0.0/0"
from_port = 22
ip_protocol = "tcp"
to_port = 22
}

resource "aws_vpc_security_group_egress_rule" "allow_all_traffic_ipv4" {
security_group_id = aws_security_group.allow_tls.id
cidr_ipv4 = "0.0.0.0/0"
ip_protocol = "-1" # semantically equivalent to all ports
} '

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants