Support for ANY_USER_ACCOUNT in module vpc-sc egress rule. (#1966)

This commit is contained in:
Jan Toth 2024-01-08 14:23:07 +01:00 committed by GitHub
parent af41e0fe38
commit d1746b8bd1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ variable "egress_policies" {
for k, v in var.egress_policies :
v.from.identity_type == null || contains([
"IDENTITY_TYPE_UNSPECIFIED", "ANY_IDENTITY",
"ANY_USER", "ANY_SERVICE_ACCOUNT"
"ANY_USER_ACCOUNT", "ANY_SERVICE_ACCOUNT"
], coalesce(v.from.identity_type, "-"))
])
error_message = "Invalid `from.identity_type` value in egress policy."