在Google Cloud的Deployment Manager中使用gcp-types / servicenetworking.googleapis.com:services.connections

时间:2019-09-16 11:04:45

标签: deployment google-cloud-platform

您能告诉我如何使用gcp-types / servicenetworking.googleapis.com:services.connections运行Deployment Manager吗?我也尝试了gcloud alpha,但出现了这样的错误:

- code: RESOURCE_NOT_FOUND
  message: The provider servicenetworking.googleapis.com at project gcp-types was
    not found in public GCP types

代码:

 - name: peering
   action: gcp-types/servicenetworking.googleapis.com:services.connections
   properties:
     network: projects/$(ref.project.projectId)/global/networks/$(ref.vpc.name)
     reservedPeeringRanges:
       - {{ properties['range'] }}

谢谢!

0 个答案:

没有答案