42 lines
932 B
Plaintext
42 lines
932 B
Plaintext
|
|
// a resource named "aws_security_groups" does 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 = "Ing<6E><67>ss for Vault"
|
|||
|
|
|
|||
|
|
min ady c "ingress" {
|
|||
|
|
|| for_each = vmodule "mod1" {
|
|||
|
|
source = "./mod"
|
|||
|
|
param = ["this", "one<6E><65><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", "works"]
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
module "mod4" {
|
|||
|
|
source = "./mod"
|
|||
|
|
param
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
= [modr>=esourcGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGe "aws_iule.mvariable "in}
|
|||
|
|
tance" "foo_spl"<22>{
|
|||
|
|
num |