Skip to content

Commit

Permalink
fix test arguments for oracledatabase_cloudexadatainfrastructure (Goo…
Browse files Browse the repository at this point in the history
  • Loading branch information
tulika-aakriti authored and BBBmau committed Nov 5, 2024
1 parent ff06f7e commit 722715e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions mmv1/products/oracledatabase/CloudExadataInfrastructure.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,18 @@ examples:
primary_resource_id: 'my-cloud-exadata'
vars:
project: 'my-project'
cloud_exadata_infrastructure_id: 'my-instance'
test_vars_overrides:
'project': '"oci-terraform-testing"'
'cloud_exadata_infrastructure_id': '"ofake-exadata-basic"'
- name: 'oracledatabase_cloud_exadata_infrastructure_full'
primary_resource_id: 'my-cloud-exadata'
vars:
project: 'my-project'
cloud_exadata_infrastructure_id: 'my-instance'
test_vars_overrides:
'project': '"oci-terraform-testing"'
'cloud_exadata_infrastructure_id': '"ofake-exadata-full"'
parameters:
- name: 'location'
type: String
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
resource "google_oracle_database_cloud_exadata_infrastructure" "{{$.PrimaryResourceId}}"{
display_name = "OFake exadata displayname"
cloud_exadata_infrastructure_id = "ofake-exadata"
cloud_exadata_infrastructure_id = "{{index $.Vars "cloud_exadata_infrastructure_id"}}"
display_name = "{{index $.Vars "cloud_exadata_infrastructure_id"}} displayname"
location = "us-east4"
project = "{{index $.Vars "project"}}"
properties {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
resource "google_oracle_database_cloud_exadata_infrastructure" "{{$.PrimaryResourceId}}"{
display_name = "OFake exadata displayname"
cloud_exadata_infrastructure_id = "ofake-exadata-id"
cloud_exadata_infrastructure_id = "{{index $.Vars "cloud_exadata_infrastructure_id"}}"
display_name = "{{index $.Vars "cloud_exadata_infrastructure_id"}} displayname"
location = "us-east4"
project = "{{index $.Vars "project"}}"
gcp_oracle_zone = "us-east4-b-r1"
Expand Down

0 comments on commit 722715e

Please sign in to comment.