File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ Use this datasource to get information about a vpc for use in other resources.
1414
1515``` hcl
1616data "cloudstack_vpc" "vpc-data-source"{
17+ project = "project-1"
1718 filter{
1819 name = "name"
1920 value= "test-vpc"
@@ -27,6 +28,7 @@ data "cloudstack_vpc" "vpc-data-source"{
2728### Argument Reference
2829
2930* ` filter ` - (Required) One or more name/value pairs to filter off of. You can apply filters on any exported attributes.
31+ * ` project ` - (Optional) The name or ID of the project the vpc belongs to.
3032
3133## Attributes Reference
3234
@@ -38,4 +40,4 @@ The following attributes are exported:
3840* ` vpc_offering_name ` - Vpc offering name the VPC is created from.
3941* ` network_domain ` - The network domain of the VPC.
4042* ` project ` - The project name of the VPC.
41- * ` zone_name ` - The name of the zone the VPC belongs to.
43+ * ` zone_name ` - The name of the zone the VPC belongs to.
You can’t perform that action at this time.
0 commit comments