weizhouapache commented on code in PR #209:
URL: 
https://github.com/apache/cloudstack-terraform-provider/pull/209#discussion_r2301393742


##########
cloudstack/data_source_cloudstack_vpc.go:
##########
@@ -37,6 +37,11 @@ func dataSourceCloudstackVPC() *schema.Resource {
                Schema: map[string]*schema.Schema{
                        "filter": dataSourceFiltersSchema(),
 
+                       "projectid": {

Review Comment:
   > We already have a field for `project`. It will be better to use that 
instead of adding a new field.
   
   @vishesh92 
   I get an error when set the value of `project` (to the name of a project)
   
   ```
   │ Error: Value for unconfigurable attribute
   │ 
   │   with data.cloudstack_vpc.project-vpc2,
   │   on vpc-project.tf line 3, in data "cloudstack_vpc" "project-vpc2":
   │    3:   project = "project-vpc2"
   │ 
   │ Can't configure a value for "project": its value will be decided 
automatically based on the result of applying this configuration.
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to