Skip to content

Commit a3be64f

Browse files
committed
add server id for standard igm
1 parent 67bb32f commit a3be64f

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

mmv1/products/compute/InstanceGroupManager.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,12 @@ properties:
6565
hyphen and a random four-character string to the base instance name.
6666
The base instance name must comply with RFC1035.
6767
required: true
68+
- name: 'instanceGroupManagerId'
69+
type: Integer
70+
description: |
71+
The unique identifier number for the resource. This identifier is defined by the server.
72+
api_name: id
73+
output: true
6874
- name: 'creationTimestamp'
6975
type: Time
7076
description: |

mmv1/third_party/terraform/services/compute/resource_compute_region_instance_group_manager_test.go.tmpl

+3
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ func TestAccRegionInstanceGroupManager_basic(t *testing.T) {
2828
Steps: []resource.TestStep{
2929
{
3030
Config: testAccRegionInstanceGroupManager_basic(template, target, igm1, igm2),
31+
Check: resource.ComposeTestCheckFunc(
32+
resource.TestCheckResourceAttrSet(
33+
"google_compute_region_instance_group_manager.igm-basic", "instance_group_manager_id")),
3134
},
3235
{
3336
ResourceName: "google_compute_region_instance_group_manager.igm-basic",

0 commit comments

Comments
 (0)