generated from sa-progress/magic-modules
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into CHEF-7367_1-MAGIC-MODULE-dataflow_v1b3-Proje…
…cts__locations__job
- Loading branch information
Showing
5 changed files
with
187 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
...le_compute_network_edge_security_service/google_compute_network_edge_security_service.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<% gcp_project_id = "#{external_attribute(pwd, 'gcp_project_id', doc_generation)}" -%> | ||
<% network_edge_security_service = grab_attributes(pwd)['network_edge_security_service'] -%> | ||
describe google_compute_v1_network_edge_security_service(networkEdgeSecurityService: <%= doc_generation ? "' #{network_edge_security_service['networkEdgeSecurityService']}'":"network_edge_security_service['networkEdgeSecurityService']" -%>, project: <%= gcp_project_id -%>, region: <%= doc_generation ? "' #{network_edge_security_service['region']}'":"network_edge_security_service['region']" -%>) do | ||
it { should exist } | ||
its('kind') { should cmp <%= doc_generation ? "'#{network_edge_security_service['kind']}'" : "network_edge_security_service['kind']" -%> } | ||
its('id') { should cmp <%= doc_generation ? "'#{network_edge_security_service['id']}'" : "network_edge_security_service['id']" -%> } | ||
its('creation_timestamp') { should cmp <%= doc_generation ? "'#{network_edge_security_service['creation_timestamp']}'" : "network_edge_security_service['creation_timestamp']" -%> } | ||
its('name') { should cmp <%= doc_generation ? "'#{network_edge_security_service['name']}'" : "network_edge_security_service['name']" -%> } | ||
its('description') { should cmp <%= doc_generation ? "'#{network_edge_security_service['description']}'" : "network_edge_security_service['description']" -%> } | ||
its('self_link') { should cmp <%= doc_generation ? "'#{network_edge_security_service['self_link']}'" : "network_edge_security_service['self_link']" -%> } | ||
its('self_link_with_id') { should cmp <%= doc_generation ? "'#{network_edge_security_service['self_link_with_id']}'" : "network_edge_security_service['self_link_with_id']" -%> } | ||
its('region') { should cmp <%= doc_generation ? "'#{network_edge_security_service['region']}'" : "network_edge_security_service['region']" -%> } | ||
its('fingerprint') { should cmp <%= doc_generation ? "'#{network_edge_security_service['fingerprint']}'" : "network_edge_security_service['fingerprint']" -%> } | ||
its('security_policy') { should cmp <%= doc_generation ? "'#{network_edge_security_service['security_policy']}'" : "network_edge_security_service['security_policy']" -%> } | ||
|
||
end | ||
|
||
describe google_compute_v1_network_edge_security_service(networkEdgeSecurityService: <%= doc_generation ? "' #{network_edge_security_service['networkEdgeSecurityService']}'":"network_edge_security_service['networkEdgeSecurityService']" -%>, project: <%= gcp_project_id -%>, region: <%= doc_generation ? "' #{network_edge_security_service['region']}'":"network_edge_security_service['region']" -%>) do | ||
it { should_not exist } | ||
end |
3 changes: 3 additions & 0 deletions
3
...network_edge_security_service/google_compute_network_edge_security_service_attributes.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
gcp_project_id = input(:gcp_project_id, value: '<%= external_attribute(pwd, 'gcp_project_id') -%>', description: 'The GCP project identifier.') | ||
|
||
network_edge_security_service = input('network_edge_security_service', value: <%= JSON.pretty_generate(grab_attributes(pwd)['network_edge_security_service']) -%>, description: 'network_edge_security_service description') |
5 changes: 5 additions & 0 deletions
5
...e_compute_network_edge_security_service/google_compute_network_edge_security_services.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<% gcp_project_id = "#{external_attribute(pwd, 'gcp_project_id', doc_generation)}" -%> | ||
<% network_edge_security_service = grab_attributes(pwd)['network_edge_security_service'] -%> | ||
describe google_compute_v1_network_edge_security_services() do | ||
it { should exist } | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters