https://github.com/terraform-ibm-modules/terraform-ibm-toolkit-access-group
Terraform module to create ADMIN, EDIT, and VIEW access groups for a set of resource groups
https://github.com/terraform-ibm-modules/terraform-ibm-toolkit-access-group
Last synced: 6 months ago
JSON representation
Terraform module to create ADMIN, EDIT, and VIEW access groups for a set of resource groups
- Host: GitHub
- URL: https://github.com/terraform-ibm-modules/terraform-ibm-toolkit-access-group
- Owner: terraform-ibm-modules
- License: apache-2.0
- Created: 2021-01-21T05:03:59.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-10-13T10:46:54.000Z (over 2 years ago)
- Last Synced: 2023-03-03T23:23:44.237Z (about 2 years ago)
- Language: HCL
- Homepage:
- Size: 56.6 KB
- Stars: 0
- Watchers: 5
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](test/stages/stage2-access-group.tf)
```hcl-terraform
terraform {
required_providers {
ibm = {
source = "ibm-cloud/ibm"
}
}
required_version = ">= 0.13"
}provider "ibm" {
ibmcloud_api_key = var.ibmcloud_api_key
region = var.region
}module "access_groups" {
source = "github.com/ibm-garage-cloud/terraform-ibm-access-group.git"
resource_group_name = module.resource_group.name
}
```