Skip to content

Commit d79339c

Browse files
Auto-generate the Cloud IoT Core Device resource (#3637) (#2266)
* 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 <[email protected]> * Update templates/terraform/examples/cloudiot_device_basic.tf.erb Co-authored-by: Sam Levenick <[email protected]> * Update templates/terraform/examples/cloudiot_device_full.tf.erb Co-authored-by: Sam Levenick <[email protected]> * Update templates/terraform/examples/cloudiot_device_full.tf.erb Co-authored-by: Sam Levenick <[email protected]> * Fix review comments * Remove allow_empty_object from expirationTime * Set credentials.expirationTime to accept default values * Extend comment Co-authored-by: Sam Levenick <[email protected]> Signed-off-by: Modular Magician <[email protected]> Co-authored-by: Sam Levenick <[email protected]>
1 parent 7a2a446 commit d79339c

File tree

10 files changed

+1615
-2
lines changed

10 files changed

+1615
-2
lines changed

.changelog/3637.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:new-resource
2+
`google_cloudiot_device`
3+
```

google-beta/provider.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -682,9 +682,9 @@ func Provider() terraform.ResourceProvider {
682682
return provider
683683
}
684684

685-
// Generated resources: 169
685+
// Generated resources: 170
686686
// Generated IAM resources: 66
687-
// Total generated resources: 235
687+
// Total generated resources: 236
688688
func ResourceMap() map[string]*schema.Resource {
689689
resourceMap, _ := ResourceMapWithErrors()
690690
return resourceMap
@@ -727,6 +727,7 @@ func ResourceMapWithErrors() (map[string]*schema.Resource, error) {
727727
"google_cloud_identity_group": resourceCloudIdentityGroup(),
728728
"google_cloud_identity_group_membership": resourceCloudIdentityGroupMembership(),
729729
"google_cloudiot_registry": resourceCloudIotDeviceRegistry(),
730+
"google_cloudiot_device": resourceCloudIotDevice(),
730731
"google_cloud_run_domain_mapping": resourceCloudRunDomainMapping(),
731732
"google_cloud_run_service": resourceCloudRunService(),
732733
"google_cloud_run_service_iam_binding": ResourceIamBinding(CloudRunServiceIamSchema, CloudRunServiceIamUpdaterProducer, CloudRunServiceIdParseFunc),

0 commit comments

Comments
 (0)