Skip to content

Commit 93aab97

Browse files
authored
fix(vpc) add optional region field (#2550)
1 parent 15ccb25 commit 93aab97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/services/vpc/private_network_data_source.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ func DataSourcePrivateNetwork() *schema.Resource {
1818
dsSchema := datasource.SchemaFromResourceSchema(ResourcePrivateNetwork().Schema)
1919

2020
// Set 'Optional' schema elements
21-
datasource.AddOptionalFieldsToSchema(dsSchema, "name", "project_id")
21+
datasource.AddOptionalFieldsToSchema(dsSchema, "name", "project_id", "region")
2222

2323
dsSchema["name"].ConflictsWith = []string{"private_network_id"}
2424
dsSchema["vpc_id"] = &schema.Schema{

0 commit comments

Comments
 (0)