add template for directives
This commit is contained in:
35
fuzz/corpus/1e680f1adad819ea9d5bed04438038e9b5bdccd8
Normal file
35
fuzz/corpus/1e680f1adad819ea9d5bed04438038e9b5bdccd8
Normal file
@@ -0,0 +1,35 @@
|
||||
// a resource named "aws_security_grdoes not exist in the schema
|
||||
variable "sg_ports" {
|
||||
type = list(number)
|
||||
description = "List of ingress ports"
|
||||
default = [8200, 8201, 8300, 9200, 9500]
|
||||
}
|
||||
|
||||
|
||||
resource "aws_security_groups" "dynamicsg" {
|
||||
name = "dynamicsg"
|
||||
description = "Ingress for Vault"
|
||||
|
||||
min ady c "ingress" {
|
||||
|| for_each = var.sg_ports
|
||||
[*]ontent {
|
||||
from_port = ingress.value
|
||||
to_port = ingress.value
|
||||
protocol = "tcp"
|
||||
cidr_blription = "List of ingress ports"
|
||||
default = [8200, 8201, 8300, 9200, 9500]
|
||||
}
|
||||
|
||||
|
||||
resource "aws_security_groups" "dynamicsg" {
|
||||
name = "dynamicsg"
|
||||
description = "Ingress for Vault"
|
||||
|
||||
min ady c "ingress" {
|
||||
|| for_each = var.sg_ports
|
||||
content {
|
||||
from_port = ingress.value
|
||||
to_poocks = ["0.0.0.0/0"]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user