Skip to content
This repository has been archived by the owner on Aug 12, 2024. It is now read-only.

Commit

Permalink
updates to readme & modules. Signed-off-by: Bala <@balasgit> (#35)
Browse files Browse the repository at this point in the history
* updates to readme. Signed-off-by: Bala <@balasgit>

* Code fix for compile errors
  • Loading branch information
balasgit authored Aug 26, 2022
1 parent 663b0dc commit df914e6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

Module to provision an instance of IBM Cloud Monitoring in a resource group in an IBM Cloud account.

**Note:** This module follows the Terraform conventions regarding how provider configuration is defined within the Terraform template and passed into the module - https://www.terraform.io/docs/language/modules/develop/providers.html. The default provider configuration flows through to the module. If different configuration is required for a module, it can be explicitly passed in the `providers` block of the module - https://www.terraform.io/docs/language/modules/develop/providers.html#passing-providers-explicitly.
**Note:** This module follows the Terraform conventions regarding how provider configuration is defined within the Terraform template and passed into the module - https://www.terraform.io/docs/language/modules/develop/providers.html.

The default provider configuration flows through to the module. If different configuration is required for a module, it can be explicitly passed in the `providers` block of the module - https://www.terraform.io/docs/language/modules/develop/providers.html#passing-providers-explicitly.

## Software dependencies

Expand All @@ -22,6 +24,8 @@ None

## Example usage

[Refer Test case for more details](test/stages/stage2-sysdig.tf)

```hcl-terraform
terraform {
required_providers {
Expand Down
2 changes: 1 addition & 1 deletion module.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: ibm-cloud-monitoring
alias: sysdig
registryId: cloud-native-toolkit/cloud-monitoring/ibm
#registryId: cloud-native-toolkit/cloud-monitoring/ibm
type: terraform
description: Module provision an instance of IBM Cloud Monitoring in an IBM Cloud account
tags:
Expand Down
3 changes: 2 additions & 1 deletion test/stages/stage1-resource-group.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module "resource_group" {
source = "github.com/cloud-native-toolkit/terraform-ibm-resource-group.git"

ibmcloud_api_key = var.ibmcloud_api_key
resource_group_name = var.resource_group_name
provision = false
#provision = false
}

0 comments on commit df914e6

Please sign in to comment.