Hi team,
i am fairly new to using the terraform validator tool to scan my terraform plan.
As written in the github page, i edited the sample yaml file for compute_allowed_networks to prevent assignment of un-dewsired networks to my compute instances.
i wrote the terraform script for that and created the plan.
Now, while scanning the plan, it is not throwing any voilation error even thpugh i deliberatly wrote wrong network name.
the constraint YAML is:
here, i modified the allowed parameter to the URI of my desired network.
While in the terraform file, i mentioned some different nwteork name.
Still it is not showing any voilations.
Any reason for this behaviour.
P.S. for some other samples also, i am facing same kind of problem i.e. it is not throwing any voilations.
Any help on this would be appreciated.
Thanks & Regards,
Sharad Mittal