mirror of
https://github.com/farcasclaudiu/terraform-course.git
synced 2026-06-29 09:02:13 +03:00
for and foreach demo
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
variable "AWS_REGION" {
|
||||
type = string
|
||||
default = "eu-west-1"
|
||||
}
|
||||
|
||||
variable "ports" {
|
||||
type = map(list(string))
|
||||
default = {
|
||||
"22" = [ "127.0.0.1/32", "192.168.0.0/24" ]
|
||||
"443" = [ "0.0.0.0/0" ]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user