Skip to main content

Landing Zones

In GCP, a Landing Zone is defined via folder the project will be assigned to. Policies can be applied to these folders.

The Landing Zone can be configured in the Administration section. If a project is selected to have a GCP tenant a Landing Zone must be selected by the user. By choosing a landing zone, platform specific configuration can be set (in this case for GCP). The options for GCP are:

Resource Manager Folder Id

All newly created meshProjects get their corresponding GCP project assigned to this Folder in the Organization Resource Hierarchy.

Folders and the application of organization constrains on the projects contained in them through the use of Organization Policy Service can be setup outside of meshcloud by a platform engineer.

meshRole to Platform Role Mapping

The meshProject roles must be mapped to GCP specific roles. You are able to control this mapping with a Landing Zone setting. You can specifiy these mappings by adding role mappings and supplying a GCP Role. You can both use custom roles which look like organizations/123123123123/roles/meshstack.project_developer or predifined GCP roles like roles/editor.

You can specify multiple GCP roles for each meshRole. All defined GCP roles are added to the user group. Additional roles can be managed for the user group outside of meshStack. meshStack does not remove roles from a user group. It only adds the mapped roles specified in the landing zone definition.

Cloud Function URL

If you specify a Cloud Function URL this function will get invoked during a project replication. This can happen several times and thus your function invocation must be idempotent. The function gets variables provided via HTTP headers similar to the Azure Function.

Please make sure the GCP service user of the replicator is allowed to access this function.

Please review the meshStack Landing Zone Http Header interface for metadata meshStack makes available to Azure Functions.

In addition to the headers referenced above, meshStack provides the following GCP-specific HTTP headers:

HTTP Header NameDescription
x-mesh-project-idThe ID of the GCP project associated with this meshProject