generated from terraform-ibm-modules/terraform-ibm-module-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
145690d
commit 9931045
Showing
28 changed files
with
612 additions
and
199 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,8 @@ | ||
# Basic example | ||
|
||
<!-- | ||
The basic example should call the module(s) stored in this repository with a basic configuration. | ||
Note, there is a pre-commit hook that will take the title of each example and include it in the repos main README.md. | ||
The text below should describe exactly what resources are provisioned / configured by the example. | ||
--> | ||
A simple example that shows how to provision a basic Trial instance of Secrets Manager. | ||
|
||
An end-to-end basic example that will provision the following: | ||
- A new resource group if one is not passed in. | ||
- A new Cloud Object Storage instance. | ||
The following resources are provisioned by this example: | ||
|
||
- A new resource group, if an existing one is not passed in. | ||
- A Trial instance of Secrets Manager. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,4 @@ | ||
######################################################################################################################## | ||
# Outputs | ||
######################################################################################################################## | ||
|
||
output "cos_instance_id" { | ||
description = "COS instance id" | ||
value = ibm_resource_instance.cos_instance.id | ||
} | ||
|
||
output "resource_group_name" { | ||
description = "Resource group name" | ||
value = module.resource_group.resource_group_name | ||
} | ||
|
||
output "resource_group_id" { | ||
description = "Resource group ID" | ||
value = module.resource_group.resource_group_id | ||
output "secrets_manager_guid" { | ||
value = module.secrets_manager.secrets_manager_guid | ||
description = "GUID of Secrets Manager instance." | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
terraform { | ||
required_version = ">= 1.3.0, <1.6.0" | ||
required_version = ">= v1.0.0, <1.6.0" | ||
|
||
# Ensure that there is always 1 example locked into the lowest provider version of the range defined in the main | ||
# module's version.tf (usually a basic example), and 1 example that will always use the latest provider version. | ||
# module's version.tf (this example), and 1 example that will always use the latest provider version (complete example). | ||
required_providers { | ||
ibm = { | ||
source = "IBM-Cloud/ibm" | ||
version = "1.49.0" | ||
version = "1.56.1" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Complete example with private only instance and KYOK encryption | ||
|
||
This examples handles the provisioning of Secrets-Manager instance, the IAM engine configuration in the recently created instance and a context-based restriction (CBR) rule to only allow Secret Manager to be accessible from within the VPC.. | ||
|
||
Only private service endpoints are enabled, public are disabled. Secrets Manager instances that are private only do not offer a UI management experience. |
Oops, something went wrong.