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.
Automatically generated by magic modules for service: apigee and reso…
…urce: Organizations__apis__revision. This commit includes the following changes: - Singular Resource ERB File - Plural Resource ERB File - Terraform configuration - api.yaml configuration for product apigee and resource Organizations__apis__revision Signed-off-by: Samir Anand <[email protected]>
- Loading branch information
1 parent
dfff5d9
commit d8c4d42
Showing
5 changed files
with
70 additions
and
0 deletions.
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
12 changes: 12 additions & 0 deletions
12
...mples/google_apigee_organization_api_revision/google_apigee_organization_api_revision.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,12 @@ | ||
<% gcp_project_id = "#{external_attribute(pwd, 'gcp_project_id', doc_generation)}" -%> | ||
<% organization_api_revision = grab_attributes(pwd)['organization_api_revision'] -%> | ||
describe google_apigee_organization_api_revision(name: <%= doc_generation ? "' #{organization_api_revision['name']}'":"organization_api_revision['name']" -%>) do | ||
it { should exist } | ||
its('content_type') { should cmp <%= doc_generation ? "'#{organization_api_revision['content_type']}'" : "organization_api_revision['content_type']" -%> } | ||
its('data') { should cmp <%= doc_generation ? "'#{organization_api_revision['data']}'" : "organization_api_revision['data']" -%> } | ||
|
||
end | ||
|
||
describe google_apigee_organization_api_revision(name: "does_not_exit") do | ||
it { should_not exist } | ||
end |
3 changes: 3 additions & 0 deletions
3
...e_apigee_organization_api_revision/google_apigee_organization_api_revision_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.') | ||
|
||
organization_api_revision = input('organization_api_revision', value: <%= JSON.pretty_generate(grab_attributes(pwd)['organization_api_revision']) -%>, description: 'organization_api_revision description') |
5 changes: 5 additions & 0 deletions
5
...ples/google_apigee_organization_api_revision/google_apigee_organization_api_revisions.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)}" -%> | ||
<% organization_api_revision = grab_attributes(pwd)['organization_api_revision'] -%> | ||
describe google_apigee_organization_api_revisions() 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