Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (def cluster (aws/cluster "demo-test"
- :account-id "9234789345463"
- :region :ca-central-1))
- (def compose tree/deep-merge)
- (def vpc
- (aws/vpc "demo" cluster
- :cidr-block "172.10.0.0/16"))
- (def igw
- (aws/internet-gateway "demo" cluster
- vpc))
- (def subnets
- (aws/subnets-pair "demo"
- vpc
- igw
- cluster
- :az :ca-central-1a
- :cidr-blocks {:public "172.10.0.1/24"
- :private "172.10.0.0/24"}))
- (defterra infra
- (compose
- cluster
- igw
- vpc
- (subnets :public)
- (subnets :private)))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement