https://pulumi.com logo
#typescript
Title
# typescript
l

loud-sugar-50419

07/16/2019, 8:34 AM
I have resolved it like this . But I don't know if this is the best way to do it
Copy code
if(ssh_rule){
            ssh_rule.map(item => { 
                item.securityGroupRule.cidrBlocks.apply( (i) => {
                    expect(i).not.contain("0.0.0.0/0")
                })
             })
     }