Skip to content

Commit

Permalink
Merge pull request #1 from askhalil/private-vswitch
Browse files Browse the repository at this point in the history
add private
  • Loading branch information
askhalil authored Oct 24, 2024
2 parents b9292c0 + a4e6fc2 commit 892e570
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions vpc.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,10 @@ resource "alicloud_vswitch" "public" {
cidr_block = "10.0.1.0/24"
zone_id = "me-central-1a"
}

resource "alicloud_vswitch" "private" {
vswitch_name = "private"
vpc_id = alicloud_vpc.terraform_state.id
cidr_block = "10.0.2.0/24"
zone_id = "me-central-1a"
}

0 comments on commit 892e570

Please sign in to comment.