Skip to content

Commit

Permalink
Add st-alicloud_cs_kubernetes_permissions resource. (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
chihong99 authored Dec 19, 2023
1 parent 161e3bf commit 262ad8d
Show file tree
Hide file tree
Showing 5 changed files with 486 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,11 @@ scenario. The reason behind every resources and data sources are stated as below
This resource is designed to attach an auto scaling group (ESS) with a list of load balancers (CLB) default server group.
- **st-alicloud_cs_kubernetes_permission**
This resource is designed to attach a list of clusters' kubernetes role permissions (CS) with a (RAM) user, and to replace the official Alicloud Terraform Provider's resource [*alicloud_cs_kubernetes_permissions*](https://registry.terraform.io/providers/aliyun/alicloud/latest/docs/resources/cs_kubernetes_permissions).
The official resource will overwrite all the permissions which is attached with the user, which means it will remove the permissions from other clusters.
### Data Sources
- **st-alicloud_ddoscoo_domain_resources**
Expand Down
1 change: 1 addition & 0 deletions alicloud/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -402,5 +402,6 @@ func (p *alicloudProvider) Resources(_ context.Context) []func() resource.Resour
NewEmrMetricAutoScalingRulesResource,
NewDdosCooWebAIProtectConfigResource,
NewEssClbDefaultServerGroupAttachmentResource,
NewCsKubernetesPermissionsResource,
}
}
Loading

0 comments on commit 262ad8d

Please sign in to comment.