You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ki...@apache.org on 2025/09/09 06:08:47 UTC

(cloudstack-terraform-provider) branch main updated (1216148 -> b4b9f6d)

This is an automated email from the ASF dual-hosted git repository.

kiranchavala pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/cloudstack-terraform-provider.git


    from 1216148  Add `cloudstack_domain` as a data source (#195)
     add aace8e3  Add cloudstack_role data source and resource implementation
     add be71510  Update import paths to use terraform-plugin-testing package
     add 55ff8c1  Enhance cloudstack_role data source and resource with filter support and improved documentation
     add bbc1548  Fix TestAccCloudStackRole_basic test
     add bc1e1c2  Merge branch 'main' into feature/role
     add 204eaf5  Merge branch 'main' into feature/role
     add 829eb42  Remove unused code
     new b4b9f6d  Merge pull request #181 from ianc769/feature/role

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 ...tack_zone.go => data_source_cloudstack_role.go} |  93 +++++++----
 ...test.go => data_source_cloudstack_role_test.go} |  43 +++--
 cloudstack/provider.go                             |   2 +
 cloudstack/resource_cloudstack_role.go             | 177 +++++++++++++++++++++
 ...ay_test.go => resource_cloudstack_role_test.go} |  92 +++++------
 website/cloudstack.erb                             |   7 +
 website/docs/d/role.html.markdown                  |  59 +++++++
 website/docs/r/role.html.markdown                  |  54 +++++++
 8 files changed, 424 insertions(+), 103 deletions(-)
 copy cloudstack/{data_source_cloudstack_zone.go => data_source_cloudstack_role.go} (52%)
 copy cloudstack/{data_source_cloudstack_zone_test.go => data_source_cloudstack_role_test.go} (62%)
 create mode 100644 cloudstack/resource_cloudstack_role.go
 copy cloudstack/{resource_cloudstack_vpn_gateway_test.go => resource_cloudstack_role_test.go} (51%)
 create mode 100644 website/docs/d/role.html.markdown
 create mode 100644 website/docs/r/role.html.markdown


(cloudstack-terraform-provider) 01/01: Merge pull request #181 from ianc769/feature/role

Posted by ki...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kiranchavala pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudstack-terraform-provider.git

commit b4b9f6d804c619769f3b4c57f19ce5bd35244168
Merge: 1216148 829eb42
Author: kiranchavala <ki...@gmail.com>
AuthorDate: Tue Sep 9 11:38:41 2025 +0530

    Merge pull request #181 from ianc769/feature/role
    
    Add `cloudstack_role` resource

 cloudstack/data_source_cloudstack_role.go      | 150 +++++++++++++++++++++
 cloudstack/data_source_cloudstack_role_test.go |  62 +++++++++
 cloudstack/provider.go                         |   2 +
 cloudstack/resource_cloudstack_role.go         | 177 +++++++++++++++++++++++++
 cloudstack/resource_cloudstack_role_test.go    | 125 +++++++++++++++++
 website/cloudstack.erb                         |   7 +
 website/docs/d/role.html.markdown              |  59 +++++++++
 website/docs/r/role.html.markdown              |  54 ++++++++
 8 files changed, 636 insertions(+)

diff --cc cloudstack/provider.go
index fb4b1d6,ae35cfc..17e0c22
--- a/cloudstack/provider.go
+++ b/cloudstack/provider.go
@@@ -90,8 -90,8 +90,9 @@@ func Provider() *schema.Provider 
  			"cloudstack_user":             dataSourceCloudstackUser(),
  			"cloudstack_vpn_connection":   dataSourceCloudstackVPNConnection(),
  			"cloudstack_pod":              dataSourceCloudstackPod(),
 +			"cloudstack_domain":           dataSourceCloudstackDomain(),
  			"cloudstack_physicalnetwork":  dataSourceCloudStackPhysicalNetwork(),
+ 			"cloudstack_role":             dataSourceCloudstackRole(),
  		},
  
  		ResourcesMap: map[string]*schema.Resource{