You have the option to use existing network resources with SAS Viya 4 Terraform scripts. The table below summarizes the supported scenarios, requirements, and remaining resources that must still be created using the viya4-iac-aws project.
NOTE: We refer to the use of existing resources as "bring your own" or "BYO" resources.
Scenario | Required Variables | Additional Requirements | Resources to be Created |
---|---|---|---|
1. You must work with an existing VPC. | vpc_id |
|
Subnets, NAT gateway, and Security Group |
2. You want to configure all components of your VPC network — subnets, routes and associations, internet and NAT gateways. | vpc_id , subnet_ids , and nat_id |
|
Security Group |
3. You want to configure all components of your VPC network and Security Group. | vpc_id ,subnet_ids , nat_id , and security_group_id |
All requirements from Scenario #2 and the Security Group. | None |
When creating your BYO network resources, consult with your Network Administrator and use any of the methods documented in the following resources to create a working AWS VPC network:
- AWS QuickStarts for VPC
- See the "simple-vpc" and "complete-vpc" examples in terraform-aws-vpc module
AWS documentation for reference:
To plan your subnet CIDR blocks for IP address ranges, here are some helpful links: