Skip to content

Commit

Permalink
add deny product updates to sc-servicecatalog t1 and t2
Browse files Browse the repository at this point in the history
  • Loading branch information
morga471 committed May 28, 2026
1 parent 178d304 commit f41ffa4
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
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 f41ffa4

Please sign in to comment.