Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto-generate the Cloud IoT Core Device resource #2266

Conversation

modular-magician
Copy link
Collaborator

This PR automatically generates the Cloud IoT Core Device terraform resource, and the relevant acceptance tests.

Closes hashicorp/terraform-provider-google#1495.

`google_cloudiot_device`

Derived from GoogleCloudPlatform/magic-modules#3637

* Ignore python virtualenv

* Automatically generate IoT Core Devices

* Basic Cloud IoT device test

* Fix tests

* Full test

* Fix import

* Use vars for names

* Fix tests

* Fix update test

* Fix review comments

* Update templates/terraform/examples/cloudiot_device_basic.tf.erb

Co-authored-by: Sam Levenick <slevenick@google.com>

* Update templates/terraform/examples/cloudiot_device_basic.tf.erb

Co-authored-by: Sam Levenick <slevenick@google.com>

* Update templates/terraform/examples/cloudiot_device_full.tf.erb

Co-authored-by: Sam Levenick <slevenick@google.com>

* Update templates/terraform/examples/cloudiot_device_full.tf.erb

Co-authored-by: Sam Levenick <slevenick@google.com>

* Fix review comments

* Remove allow_empty_object from expirationTime

* Set credentials.expirationTime to accept default values

* Extend comment

Co-authored-by: Sam Levenick <slevenick@google.com>
Signed-off-by: Modular Magician <magic-modules@google.com>
@modular-magician modular-magician merged commit d79339c into hashicorp:master Jul 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant