You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by "vishesh92 (via GitHub)" <gi...@apache.org> on 2026/03/10 11:09:16 UTC

Re: [PR] feat: Update `resource_cloudstack_security_group` to allow `domainid` or `projectid` [cloudstack-terraform-provider]

vishesh92 commented on code in PR #262:
URL: https://github.com/apache/cloudstack-terraform-provider/pull/262#discussion_r2910994084


##########
cloudstack/resource_cloudstack_security_group.go:
##########
@@ -51,7 +51,20 @@ func resourceCloudStackSecurityGroup() *schema.Resource {
 				ForceNew: true,
 			},
 
-			"project": {
+			"account": {
+				Type:     schema.TypeString,
+				Optional: true,
+				ForceNew: true,
+			},
+
+			"domainid": {
+				Type:     schema.TypeString,
+				Optional: true,
+				Computed: true,
+				ForceNew: true,
+			},
+
+			"projectid": {

Review Comment:
   ```suggestion
   			"project": {
   ```
   
   to maintain consistency with other resources.



-- 
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: dev-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org