Skip to content

Commit 7c27647

Browse files
author
Sean Sundberg
committed
Converts service provision back to terraform provider instead of operator
1 parent c14921b commit 7c27647

File tree

7 files changed

+10
-20
lines changed

7 files changed

+10
-20
lines changed
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module "dev_infrastructure_postgres" {
2-
source = "github.com/ibm-garage-cloud/garage-terraform-modules.git//cloud-managed/operator-services/postgres?ref=v2.1.2"
2+
source = "github.com/ibm-garage-cloud/garage-terraform-modules.git//cloud-managed/services/postgres?ref=v2.1.8"
33

44
resource_group_name = "${var.resource_group_name}"
55
resource_location = "${var.vlan_region}"
@@ -10,6 +10,4 @@ module "dev_infrastructure_postgres" {
1010
test_namespace = "${module.dev_cluster_namespaces.test_namespace_name}"
1111
staging_namespace = "${module.dev_cluster_namespaces.staging_namespace_name}"
1212
name_prefix = "${var.name_prefix}"
13-
service_namespace = "${module.dev_software_cloud_operator.namespace}"
14-
cluster_config_file = "${module.dev_cluster.config_file_path}"
1513
}

terraform/stages/stage3-appid.tf

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
11
module "dev_infrastructure_appid" {
2-
source = "github.com/ibm-garage-cloud/garage-terraform-modules.git//cloud-managed/operator-services/appid?ref=v2.1.8"
2+
source = "github.com/ibm-garage-cloud/garage-terraform-modules.git//cloud-managed/services/appid?ref=v2.1.8"
33

44
resource_group_name = "${module.dev_cluster.resource_group_name}"
55
resource_location = "${module.dev_cluster.region}"
66
cluster_id = "${module.dev_cluster.id}"
7-
tools_namespace = "${module.dev_cluster_namespaces.tools_namespace_name}"
87
dev_namespace = "${module.dev_cluster_namespaces.dev_namespace_name}"
98
test_namespace = "${module.dev_cluster_namespaces.test_namespace_name}"
109
staging_namespace = "${module.dev_cluster_namespaces.staging_namespace_name}"
1110
name_prefix = "${var.name_prefix}"
12-
service_namespace = "${module.dev_software_cloud_operator.namespace}"
13-
cluster_config_file = "${module.dev_cluster.config_file_path}"
14-
cluster_name = "${module.dev_cluster.name}"
1511
}
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module "dev_infrastructure_cos" {
2-
source = "github.com/ibm-garage-cloud/garage-terraform-modules.git//cloud-managed/operator-services/cloud_object_storage?ref=v2.1.8"
2+
source = "github.com/ibm-garage-cloud/garage-terraform-modules.git//cloud-managed/services/cloud_object_storage?ref=v2.1.8"
33

44
resource_group_name = "${module.dev_cluster.resource_group_name}"
55
resource_location = "${module.dev_cluster.region}"
@@ -8,6 +8,4 @@ module "dev_infrastructure_cos" {
88
test_namespace = "${module.dev_cluster_namespaces.test_namespace_name}"
99
staging_namespace = "${module.dev_cluster_namespaces.staging_namespace_name}"
1010
name_prefix = "${var.name_prefix}"
11-
service_namespace = "${module.dev_software_cloud_operator.namespace}"
12-
cluster_config_file = "${module.dev_cluster.config_file_path}"
1311
}
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module "dev_infrastructure_cloudant" {
2-
source = "github.com/ibm-garage-cloud/garage-terraform-modules.git//cloud-managed/operator-services/cloudant?ref=v2.1.8"
2+
source = "github.com/ibm-garage-cloud/garage-terraform-modules.git//cloud-managed/services/cloudant?ref=v2.1.8"
33

44
resource_group_name = "${module.dev_cluster.resource_group_name}"
55
resource_location = "${module.dev_cluster.region}"
@@ -8,6 +8,4 @@ module "dev_infrastructure_cloudant" {
88
test_namespace = "${module.dev_cluster_namespaces.test_namespace_name}"
99
staging_namespace = "${module.dev_cluster_namespaces.staging_namespace_name}"
1010
name_prefix = "${var.name_prefix}"
11-
service_namespace = "${module.dev_software_cloud_operator.namespace}"
12-
cluster_config_file = "${module.dev_cluster.config_file_path}"
1311
}

terraform/stages/stage3-logdna.tf

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,13 @@ module "dev_serviceaccount_logdna-agent" {
99
}
1010

1111
module "dev_infrastructure_logdna" {
12-
source = "github.com/ibm-garage-cloud/garage-terraform-modules.git//cloud-managed/operator-services/logdna?ref=v2.1.8"
12+
source = "github.com/ibm-garage-cloud/garage-terraform-modules.git//cloud-managed/services/logdna?ref=v2.1.8"
1313

1414
resource_group_name = "${module.dev_cluster.resource_group_name}"
1515
resource_location = "${module.dev_cluster.region}"
16-
cluster_type = "${var.cluster_type}"
1716
cluster_config_file_path = "${module.dev_cluster.config_file_path}"
17+
cluster_type = "${var.cluster_type}"
1818
service_account_name = "${module.dev_serviceaccount_logdna-agent.name}"
1919
name_prefix = "${var.name_prefix}"
2020
namespace = "${module.dev_cluster_namespaces.tools_namespace_name}"
21-
service_namespace = "${module.dev_software_cloud_operator.namespace}"
2221
}

terraform/stages/stage3-sysdig.tf

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
module "dev_infrastructure_sysdig" {
2-
source = "github.com/ibm-garage-cloud/garage-terraform-modules.git//cloud-managed/operator-services/sysdig?ref=v2.1.8"
2+
source = "github.com/ibm-garage-cloud/garage-terraform-modules.git//cloud-managed/services/sysdig?ref=v2.1.8"
33

44
resource_group_name = "${module.dev_cluster.resource_group_name}"
55
resource_location = "${module.dev_cluster.region}"
66
cluster_config_file_path = "${module.dev_cluster.config_file_path}"
7-
tools_namespace = "${module.dev_cluster_namespaces.tools_namespace_name}"
7+
dev_namespace = "${module.dev_cluster_namespaces.tools_namespace_name}"
8+
test_namespace = "${module.dev_cluster_namespaces.tools_namespace_name}"
9+
staging_namespace = "${module.dev_cluster_namespaces.tools_namespace_name}"
810
cluster_type = "${var.cluster_type}"
911
name_prefix = "${var.name_prefix}"
10-
service_namespace = "${module.dev_software_cloud_operator.namespace}"
1112
}

0 commit comments

Comments
 (0)