access-group
cloud-native-toolkit/access-group/ibm
Terraform module to create ADMIN, EDIT, and VIEW access groups for a set of resource groups
IBM Cloud Access Group creation module Terraform module to provision ADMIN, EDIT, and VIEW access groups for the resource groups provided. The resource groups are optionally created as well. The access group names are generated based on the resource group name under the following formatting rules: - All upper case letters - Dashes (-) replaced with underscores (_) - Suffix of either _ADMIN, _EDIT, or _VIEW Software dependencies The module depends on the following software components: Command-line tools - terraform - v13 Terraform providers - IBM Cloud provider >= 1.5.3 Example usage Refer test cases for more details ``hcl-terraform terraform { required_providers { ibm = { source = "ibm-cloud/ibm" } } required_version = ">= 0.13" } provider "ibm" { ibmcloud_api_key = var.ibmcloud_api_key re
| Name | Type | Description | Default |
|---|---|---|---|
| resource_group_name | string | The name of the resource group for which the access groups will be created | required |
| ibmcloud_api_key | string | The api key used to access IBM Cloud | required |
| page_limit | number | The number of access groups to return per request (this is mostly used for testi | 50 |
resource_group_name — The resource group nameadmin_group_name — List of admin access group namesedit_group_name — List of editor access group namesview_group_name — List of viewer access group names