Skip to content

Commit 0312725

Browse files
iamar7Md Anam Raihan
andauthored
fix: updated some incorrect fscloud profile output + variable descriptions (#204)
Co-authored-by: Md Anam Raihan <[email protected]>
1 parent d7678b4 commit 0312725

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

examples/complete/outputs.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ output "service_credentials_object" {
3030
}
3131

3232
output "hostname" {
33-
description = "Postgresql instance hostname"
33+
description = "MongoDB instance hostname"
3434
value = module.mongodb.hostname
3535
}
3636

3737
output "port" {
38-
description = "Postgresql instance port"
38+
description = "MongoDB instance port"
3939
value = module.mongodb.port
4040
}

profiles/fscloud/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ No resources.
5151
| <a name="input_service_credential_names"></a> [service\_credential\_names](#input\_service\_credential\_names) | Map of name, role for service credentials that you want to create for the database | `map(string)` | `{}` | no |
5252
| <a name="input_skip_iam_authorization_policy"></a> [skip\_iam\_authorization\_policy](#input\_skip\_iam\_authorization\_policy) | Set to true to skip the creation of an IAM authorization policy that permits all MongoDB database instances in the resource group to read the encryption key from the Hyper Protect Crypto Services instance. The HPCS instance is passed in through the var.existing\_kms\_instance\_guid variable. | `bool` | `false` | no |
5353
| <a name="input_tags"></a> [tags](#input\_tags) | Optional list of tags to be added to the MongoDB instance and the associated service credentials (if creating). | `list(any)` | `[]` | no |
54-
| <a name="input_users"></a> [users](#input\_users) | A list of users that you want to create on the database. Multiple blocks are allowed. The user password must be in the range of 10-32 characters. Be warned that in most case using IAM service credentials (via the var.service\_credential\_names) is sufficient to control access to the Postgres instance. This blocks creates native postgres database users, more info on that can be found here https://cloud.ibm.com/docs/databases-for-postgresql?topic=databases-for-postgresql-user-management&interface=ui | <pre>list(object({<br> name = string<br> password = string # pragma: allowlist secret<br> type = string # "type" is required to generate the connection string for the outputs.<br> role = optional(string)<br> }))</pre> | `[]` | no |
54+
| <a name="input_users"></a> [users](#input\_users) | A list of users that you want to create on the database. Multiple blocks are allowed. The user password must be in the range of 10-32 characters. Be warned that in most case using IAM service credentials (via the var.service\_credential\_names) is sufficient to control access to the MongoDB instance. This blocks creates native MongoDB database users, more info on that can be found here https://cloud.ibm.com/docs/databases-for-mongodb?topic=databases-for-mongodb-user-management&interface=ui | <pre>list(object({<br> name = string<br> password = string # pragma: allowlist secret<br> type = string # "type" is required to generate the connection string for the outputs.<br> role = optional(string)<br> }))</pre> | `[]` | no |
5555

5656
## Outputs
5757

@@ -60,9 +60,9 @@ No resources.
6060
| <a name="output_cbr_rule_ids"></a> [cbr\_rule\_ids](#output\_cbr\_rule\_ids) | CBR rule ids created to restrict MongoDB |
6161
| <a name="output_crn"></a> [crn](#output\_crn) | MongoDB instance crn |
6262
| <a name="output_guid"></a> [guid](#output\_guid) | MongoDB instance guid |
63-
| <a name="output_hostname"></a> [hostname](#output\_hostname) | Postgresql instance hostname |
63+
| <a name="output_hostname"></a> [hostname](#output\_hostname) | MongoDB instance hostname |
6464
| <a name="output_id"></a> [id](#output\_id) | MongoDB instance id |
65-
| <a name="output_port"></a> [port](#output\_port) | Postgresql instance port |
65+
| <a name="output_port"></a> [port](#output\_port) | MongoDB instance port |
6666
| <a name="output_service_credentials_json"></a> [service\_credentials\_json](#output\_service\_credentials\_json) | Service credentials json map |
6767
| <a name="output_service_credentials_object"></a> [service\_credentials\_object](#output\_service\_credentials\_object) | Service credentials object |
6868
| <a name="output_version"></a> [version](#output\_version) | MongoDB instance version |

profiles/fscloud/outputs.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ output "service_credentials_object" {
4040
}
4141

4242
output "hostname" {
43-
description = "Postgresql instance hostname"
43+
description = "MongoDB instance hostname"
4444
value = module.mongodb.hostname
4545
}
4646

4747
output "port" {
48-
description = "Postgresql instance port"
48+
description = "MongoDB instance port"
4949
value = module.mongodb.port
5050
}

profiles/fscloud/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ variable "users" {
105105
}))
106106
default = []
107107
sensitive = true
108-
description = "A list of users that you want to create on the database. Multiple blocks are allowed. The user password must be in the range of 10-32 characters. Be warned that in most case using IAM service credentials (via the var.service_credential_names) is sufficient to control access to the Postgres instance. This blocks creates native postgres database users, more info on that can be found here https://cloud.ibm.com/docs/databases-for-postgresql?topic=databases-for-postgresql-user-management&interface=ui"
108+
description = "A list of users that you want to create on the database. Multiple blocks are allowed. The user password must be in the range of 10-32 characters. Be warned that in most case using IAM service credentials (via the var.service_credential_names) is sufficient to control access to the MongoDB instance. This blocks creates native MongoDB database users, more info on that can be found here https://cloud.ibm.com/docs/databases-for-mongodb?topic=databases-for-mongodb-user-management&interface=ui"
109109
}
110110

111111
variable "instance_name" {

0 commit comments

Comments
 (0)