Skip to content

Commit

Permalink
Don't deny createVolume (#23)
Browse files Browse the repository at this point in the history
In #21, the policy was updated to fix snapshots, but erroneously, an
extra deny was added for CreateVolume

This fixes that and bumps the version
  • Loading branch information
Addison Higham authored May 31, 2023
1 parent f5634f0 commit 4cb0a64
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion modules/aws/files/runtime_iam_policy.json.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@
"Sid": "vbcd",
"Effect": "Deny",
"Action": [
"ec2:CreateVolume",
"ec2:CreateSnapshot"
],
"Resource": "*",
Expand Down
2 changes: 1 addition & 1 deletion modules/aws/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ variable "s3_bucket_pattern" {
}

variable "sn_policy_version" {
default = "3.1.0"
default = "3.1.1"
description = "The value of SNVersion tag"
type = string
}
Expand Down

0 comments on commit 4cb0a64

Please sign in to comment.