You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: variables.tf
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,10 @@ variable "name_prefix" {
7
7
description="Short slug used in IAM role names — no spaces or special chars (defaults to agent_space_name if not set)"
8
8
type=string
9
9
default=""
10
+
validation {
11
+
condition=length(var.name_prefix) <=35
12
+
error_message="name_prefix must be 35 characters or fewer — IAM role names are limited to 64 chars and the longest prefix 'DevOpsAgentRole-WebappAdmin-' is 29 chars."
0 commit comments