Skip to content

Commit

Permalink
Use hash for module reference
Browse files Browse the repository at this point in the history
  • Loading branch information
murdo-moj authored Oct 5, 2023
1 parent d4dd3a2 commit b05e4f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions test/unit-test/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ data "aws_iam_policy_document" "instance-scheduler-lambda-function-policy" {
}
# checkov:skip=CKV_AWS_111: "Cannot restrict by KMS alias so leaving open"
# checkov:skip=CKV_AWS_109: "Cannot restrict by KMS alias so leaving open"
# checkov:skip=CKV_AWS_356: "Cannot restrict by KMS alias so leaving open"
statement {
sid = "AllowToDecryptKMS"
effect = "Allow"
Expand Down
2 changes: 1 addition & 1 deletion test/unit-test/s3.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module "s3-bucket" { #tfsec:ignore:aws-s3-enable-versioning
source = "github.com/ministryofjustice/modernisation-platform-terraform-s3-bucket?ref=v7.0.0"
source = "github.com/ministryofjustice/modernisation-platform-terraform-s3-bucket?ref=8688bc1" # Hash for v7.0.0

bucket_prefix = "data-platform-products-${local.environment}"
versioning_enabled = false
Expand Down

0 comments on commit b05e4f0

Please sign in to comment.