Skip to content

Commit bf29eb4

Browse files
committed
CCM-8572: tidy
1 parent 127c4d5 commit bf29eb4

File tree

3 files changed

+1
-32
lines changed

3 files changed

+1
-32
lines changed

infrastructure/terraform/components/acct/module_sandbox_kms.tf

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -12,31 +12,6 @@ module "kms_sandbox" {
1212
name = "sandbox"
1313
deletion_window = var.kms_deletion_window
1414
alias = "alias/${local.csi}-sandbox"
15-
# key_policy_documents = [data.aws_iam_policy_document.kms_sandbox.json]
16-
iam_delegation = true
17-
15+
iam_delegation = true
1816
}
1917

20-
# data "aws_iam_policy_document" "kms_sandbox" {
21-
# statement {
22-
# sid = "AllowEventBridge"
23-
# effect = "Allow"
24-
25-
# principals {
26-
# type = "Service"
27-
28-
# identifiers = [
29-
# "events.amazonaws.com",
30-
# ]
31-
# }
32-
33-
# actions = [
34-
# "kms:Decrypt",
35-
# "kms:GenerateDataKey",
36-
# ]
37-
38-
# resources = [
39-
# "*",
40-
# ]
41-
# }
42-
# }

infrastructure/terraform/components/app/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
| <a name="input_event_delivery_logging_success_sample_percentage"></a> [event\_delivery\_logging\_success\_sample\_percentage](#input\_event\_delivery\_logging\_success\_sample\_percentage) | Enable caching of events to an S3 bucket | `number` | `0` | no |
3737
| <a name="input_group"></a> [group](#input\_group) | The group variables are being inherited from (often synonmous with account short-name) | `string` | n/a | yes |
3838
| <a name="input_kms_deletion_window"></a> [kms\_deletion\_window](#input\_kms\_deletion\_window) | When a kms key is deleted, how long should it wait in the pending deletion state? | `string` | `"30"` | no |
39-
| <a name="input_kms_key_arn"></a> [kms\_key\_arn](#input\_kms\_key\_arn) | ARN of KMS Key used for encrypting application data | `string` | n/a | yes |
4039
| <a name="input_log_retention_in_days"></a> [log\_retention\_in\_days](#input\_log\_retention\_in\_days) | The retention period in days for the Cloudwatch Logs events to be retained, default of 0 is indefinite | `number` | `0` | no |
4140
| <a name="input_observability_account_id"></a> [observability\_account\_id](#input\_observability\_account\_id) | The Observability Account ID that needs access | `string` | n/a | yes |
4241
| <a name="input_parent_acct_environment"></a> [parent\_acct\_environment](#input\_parent\_acct\_environment) | Name of the environment responsible for the acct resources used, affects things like DNS zone. Useful for named dev environments | `string` | `"main"` | no |

infrastructure/terraform/components/app/variables.tf

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,3 @@ variable "observability_account_id" {
192192
type = string
193193
description = "The Observability Account ID that needs access"
194194
}
195-
196-
variable "kms_key_arn" {
197-
type = string
198-
description = "ARN of KMS Key used for encrypting application data"
199-
}

0 commit comments

Comments
 (0)