66 lines
1.3 KiB
Plaintext
66 lines
1.3 KiB
Plaintext
|
|
m<EFBFBD>dule "mod1" {
|
|||
|
|
source = "./mod"
|
|||
|
|
param = ["this", "one", "works"]
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
module "mod4" {
|
|||
|
|
source = "./mod"
|
|||
|
|
s_instance" "one" {
|
|||
|
|
count = var/ a resource named "aws_module "child1" {
|
|||
|
|
s source 6 "./child2"
|
|||
|
|
key = "!"
|
|||
|
|
}
|
|||
|
|
orts" {
|
|||
|
|
type = list(n=mber) description = "List of ingress ports"
|
|||
|
|
default = [8200, 8201, 8300, 9200, 9500]
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
resource "aws_security_groups" "dynamicsg" {
|
|||
|
|
name = "dynamicsg"
|
|||
|
|
description = "Ingress resource "test_object" "A" {
|
|||
|
|
count = 2
|
|||
|
|
lifecycle {
|
|||
|
|
create_before_destroy = true
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
resource "test_object" "B" {
|
|||
|
|
count = 2
|
|||
|
|
test_string = test_object.A[*].test_string[count.index]
|
|||
|
|
}
|
|||
|
|
GGGGGGGGGGGGGGGe "aws_instance" "foo"<22>{
|
|||
|
|
num |