generated from terraform-ibm-modules/terraform-ibm-module-template
-
Notifications
You must be signed in to change notification settings - Fork 3
DA rally feedback #336
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
DA rally feedback #336
Changes from 1 commit
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 |
|---|---|---|
|
|
@@ -192,7 +192,7 @@ | |
| } | ||
| }, | ||
| { | ||
| "key": "skip_sm_ce_iam_authorization_policy" | ||
| "key": "skip_secrets_manager_certificate_engine_iam_authorization_policy" | ||
| }, | ||
| { | ||
| "key": "allowed_network", | ||
|
|
@@ -217,32 +217,20 @@ | |
| "key": "existing_secrets_manager_kms_key_crn" | ||
| }, | ||
| { | ||
| "key": "skip_sm_kms_iam_authorization_policy" | ||
| "key": "skip_secrets_manager_kms_iam_authorization_policy" | ||
| }, | ||
| { | ||
| "key": "ibmcloud_kms_api_key" | ||
| }, | ||
| { | ||
| "key": "kms_endpoint_type", | ||
| "options": [ | ||
| { | ||
| "displayname": "Public", | ||
| "value": "public" | ||
| }, | ||
| { | ||
| "displayname": "Private", | ||
| "value": "private" | ||
| } | ||
| ] | ||
| }, | ||
| { | ||
| "key": "kms_key_ring_name" | ||
| }, | ||
| { | ||
| "key": "kms_key_name" | ||
| }, | ||
| { | ||
| "key": "event_notifications_email_list" | ||
| "key": "event_notifications_email_list", | ||
| "type": "array" | ||
| }, | ||
| { | ||
| "key": "event_notifications_from_email" | ||
|
|
@@ -254,7 +242,7 @@ | |
| "key": "existing_event_notifications_instance_crn" | ||
| }, | ||
| { | ||
| "key": "skip_event_notifications_iam_authorization_policy" | ||
| "key": "skip_secrets_manager_event_notifications_iam_authorization_policy" | ||
| }, | ||
| { | ||
| "key": "secrets_manager_cbr_rules" | ||
|
|
@@ -425,7 +413,7 @@ | |
| } | ||
| }, | ||
| { | ||
| "key": "skip_sm_ce_iam_authorization_policy" | ||
| "key": "skip_secrets_manager_certificate_engine_iam_authorization_policy" | ||
| }, | ||
| { | ||
| "key": "existing_resource_group_name", | ||
|
|
@@ -443,7 +431,7 @@ | |
| "key": "existing_secrets_manager_kms_key_crn" | ||
| }, | ||
| { | ||
| "key": "skip_sm_kms_iam_authorization_policy" | ||
| "key": "skip_secrets_manager_kms_iam_authorization_policy" | ||
| }, | ||
| { | ||
| "key": "ibmcloud_kms_api_key" | ||
|
|
@@ -455,7 +443,8 @@ | |
| "key": "kms_key_name" | ||
| }, | ||
| { | ||
| "key": "event_notifications_email_list" | ||
| "key": "event_notifications_email_list", | ||
| "type": "array" | ||
|
||
| }, | ||
| { | ||
| "key": "event_notifications_from_email" | ||
|
|
@@ -467,7 +456,7 @@ | |
| "key": "existing_event_notifications_instance_crn" | ||
| }, | ||
| { | ||
| "key": "skip_event_notifications_iam_authorization_policy" | ||
| "key": "skip_secrets_manager_event_notifications_iam_authorization_policy" | ||
| }, | ||
| { | ||
| "key": "secrets_manager_cbr_rules" | ||
|
|
||
This file contains hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
|
|
@@ -76,9 +76,9 @@ variable "service_plan" { | |
| } | ||
| } | ||
|
|
||
| variable "skip_sm_ce_iam_authorization_policy" { | ||
| variable "skip_secrets_manager_certificate_engine_iam_authorization_policy" { | ||
| type = bool | ||
| description = "Whether to skip the creation of the IAM authorization policies required to enable the IAM credentials engine. If set to false, policies will be created that grants the Secrets Manager instance 'Operator' access to the IAM identity service, and 'Groups Service Member Manage' access to the IAM groups service." | ||
| description = "Whether to skip the creation of the IAM authorization policies required to enable the IAM credentials engine (if you are using an existing Secrets Manager isntance, attempting to re-create can cause conflicts if the policies already exist). If set to false, policies will be created that grants the Secrets Manager instance 'Operator' access to the IAM identity service, and 'Groups Service Member Manage' access to the IAM groups service." | ||
| default = false | ||
| } | ||
|
|
||
|
|
@@ -149,7 +149,7 @@ variable "secret_groups" { | |
| # Key Protect | ||
| ######################################################################################################################## | ||
|
|
||
| variable "skip_sm_kms_iam_authorization_policy" { | ||
| variable "skip_secrets_manager_kms_iam_authorization_policy" { | ||
| type = bool | ||
| description = "Set to true to skip the creation of an IAM authorization policy that permits all Secrets Manager instances in the resource group to read the encryption key from the KMS instance. If set to false, pass in a value for the KMS instance in the `existing_kms_instance_crn` variable. If a value is specified for `ibmcloud_kms_api_key`, the policy is created in the KMS account." | ||
| default = false | ||
|
|
@@ -210,16 +210,6 @@ variable "existing_kms_instance_crn" { | |
| } | ||
| } | ||
|
|
||
| variable "kms_endpoint_type" { | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we can keep the variable but hide it in the ibm_catalog.json |
||
| type = string | ||
| description = "The endpoint for communicating with the Key Protect or Hyper Protect Crypto Services instance. Possible values: `public`, `private`. Applies only if `existing_secrets_manager_kms_key_crn` is not specified." | ||
| default = "private" | ||
| validation { | ||
| condition = can(regex("public|private", var.kms_endpoint_type)) | ||
| error_message = "The kms_endpoint_type value must be 'public' or 'private'." | ||
| } | ||
| } | ||
|
|
||
| variable "kms_key_ring_name" { | ||
| type = string | ||
| default = "secrets-manager-key-ring" | ||
|
|
@@ -249,7 +239,7 @@ variable "existing_event_notifications_instance_crn" { | |
| default = null | ||
| } | ||
|
|
||
| variable "skip_event_notifications_iam_authorization_policy" { | ||
| variable "skip_secrets_manager_event_notifications_iam_authorization_policy" { | ||
| type = bool | ||
| description = "If set to true, this skips the creation of a service to service authorization from Secrets Manager to Event Notifications. If false, the service to service authorization is created." | ||
| default = false | ||
|
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we need to add the custom array type for strings: