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Žšss for Vault"
|
|
|
|
min ady c "ingress" {
|
|
|| for_each = vmodule "mod1" {
|
|
source = "./mod"
|
|
param = ["this", "one¥¥¥¥¥¥¥¥¥¥", "works"]
|
|
}
|
|
|
|
module "mod4" {
|
|
source = "./mod"
|
|
param
|
|
|
|
|
|
|
|
|
|
|
|
= [modr>=esourcGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGe "aws_iule.mvariable "in}
|
|
tance" "foo_spl"¤{
|
|
num |