Skip to content

Commit facc454

Browse files
chore: remove sm from example - not used(#36)
Co-authored-by: Conall Ó Cofaigh <[email protected]>
1 parent 9e79be4 commit facc454

File tree

2 files changed

+0
-24
lines changed

2 files changed

+0
-24
lines changed

examples/complete/main.tf

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -36,24 +36,6 @@ resource "ibm_iam_authorization_policy" "policy" {
3636
roles = ["Reader"]
3737
}
3838

39-
########################################
40-
## Create Secrets Manager layer
41-
########################################
42-
43-
resource "ibm_resource_instance" "secrets_manager" {
44-
name = "${var.prefix}-sm"
45-
service = "secrets-manager"
46-
service_endpoints = "public-and-private"
47-
plan = var.sm_service_plan
48-
location = var.region
49-
resource_group_id = module.resource_group.resource_group_id
50-
51-
timeouts {
52-
create = "30m"
53-
}
54-
55-
}
56-
5739
##############################################################################
5840
# Service Credentials
5941
##############################################################################

examples/complete/variables.tf

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,6 @@ variable "mongodb_version" {
3434
default = null
3535
}
3636

37-
variable "sm_service_plan" {
38-
type = string
39-
description = "Secrets Manager plan"
40-
default = "trial"
41-
}
42-
4337
variable "service_credentials" {
4438
description = "A list of service credentials that you want to create for the database"
4539
type = list(string)

0 commit comments

Comments
 (0)