Create roles for all tenants
@@ -29,11 +29,8 @@ public class TenantRoleMaintainer extends ControllerMaintainer {
// Create separate athenz service for all tenants
tenants.forEach(roleService::createTenantRole);
- // Until we have moved to separate athenz service per tenant, make sure we update the shared policy
- // to allow ssh logins for hosts in prod/perf with a separate tenant iam role.
var tenantsWithRoles = tenants.stream()
.map(Tenant::name)
- .filter(tenant -> hasProductionDeployment(tenant) || hasPerfDeployment(tenant))
.collect(Collectors.toList());
roleService.maintainRoles(tenantsWithRoles);
return 1.0;
