Skip to content

Commit

Permalink
Merge pull request #9 from terraform-modules/svc-cat-deny
Browse files Browse the repository at this point in the history
add deny product updates to sc-servicecatalog t1 and t2
  • Loading branch information
badra001 committed May 28, 2026
2 parents 178d304 + adaf5b7 commit 7d2c84f
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,6 @@
- group-assignment
- add validation that the provided account_names actuall exist within the organization

* 1.8.1 -- 2026-05-28
- updated policies/sc-servicecatalog-t1,-t2
- deny update to provisioned products and properties of provisioned products
2 changes: 1 addition & 1 deletion common/version.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
locals {
_module_version = "1.8.0"
_module_version = "1.8.1"
}
9 changes: 9 additions & 0 deletions policies/sc-servicecatalog-t1/policy.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,13 @@ data "aws_iam_policy_document" "inline" {
]
resources = ["*"]
}
statement {
sid = "DenyProductUpdates"
effect = "Deny"
actions = [
"servicecatalog:UpdateProvisionedProduct",
"servicecatalog:UpdateProvisionedProductProperties",
]
resources = ["*"]
}
}
9 changes: 9 additions & 0 deletions policies/sc-servicecatalog-t2/policy.tf
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,14 @@ data "aws_iam_policy_document" "inline" {
]
resources = ["*"]
}
statement {
sid = "DenyProductUpdates"
effect = "Deny"
actions = [
"servicecatalog:UpdateProvisionedProduct",
"servicecatalog:UpdateProvisionedProductProperties",
]
resources = ["*"]
}
}

0 comments on commit 7d2c84f

Please sign in to comment.