# README
vpc-network-config-synthesis
Tool for automatic synthesis of VPC network configurations, namely Network ACLs and Security Groups.
- spec_schema.json is the JSON schema for VPC-synthesis
Build:
make build
Test:
make test
Run:
bin\vpcgen.exe -target=acl -config test\data\acl_testing5\config_object.json test\data\acl_testing5\conn_spec.json
bin\vpcgen.exe -target=sg -config test\data\sg_testing2\config_object.json test\data\sg_testing2\conn_spec.json
Code generation
Install omissis/go-jsonschema (important: not xeipuuv/gojsonschema)
go install github.com/omissis/go-jsonschema
Then run
make generate
The result is written into pkg/io/jsonio/data_model.go.