diff --git a/config/externalname.go b/config/externalname.go index eb4b8fa2d..f9d070aec 100644 --- a/config/externalname.go +++ b/config/externalname.go @@ -292,7 +292,9 @@ var externalNameConfigs = map[string]config.ExternalName{ // Imported by using the following projects/{{project}}/global/snapshots/{{snapshot}} roles/viewer user:jane@example.com "google_compute_snapshot_iam_member": config.IdentifierFromProvider, // Imported by using the following projects/{{project}}/regions/{{region}}/routers/{{router}}/{{name}} - "google_compute_router_peer": config.TemplatedStringAsIdentifier("name", "projects/{{ if .parameters.project }}{{ .parameters.project }}{{ else }}{{ .setup.configuration.project }}{{end}}/regions/{{ .parameters.region }}/routers/{{ .parameters.router }}/{{ .external_name }}"), + // "google_compute_router_peer": config.TemplatedStringAsIdentifier("name", "projects/{{ if .parameters.project }}{{ .parameters.project }}{{ else }}{{ .setup.configuration.project }}{{end}}/regions/{{ .parameters.region }}/routers/{{ .parameters.router }}/{{ .external_name }}"), + // Imported by using the following {{router}}/{{name}} + "google_compute_router_peer": config.TemplatedStringAsIdentifier("name", "{{ .parameters.router }}/{{ .external_name }}"), // container //