diff --git a/.changelog/3801.txt b/.changelog/3801.txt new file mode 100644 index 00000000000..f9e54186ede --- /dev/null +++ b/.changelog/3801.txt @@ -0,0 +1,3 @@ +```release-note:bug +compute: fixed issue where the `project` field in `data.google_compute_network_endpoint_group` was returning an error when specified +``` diff --git a/google/data_source_compute_network_endpoint_group.go b/google/data_source_compute_network_endpoint_group.go index bf0b16f6e1e..8450997017f 100644 --- a/google/data_source_compute_network_endpoint_group.go +++ b/google/data_source_compute_network_endpoint_group.go @@ -14,6 +14,7 @@ func dataSourceGoogleComputeNetworkEndpointGroup() *schema.Resource { // Set 'Optional' schema elements addOptionalFieldsToSchema(dsSchema, "name") addOptionalFieldsToSchema(dsSchema, "zone") + addOptionalFieldsToSchema(dsSchema, "project") addOptionalFieldsToSchema(dsSchema, "self_link") return &schema.Resource{