From fdbe2f34bdd81fc56a86aa1dfd0b32c589e3cb49 Mon Sep 17 00:00:00 2001
From: Liam Nesteroff <35284740+lnesteroff@users.noreply.github.com>
Date: Fri, 1 Aug 2025 16:48:04 +1000
Subject: [PATCH] fixed schema patter for iam_bindings_additive roles (#3258)
* fixed schema to allow iam_bindings_additive roles with "." (roles/compute.admin)
---
fast/stages/2-project-factory/schemas/project.schema.md | 2 +-
modules/project-factory/schemas/project.schema.json | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/fast/stages/2-project-factory/schemas/project.schema.md b/fast/stages/2-project-factory/schemas/project.schema.md
index 0be198251..bffc4bb97 100644
--- a/fast/stages/2-project-factory/schemas/project.schema.md
+++ b/fast/stages/2-project-factory/schemas/project.schema.md
@@ -173,7 +173,7 @@
- **member**: *string*
*pattern: ^(?:domain:|group:|serviceAccount:|user:|principal:|principalSet:|[a-z])*
- **role**: *string*
-
*pattern: ^[a-zA-Z0-9_/]+$*
+
*pattern: ^[a-zA-Z0-9_/.]+$*
- **condition**: *object*
*additional properties: false*
- ⁺**expression**: *string*
diff --git a/modules/project-factory/schemas/project.schema.json b/modules/project-factory/schemas/project.schema.json
index e2c765ed0..11b4eb05e 100644
--- a/modules/project-factory/schemas/project.schema.json
+++ b/modules/project-factory/schemas/project.schema.json
@@ -249,7 +249,7 @@
}
}
}
- },
+ },
"parent": {
"type": "string"
},
@@ -616,7 +616,7 @@
},
"role": {
"type": "string",
- "pattern": "^[a-zA-Z0-9_/]+$"
+ "pattern": "^[a-zA-Z0-9_/.]+$"
},
"condition": {
"type": "object",