We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d91d8ad commit bf885c5Copy full SHA for bf885c5
infrastructure/policies.tf
@@ -42,7 +42,8 @@ resource "aws_iam_policy" "read_only_role_extra_permissions" {
42
}
43
44
resource "aws_iam_policy" "administrator_permission_restrictions" {
45
- name = "AdministratorRestriction"
+ count = local.is_sandbox ? 0 : 1
46
+ name = "AdministratorRestriction"
47
policy = jsonencode({
48
Version = "2012-10-17",
49
Statement = [
0 commit comments