Skip to content

Commit

Permalink
fix permadiff on google_identity_platform_config.authorized_domains (
Browse files Browse the repository at this point in the history
  • Loading branch information
shuyama1 authored and joelkattapuram committed Sep 20, 2023
1 parent 31215dd commit 8af6082
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
12 changes: 12 additions & 0 deletions mmv1/products/identityplatform/Config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,17 @@ examples:
# Set quota start time for the following day.
quota_start_time: 'time.Now().AddDate(0, 0, 1).Format(time.RFC3339)'
skip_vcr: true
- !ruby/object:Provider::Terraform::Examples
name: 'identity_platform_config_minimal'
primary_resource_id: 'default'
vars:
project_id: 'my-project-1'
test_env_vars:
org_id: :ORG_ID
billing_acct:
:BILLING_ACCT
skip_vcr: true
skip_docs: true
custom_code: !ruby/object:Provider::Terraform::CustomCode
custom_create: 'templates/terraform/custom_create/identity_platform_config.go'
properties:
Expand Down Expand Up @@ -129,3 +140,4 @@ properties:
description: |
List of domains authorized for OAuth redirects.
item_type: Api::Type::String
default_from_api: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
resource "google_project" "default" {
project_id = "<%= ctx[:vars]['project_id'] %>"
name = "<%= ctx[:vars]['project_id'] %>"
org_id = "<%= ctx[:test_env_vars]['org_id'] %>"
billing_account = "<%= ctx[:test_env_vars]['billing_acct'] -%>"
labels = {
firebase = "enabled"
}
}

resource "google_project_service" "identitytoolkit" {
project = google_project.default.project_id
service = "identitytoolkit.googleapis.com"
}


resource "google_identity_platform_config" "default" {
project = google_project.default.project_id
}

0 comments on commit 8af6082

Please sign in to comment.