Creating subnets and the baseline firewall on GCP

Deploy Hitachi VSP One SDS Cloud on GCP with Terraform

Version
1.18.x
Audience
anonymous
Part Number
MK-24VSP1SDSQ004-00
ft:lastEdition
2026-03-30
Create per‑VPC subnets and baseline firewall rules; for Multi‑Zone, create subnets in each zone and allow same‑type subnet communication across zones.
  1. Configure backend.auto.tfvars.
    bucket = "my-sdsc-tfstate-bucket"
    prefix = "subnet/prod1"
  2. Set terraform.tfvars.
    namePrefix = "sdsb-prod"
    project = "my-project-id"
    region = "us-central1"
    controlNetworkName = "sdsb-prod-control-network"
    internodeNetworkName = "sdsb-prod-internode-network"
    computeNetworkName = "sdsb-prod-compute-network"
    controlSubnetIPv4CidrBlock = "10.10.0.0/24"
    internodeSubnetIPv4CidrBlock = "10.20.0.0/24"
    computeSubnetIPv4CidrBlock = "10.30.0.0/24"
    controlNetworkAllowedIpv4AddCidrBlocks = ["10.0.0.0/8"]
    computeNetworkAllowedIpv4AddCidrBlocks = ["10.0.0.0/8"]
    computeSubnetIPv6Type = "Internal"
    computeNetworkAllowedIpv6AddCidrBlocks = ["fd20:abcd::/56"]
  3. Deploy Terraform.
    terraform init -backend-config="backend.auto.tfvars"
    terraform apply -auto-approve