Skip to content

Commit

Permalink
Corrected the source path
Browse files Browse the repository at this point in the history
  • Loading branch information
umarali-nagoor authored and hkantare committed Nov 26, 2020
1 parent 0c417e0 commit 015cb57
Show file tree
Hide file tree
Showing 13 changed files with 12 additions and 23 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ data "ibm_resource_group" "cos_group" {
module "cos" {
source = "terraform-ibm-modules/cos/ibm//modules/cos_instance"
source = "terraform-ibm-modules/cos/ibm//modules/instance"
service_name = var.service_name
resource_group_id = data.ibm_resource_group.cos_group.id
Expand All @@ -47,7 +47,7 @@ data "ibm_resource_group" "cos_group" {
module "cos" {
source = "terraform-ibm-modules/cos/ibm//modules/cos_instance"
source = "terraform-ibm-modules/cos/ibm//modules/instance"
service_name = var.service_name
resource_group_id = data.ibm_resource_group.cos_group.id
Expand All @@ -56,7 +56,7 @@ module "cos" {
}
module "cos_bucket" {
source = "terraform-ibm-modules/cos/ibm//modules/cos_bucket"
source = "terraform-ibm-modules/cos/ibm//modules/bucket"
bucket_name = var.bucket_name
cos_instance_id = module.cos.cos_instance_id
Expand Down
4 changes: 2 additions & 2 deletions examples/bucket/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ data "ibm_resource_group" "cos_group" {
module "cos" {
source = "terraform-ibm-modules/cos/ibm//modules/cos_instance"
source = "terraform-ibm-modules/cos/ibm//modules/instance"
service_name = var.service_name
resource_group_id = data.ibm_resource_group.cos_group.id
Expand All @@ -22,7 +22,7 @@ module "cos" {
}
module "cos_bucket" {
source = "terraform-ibm-modules/cos/ibm//modules/cos_bucket"
source = "terraform-ibm-modules/cos/ibm//modules/bucket"
bucket_name = var.bucket_name
cos_instance_id = module.cos.cos_instance_id
Expand Down
4 changes: 2 additions & 2 deletions examples/bucket/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ data "ibm_resource_group" "cos_group" {

module "cos" {

source = "terraform-ibm-modules/cos/ibm//modules/cos_instance"
source = "terraform-ibm-modules/cos/ibm//modules/instance"

service_name = var.service_name
resource_group_id = data.ibm_resource_group.cos_group.id
Expand All @@ -21,7 +21,7 @@ module "cos" {
}

module "cos_bucket" {
source = "terraform-ibm-modules/cos/ibm//modules/cos_bucket"
source = "terraform-ibm-modules/cos/ibm//modules/bucket"

bucket_name = var.bucket_name
cos_instance_id = module.cos.cos_instance_id
Expand Down
5 changes: 0 additions & 5 deletions examples/bucket/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@
# Copyright 2020 IBM
#####################################################

variable "ibmcloud_api_key" {
description = "IBM Cloud API KEY"
type = string
}

// Bucket congigurations

variable "bucket_name" {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ data "ibm_resource_group" "cos_group" {
module "cos" {
source = "terraform-ibm-modules/cos/ibm//modules/cos_instance"
source = "terraform-ibm-modules/cos/ibm//modules/instance"
service_name = var.service_name
resource_group_id = data.ibm_resource_group.cos_group.id
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ data "ibm_resource_group" "cos_group" {

module "cos" {

source = "terraform-ibm-modules/cos/ibm//modules/cos_instance"
source = "terraform-ibm-modules/cos/ibm//modules/instance"

service_name = var.service_name
resource_group_id = data.ibm_resource_group.cos_group.id
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,3 @@ variable "region" {
description = " Enter Region for provisioning"
type = string
}

variable "ibmcloud_api_key" {
description = " Enter IBM Cloud API KEY"
type = string
}
File renamed without changes.
4 changes: 2 additions & 2 deletions modules/bucket/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ data "ibm_resource_group" "cos_group" {
module "cos" {
source = "terraform-ibm-modules/cos/ibm//modules/cos_instance"
source = "terraform-ibm-modules/cos/ibm//modules/instance"
service_name = var.service_name
resource_group_id = data.ibm_resource_group.cos_group.id
Expand All @@ -22,7 +22,7 @@ module "cos" {
}
module "cos_bucket" {
source = "terraform-ibm-modules/cos/ibm//modules/cos_bucket"
source = "terraform-ibm-modules/cos/ibm//modules/bucket"
bucket_name = var.bucket_name
cos_instance_id = module.cos.cos_instance_id
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ data "ibm_resource_group" "cos_group" {
module "cos" {
source = "terraform-ibm-modules/cos/ibm//modules/cos_instance"
source = "terraform-ibm-modules/cos/ibm//modules/instance"
service_name = var.service_name
resource_group_id = data.ibm_resource_group.cos_group.id
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,3 @@ resource "ibm_resource_instance" "cos_instance" {
plan = var.plan
location = var.region
}

File renamed without changes.
File renamed without changes.

0 comments on commit 015cb57

Please sign in to comment.