Create an App Configuration instance and optionally allows for multiple App Configuration Collections to be created.
module "app_config" {
source = "terraform-ibm-modules/app-configuration/ibm"
version = "X.X.X" # Replace "X.X.X" with a release version to lock into a specific release
resource_group_id = "65xxxxxxxxxxxxxxxa3fd"
region = "us-south"
app_config_name = "my-app-config-name"
app_config_plan = "lite"
app_config_service_endpoints = "public"
app_config_tags = ["list", "of", "tags"]
app_config_collections = [
{
name = "my-app-config-collection-name",
collection_id = "my-app-config-collection-id",
description = "Collection for app config instance",
tags = "tag for collection"
},
{
name = "second-collection-name",
collection_id = "second-collection-id",
description = "Another Collection for app config instance",
tags = "another tag"
}
]
}
You need the following permissions to run this module.
- Account Management
- All Resource Groups service
Viewer
platform access
- IAM Services
- App Configuration service
Administrator
platform accessManager
service access
- App Configuration service
- All Resource Groups service
For more information on access and permissions, see https://cloud.ibm.com/docs/account?topic=account-iam-service-roles-actions#apprapp-roles
Name | Version |
---|---|
terraform | >= 1.3.0 |
ibm | >= 1.65.0, < 2.0.0 |
Name | Source | Version |
---|---|---|
cbr_rule | terraform-ibm-modules/cbr/ibm//modules/cbr-rule-module | 1.28.0 |
Name | Type |
---|---|
ibm_app_config_collection.collections | resource |
ibm_resource_instance.app_config | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
app_config_collections | A list of collections to be added to the App Configuration instance | list(object({ |
[] |
no |
app_config_name | Name for the App Configuration service instance | string |
n/a | yes |
app_config_plan | Plan for the App Configuration service instance, valid plans are lite, standardv2, and enterprise. | string |
"lite" |
no |
app_config_service_endpoints | Service Endpoints for the App Configuration service instance, valid endpoints are public or public-and-private. | string |
"public-and-private" |
no |
app_config_tags | Optional list of tags to be added to the App Config instance. | list(string) |
[] |
no |
cbr_rules | The list of context-based restriction rules to create. | list(object({ |
[] |
no |
region | The region to provision the App Configuration service, valid regions are us-south, us-east, eu-gb, and au-syd. | string |
"us-south" |
no |
resource_group_id | The resource group ID where resources will be provisioned. | string |
n/a | yes |
Name | Description |
---|---|
app_config_collection_ids | List of IDs for the collections in the App Configuration instance |
app_config_guid | GUID of the App Configuration instance |
You can report issues and request features for this module in GitHub issues in the module repo. See Report an issue or request a feature.
To set up your local development environment, see Local development setup in the project documentation.