Skip to content

Commit

Permalink
Move common inspec file to common copy
Browse files Browse the repository at this point in the history
  • Loading branch information
rileykarson authored and modular-magician committed Aug 21, 2019
1 parent 0099a24 commit 1152f65
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 21 deletions.
3 changes: 0 additions & 3 deletions products/cloudbuild/inspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,3 @@

--- !ruby/object:Provider::Inspec::Config
overrides: !ruby/object:Overrides::ResourceOverrides
files: !ruby/object:Provider::Config::Files
copy:
'Gemfile': 'provider/inspec/Gemfile'
3 changes: 0 additions & 3 deletions products/cloudfunctions/inspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,3 @@ overrides: !ruby/object:Overrides::ResourceOverrides
properties:
trigger_http: !ruby/object:Overrides::Inspec::PropertyOverride
exclude: true
files: !ruby/object:Provider::Config::Files
copy:
'Gemfile': 'provider/inspec/Gemfile'
3 changes: 0 additions & 3 deletions products/compute/inspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,3 @@ overrides: !ruby/object:Overrides::ResourceOverrides
exclude: true
Zone: !ruby/object:Overrides::Inspec::ResourceOverride
exclude: true
files: !ruby/object:Provider::Config::Files
copy:
'Gemfile': 'provider/inspec/Gemfile'
3 changes: 0 additions & 3 deletions products/container/inspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,3 @@ overrides: !ruby/object:Overrides::ResourceOverrides
properties:
cluster: !ruby/object:Overrides::Inspec::PropertyOverride
resource: 'RegionalCluster'
files: !ruby/object:Provider::Config::Files
copy:
'Gemfile': 'provider/inspec/Gemfile'
4 changes: 1 addition & 3 deletions products/dns/inspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,4 @@ overrides: !ruby/object:Overrides::ResourceOverrides
base_url: projects/{{project}}/managedZones/{{managed_zone}}/rrsets
Project: !ruby/object:Overrides::Inspec::ResourceOverride
exclude: true
files: !ruby/object:Provider::Config::Files
copy:
'Gemfile': 'provider/inspec/Gemfile'

3 changes: 0 additions & 3 deletions products/pubsub/inspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,3 @@ overrides: !ruby/object:Overrides::ResourceOverrides
properties:
name: !ruby/object:Overrides::Inspec::PropertyOverride
name_from_self_link: true
files: !ruby/object:Provider::Config::Files
copy:
'Gemfile': 'provider/inspec/Gemfile'
3 changes: 0 additions & 3 deletions products/resourcemanager/inspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,3 @@ overrides: !ruby/object:Overrides::ResourceOverrides
product_url: https://cloudresourcemanager.googleapis.com/v2/
# Creating and viewing folders requires organization level privileges
privileged: true
files: !ruby/object:Provider::Config::Files
copy:
'Gemfile': 'provider/inspec/Gemfile'
1 change: 1 addition & 0 deletions provider/inspec/common~copy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@
'libraries/google/iam/property/iam_policy_audit_configs.rb': 'templates/inspec/iam_policy/properties/iam_policy_audit_configs.rb'
'libraries/google/iam/property/iam_policy_audit_configs_audit_log_configs.rb': 'templates/inspec/iam_policy/properties/iam_policy_audit_configs_audit_log_configs.rb'
'libraries/google/iam/property/iam_policy_bindings.rb': 'templates/inspec/iam_policy/properties/iam_policy_bindings.rb'
'Gemfile': 'provider/inspec/Gemfile'

0 comments on commit 1152f65

Please sign in to comment.