FlexibleEngineCloud / terraform-flexibleengine-vpc

Terraform module which creates VPC resources on Flexible Engine
Apache License 2.0
3 stars 7 forks source link

Add a condition to build SNAT rules only when a NAT GW is requested #6

Closed pierrecarre closed 2 years ago

pierrecarre commented 3 years ago

This PR fixes the issue #5 .

A condition is added to build the map that is used to create the SNAT rules only when a NAT Gateway is requested and created.