diff --git a/Gemfile b/Gemfile index dbb31115c..70df57d4d 100644 --- a/Gemfile +++ b/Gemfile @@ -5,8 +5,8 @@ gem 'google-api-client' gem 'google-cloud' gem 'googleauth' gem 'inifile' -gem 'rubocop' gem 'inspec-bin' +gem 'rubocop' group :development do gem 'github_changelog_generator' diff --git a/docs/resources/google_compute_instance_group_manager.md b/docs/resources/google_compute_instance_group_manager.md index 790a83131..a4bbfdb3b 100644 --- a/docs/resources/google_compute_instance_group_manager.md +++ b/docs/resources/google_compute_instance_group_manager.md @@ -15,7 +15,6 @@ describe google_compute_instance_group_manager(project: 'chef-gcp-inspec', zone: its('named_ports.count') { should cmp 1 } its('named_ports.first.name') { should eq 'port' } its('named_ports.first.port') { should eq '80' } - its('instance_template') { should match 'gcp-managed-group-name' } end describe google_compute_instance_group_manager(project: 'chef-gcp-inspec', zone: 'zone', name: 'nonexistent') do diff --git a/test/integration/verify/controls/google_compute_instance_group_managers.rb b/test/integration/verify/controls/google_compute_instance_group_managers.rb index 5d0a5d5c4..fdd35ac41 100644 --- a/test/integration/verify/controls/google_compute_instance_group_managers.rb +++ b/test/integration/verify/controls/google_compute_instance_group_managers.rb @@ -16,7 +16,6 @@ gcp_project_id = attribute(:gcp_project_id, default: 'gcp_project_id', description: 'The GCP project identifier.') gcp_zone = attribute(:gcp_zone, default: 'gcp_zone', description: 'The GCP project zone.') -gcp_lb_mig1_name = attribute(:gcp_lb_mig1_name, default: 'gcp_lb_mig1_name', description: 'Managed instance group name.') instance_group_manager = attribute('instance_group_manager', default: { "name": "inspec-gcp-igm", "base_instance_name": "igm",