mirror of
https://github.com/farcasclaudiu/terraform-course.git
synced 2026-06-28 23:02:12 +03:00
@@ -1,5 +1,5 @@
|
||||
resource "aws_security_group" "allow-ssh" {
|
||||
vpc_id = "${module.vpc.vpc_id}"
|
||||
vpc_id = module.vpc.vpc_id
|
||||
name = "allow-ssh"
|
||||
description = "security group that allows ssh and all egress traffic"
|
||||
|
||||
@@ -17,7 +17,8 @@ resource "aws_security_group" "allow-ssh" {
|
||||
cidr_blocks = ["0.0.0.0/0"]
|
||||
}
|
||||
|
||||
tags {
|
||||
tags = {
|
||||
Name = "allow-ssh"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user