cloud-foundation-fabric/examples/cloud-operations/vm-migration/host-target-projects
Elia e279818b55
M4CE (v5) Examples (#413)
* M4CE (v5) Examples

* vm-migration new parent folder

* New vm-migration section

* Updated variables description

* Updated variables description

* Fixed broken link

* Updated variables description

* Fix lines spacing

* Added output variable

* Updated Variables description

* New variables layout

* fixed new line

* M4CE (v5) Examples

* vm-migration new parent folder

* New vm-migration section

* Updated variables description

* Updated variables description

* Fixed broken link

* Updated variables description

* Fix lines spacing

* Added output variable

* Updated Variables description

* New variables layout

* fixed new line

* added test

* move test on new folder

* Updated variables order and description

* Added output file

* vm-migration example tests

* Updated output description

* Updated output description

* Fixed Typo

Co-authored-by: Simone Ruffilli <sruffilli@google.com>
Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
2022-02-02 15:21:10 +01:00
..
README.md M4CE (v5) Examples (#413) 2022-02-02 15:21:10 +01:00
backend.tf.sample M4CE (v5) Examples (#413) 2022-02-02 15:21:10 +01:00
diagram.png M4CE (v5) Examples (#413) 2022-02-02 15:21:10 +01:00
main.tf M4CE (v5) Examples (#413) 2022-02-02 15:21:10 +01:00
outputs.tf M4CE (v5) Examples (#413) 2022-02-02 15:21:10 +01:00
variables.tf M4CE (v5) Examples (#413) 2022-02-02 15:21:10 +01:00

README.md

M4CE(v5) - Host and Target Projects

This example creates a Migrate for Compute Engine (v5) environment deployed on an host project with multiple target projects.

The example is designed to implement a M4CE (v5) environment on-top of complex migration landing environments where VMs have to be migrated to multiple target projects. It also includes the IAM wiring needed to make such scenarios work.

This is the high level diagram:

High-level diagram

Managed resources and services

This sample creates\updates several distinct groups of resources:

Variables

name description type required default
migration_admin_users List of users authorized to create a new M4CE sources and perform all other migration operations, in IAM format list(string)
migration_target_projects List of target projects for m4ce workload migrations list(string)
migration_viewer_users List of users authorized to retrive information about M4CE in the Google Cloud Console, in IAM format list(string) []
project_create Parameters for the creation of the new project to host the M4CE backend object({…}) null
project_name Name of an existing project or of the new project assigned as M4CE host project string "m4ce-host-project-000"

Outputs

name description sensitive
m4ce_gmanaged_service_account Google managed service account created automatically during the migrate connector registration.. It is used by M4CE to perform activities on target projects