Skip to content

Commit

Permalink
Formating fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
neil-sproston committed Jun 28, 2024
1 parent 4fa9de5 commit 3b23e66
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions modules/backup/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This is a simple module to create a AWS Backup vault, KMS keys, Plans and automa

The vault module should be ran first in the remote AWS account.

**WARNING** Once a snaphshot has been placed intothe remote locked vault it can not be removed until the
**WARNING** Once a snaphshot has been placed intothe remote locked vault it can not be removed until the
lifecycle duration has been exceeded.

## Module parameters
Expand Down Expand Up @@ -43,6 +43,6 @@ module "rss_prod_backup_vault" {
remote_lifecycle = 90
backup_schedule = "cron(15 11 ? * * *)"
use_env = true
environment = "prod"
environment = "prod"
}
```
4 changes: 2 additions & 2 deletions modules/backup/kms.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Create a specific KMS key for the local backup vault and allow the remote
// Create a specific KMS key for the local backup vault and allow the remote
// AWS account access to that key.

resource "aws_kms_alias" "remote_backup_vault_key" {
Expand All @@ -18,7 +18,7 @@ resource "aws_kms_key" "remote_backup_vault" {
"Sid": "Enable IAM User Permissions",
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::${data.aws_caller_identity.current.id}:root"
"AWS": "arn:aws:iam::${data.aws_caller_identity.current.id}:root"
},
"Action": "kms:*",
"Resource": "*"
Expand Down
2 changes: 1 addition & 1 deletion modules/vault/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ cool-off period has been passed vault locking can not be removed.
|:---------------|:---------------------------------------|:------:|:------:|
| client_name | The name of the client being served | string | - |
| client_account | The AWS Account ID number being served | string | - |
| lock_vault | Whether to lock the vault | bool | false |
| lock_vault | Whether to lock the vault | bool | false |

## Sample usage

Expand Down
2 changes: 1 addition & 1 deletion modules/vault/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,4 @@ resource "aws_kms_key" "backup" {
]
}
POLICY
}
}

0 comments on commit 3b23e66

Please sign in to comment.