Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
zli82016 committed Nov 21, 2024
1 parent 1a5380a commit 52b9e4d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions mmv1/products/oracledatabase/AutonomousDatabase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,15 @@ examples:
autonomous_database_id: 'my-instance'
test_vars_overrides:
'project': '"oci-terraform-testing"'
'autonomous_database_id': '"my-adb-instance-id"'
'autonomous_database_id': '"tf-test-my-adb-instance-id" + acctest.RandString(t, 10)'
- name: 'oracledatabase_autonomous_database_full'
primary_resource_id: 'myADB'
vars:
project: 'my-project'
autonomous_database_id: 'my-instance'
test_vars_overrides:
'project': '"oci-terraform-testing"'
'autonomous_database_id': '"my-adb-instance-id-2"'
'autonomous_database_id': '"tf-test-my-adb-instance-id-2" + acctest.RandString(t, 10)'
parameters:
- name: 'location'
type: String
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ resource "google_oracle_database_autonomous_database" "{{$.PrimaryResourceId}}"{
autonomous_database_id = "{{index $.Vars "autonomous_database_id"}}"
location = "us-east4"
project = "{{index $.Vars "project"}}"
database = "testdb"
database = "{{index $.Vars "autonomous_database_id"}}"
admin_password = "123Abpassword"
network = data.google_compute_network.default.id
cidr = "10.5.0.0/24"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ resource "google_oracle_database_autonomous_database" "{{$.PrimaryResourceId}}"{
location = "us-east4"
project = "{{index $.Vars "project"}}"
display_name = "autonomousDatabase displayname"
database = "testdatabase"
database = "{{index $.Vars "autonomous_database_id"}}"
admin_password = "123Abpassword"
network = data.google_compute_network.default.id
cidr = "10.5.0.0/24"
Expand Down

0 comments on commit 52b9e4d

Please sign in to comment.