diff --git a/cloud/aws/vpc/nacl-open-inbound.yaml b/cloud/aws/vpc/nacl-open-inbound.yaml index b034f682de..0d801e55a4 100644 --- a/cloud/aws/vpc/nacl-open-inbound.yaml +++ b/cloud/aws/vpc/nacl-open-inbound.yaml @@ -18,7 +18,7 @@ variables: flow: | code(1) - for(let NACLIDs of template.nacls){ + for(let NACLIDs of iterate(template.nacls)){ set("naclid", NACLIDs) code(2) } diff --git a/cloud/aws/vpc/nacl-outbound-restrict.yaml b/cloud/aws/vpc/nacl-outbound-restrict.yaml index ef060c8c95..0a8d0aeb3b 100644 --- a/cloud/aws/vpc/nacl-outbound-restrict.yaml +++ b/cloud/aws/vpc/nacl-outbound-restrict.yaml @@ -18,7 +18,7 @@ variables: flow: | code(1) - for(let NACLIDs of template.nacls){ + for(let NACLIDs of iterate(template.nacls)){ set("naclid", NACLIDs) code(2) } diff --git a/cloud/aws/vpc/nat-gateway-usage.yaml b/cloud/aws/vpc/nat-gateway-usage.yaml index 8757af280b..6ae49f14f2 100644 --- a/cloud/aws/vpc/nat-gateway-usage.yaml +++ b/cloud/aws/vpc/nat-gateway-usage.yaml @@ -18,7 +18,7 @@ variables: flow: | code(1) - for(let VPCIds of template.vpcid){ + for(let VPCIds of iterate(template.vpcid)){ set("vpc", VPCIds) code(2) } diff --git a/cloud/aws/vpc/unrestricted-admin-ports.yaml b/cloud/aws/vpc/unrestricted-admin-ports.yaml index 3a632591f5..e849f4d6fa 100644 --- a/cloud/aws/vpc/unrestricted-admin-ports.yaml +++ b/cloud/aws/vpc/unrestricted-admin-ports.yaml @@ -18,7 +18,7 @@ variables: flow: | code(1) - for(let NACLIDs of template.nacls){ + for(let NACLIDs of iterate(template.nacls)){ set("naclid", NACLIDs) code(2) } diff --git a/cloud/aws/vpc/vpc-endpoint-exposed.yaml b/cloud/aws/vpc/vpc-endpoint-exposed.yaml index e8d4975bdd..d3df3d424c 100644 --- a/cloud/aws/vpc/vpc-endpoint-exposed.yaml +++ b/cloud/aws/vpc/vpc-endpoint-exposed.yaml @@ -18,7 +18,7 @@ variables: flow: | code(1) - for(let VpcIds of template.VpcId){ + for(let VpcIds of iterate(template.VpcId)){ set("vpc", VpcIds) code(2) } diff --git a/cloud/aws/vpc/vpc-endpoints-not-deployed.yaml b/cloud/aws/vpc/vpc-endpoints-not-deployed.yaml index 887ccce5c2..643ad54e3e 100644 --- a/cloud/aws/vpc/vpc-endpoints-not-deployed.yaml +++ b/cloud/aws/vpc/vpc-endpoints-not-deployed.yaml @@ -18,7 +18,7 @@ variables: flow: | code(1) - for(let VpcIds of template.VpcId){ + for(let VpcIds of iterate(template.VpcId)){ set("vpc", VpcIds) code(2) } diff --git a/cloud/aws/vpc/vpc-flowlogs-not-enabled.yaml b/cloud/aws/vpc/vpc-flowlogs-not-enabled.yaml index 944bce4945..c16ed320d9 100644 --- a/cloud/aws/vpc/vpc-flowlogs-not-enabled.yaml +++ b/cloud/aws/vpc/vpc-flowlogs-not-enabled.yaml @@ -18,7 +18,7 @@ variables: flow: | code(1) - for(let VpcIds of template.VpcId){ + for(let VpcIds of iterate(template.VpcId)){ set("vpc", VpcIds) code(2) } diff --git a/cloud/aws/vpc/vpn-tunnel-down.yaml b/cloud/aws/vpc/vpn-tunnel-down.yaml index 10d27b280a..129cbaf5eb 100644 --- a/cloud/aws/vpc/vpn-tunnel-down.yaml +++ b/cloud/aws/vpc/vpn-tunnel-down.yaml @@ -18,7 +18,7 @@ variables: flow: | code(1) - for(let VpnConnectionIds of template.vpnconnactions){ + for(let VpnConnectionIds of iterate(template.vpnconnactions)){ set("vpnid", VpnConnectionIds) code(2) }