Skip to content

kcp migration resources create

kcp migration resources create

Create the resources in a migration manifest (additive; existing resources are left untouched)

Synopsis

Create the resources described in a migration manifest (kind: Migration) on the target through its APIs, rather than generating Terraform.

Depending on the sections the manifest declares, this reconciles a cluster link, topics (mirror or new), service accounts and ACLs. Create is additive: whatever is absent is created, and whatever already exists is reported and left untouched. Nothing is altered or deleted.

Run kcp migration resources validate first to check the manifest, and use --dry-run to print the plan without making any change.

Manifest reference (every field): https://confluentinc.github.io/kcp/dev/migration-assets/manifest-reference/

kcp migration resources create [flags]

Examples

  # Preview the plan; nothing is changed
  kcp migration resources create -f migration.yaml --dry-run

  # Create the resources
  kcp migration resources create -f migration.yaml

Options

      --dry-run       Preview the changes without making them
  -f, --file string   Path to the migration manifest (required)
  -h, --help          help for create

Options inherited from parent commands

      --verbose   Enable verbose logging to console

SEE ALSO