Skip to content

Using Google Cloud Deployment Manager for Google Cloud IoT

Notifications You must be signed in to change notification settings

Ebolon/gcp-dm-cloudiot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Using Google Cloud Deployment Manager for Google Cloud IoT

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.

HowTo

Replace [PROJECT-ID]

Replace [PROJECT-ID] in iot-config.yaml with your GCP project id.

Add custom cloudiot type

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"

Look up the new type

gcloud beta deployment-manager types list

Create example iot register

gcloud deployment-manager deployments create testiot --config iot-config.yaml

Check dashboard

https://console.cloud.google.com/iot/registries

Delete example iot register

gcloud deployment-manager  deployments delete testiot

Resources:

About

Using Google Cloud Deployment Manager for Google Cloud IoT

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published