Currently the Google Cloud Deployment Manager does not allow to access the Google Cloud IoT components. To get around this circumstance it is possible to add a custom type provider with the Google Cloud IoT API endpoint.
Replace [PROJECT-ID]
in iot-config.yaml
with your GCP project id.
gcloud beta deployment-manager type-providers create custom-gcp-cloudiot --api-options-file=options.yaml --descriptor-url="https://cloudiot.googleapis.com/\$discovery/rest?version=v1"
gcloud beta deployment-manager types list
gcloud deployment-manager deployments create testiot --config iot-config.yaml
https://console.cloud.google.com/iot/registries
gcloud deployment-manager deployments delete testiot