Skip to content

Commit

Permalink
Remove minimal example & pattern field
Browse files Browse the repository at this point in the history
  • Loading branch information
rainshen49 committed Feb 14, 2024
1 parent 5b8cba4 commit 0e22278
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 57 deletions.
17 changes: 0 additions & 17 deletions mmv1/products/firebaseappcheck/DeviceCheckConfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,22 +35,6 @@ import_format:
"{{app_id}}",
]
examples:
- !ruby/object:Provider::Terraform::Examples
name: "firebase_app_check_device_check_config_minimal"
# Need the time_sleep resource
pull_external: true
primary_resource_id: "default"
vars:
bundle_id: "bundle.id.devicecheck"
key_id: "Key ID"
private_key_path: "path/to/private-key.p8"
team_id: "9987654321"
test_vars_overrides:
# Don't add random suffix
private_key_path: '"test-fixtures/private-key.p8"'
team_id: '"9987654321"'
test_env_vars:
project_id: :PROJECT_NAME
- !ruby/object:Provider::Terraform::Examples
name: "firebase_app_check_device_check_config_full"
# Need the time_sleep resource
Expand Down Expand Up @@ -84,7 +68,6 @@ properties:
description: |
The relative resource name of the DeviceCheck configuration object
output: true
pattern: projects/{{project}}/apps/{{app_id}}/deviceCheckConfig
- !ruby/object:Api::Type::String
name: tokenTtl
description: |
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ func TestAccFirebaseAppCheckDeviceCheckConfig_firebaseAppCheckDeviceCheckConfigU
"project_id": envvar.GetTestProjectFromEnv(),
"team_id": "9987654321",
"private_key_path": "test-fixtures/private-key.p8",
"token_ttl": "3600s",
"token_ttl": "3900s",
"random_suffix": acctest.RandString(t, 10),
}

Expand All @@ -38,7 +38,7 @@ func TestAccFirebaseAppCheckDeviceCheckConfig_firebaseAppCheckDeviceCheckConfigU
},
Steps: []resource.TestStep{
{
Config: testAccFirebaseAppCheckDeviceCheckConfig_firebaseAppCheckDeviceCheckConfigMinimalExample(context),
Config: testAccFirebaseAppCheckDeviceCheckConfig_firebaseAppCheckDeviceCheckConfigFullExample(context),
},
{
ResourceName: "google_firebase_app_check_device_check_config.default",
Expand All @@ -55,15 +55,6 @@ func TestAccFirebaseAppCheckDeviceCheckConfig_firebaseAppCheckDeviceCheckConfigU
ImportStateVerify: true,
ImportStateVerifyIgnore: []string{"private_key", "app_id"},
},
{
Config: testAccFirebaseAppCheckDeviceCheckConfig_firebaseAppCheckDeviceCheckConfigMinimalExample(contextUpdated),
},
{
ResourceName: "google_firebase_app_check_device_check_config.default",
ImportState: true,
ImportStateVerify: true,
ImportStateVerifyIgnore: []string{"private_key", "app_id"},
},
},
})
}

0 comments on commit 0e22278

Please sign in to comment.