diff --git a/products/compute/terraform.yaml b/products/compute/terraform.yaml index f71d99fad214..13224ef13f1b 100644 --- a/products/compute/terraform.yaml +++ b/products/compute/terraform.yaml @@ -504,8 +504,15 @@ overrides: !ruby/object:Overrides::ResourceOverrides - !ruby/object:Provider::Terraform::Examples name: "disk_basic" primary_resource_id: "default" + primary_resource_name: "fmt.Sprintf(\"tf-test-test-disk%s\", context[\"random_suffix\"])" vars: disk_name: "test-disk" + iam_policy: !ruby/object:Api::Resource::IamPolicy + method_name_separator: '/' + fetch_iam_policy_verb: :GET + parent_resource_attribute: 'name' + import_format: ["projects/{{project}}/zones/{{zone}}/disks/{{name}}", "{{name}}"] + base_url: projects/{{project}}/zones/{{zone}}/disks/{{name}} DiskType: !ruby/object:Overrides::Terraform::ResourceOverride exclude: true Firewall: !ruby/object:Overrides::Terraform::ResourceOverride @@ -1644,10 +1651,17 @@ overrides: !ruby/object:Overrides::ResourceOverrides - !ruby/object:Provider::Terraform::Examples name: "region_disk_basic" primary_resource_id: "regiondisk" + primary_resource_name: "fmt.Sprintf(\"tf-test-my-region-disk%s\", context[\"random_suffix\"])" vars: region_disk_name: "my-region-disk" disk_name: "my-disk" snapshot_name: "my-snapshot" + iam_policy: !ruby/object:Api::Resource::IamPolicy + method_name_separator: '/' + fetch_iam_policy_verb: :GET + parent_resource_attribute: 'name' + import_format: ["projects/{{project}}/regions/{{region}}/disks/{{name}}", "{{name}}"] + base_url: projects/{{project}}/regions/{{region}}/disks/{{name}} RegionDiskType: !ruby/object:Overrides::Terraform::ResourceOverride exclude: true RegionHealthCheck: !ruby/object:Overrides::Terraform::ResourceOverride