# Copyright 2024 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

values:
  module.cas.google_privateca_ca_pool.default[0]:
    effective_labels:
      goog-terraform-provisioned: 'true'
    issuance_policy: []
    labels: null
    location: europe-west1
    name: test-ca
    project: project-id
    publishing_options: []
    terraform_labels:
      goog-terraform-provisioned: 'true'
    tier: DEVOPS
    timeouts: null
  module.cas.google_privateca_certificate_authority.default["root_ca"]:
    certificate_authority_id: root_ca
    config:
    - subject_config:
      - subject:
        - common_name: example.com
          country_code: null
          locality: null
          organization: Example
          organizational_unit: null
          postal_code: null
          province: null
          street_address: null
        subject_alt_name:
        - dns_names:
          - example.com
          email_addresses: null
          ip_addresses: null
          uris: null
      subject_key_id: []
      x509_config:
      - additional_extensions: []
        aia_ocsp_servers: null
        ca_options:
        - is_ca: true
          max_issuer_path_length: null
          non_ca: null
          zero_max_issuer_path_length: null
        key_usage:
        - base_key_usage:
          - cert_sign: true
            content_commitment: false
            crl_sign: true
            data_encipherment: false
            decipher_only: false
            digital_signature: false
            encipher_only: false
            key_agreement: false
            key_encipherment: true
          extended_key_usage:
          - client_auth: false
            code_signing: false
            email_protection: false
            ocsp_signing: false
            server_auth: true
            time_stamping: false
          unknown_extended_key_usages: []
        name_constraints: []
        policy_ids: []
    deletion_protection: true
    desired_state: null
    effective_labels:
      goog-terraform-provisioned: 'true'
    gcs_bucket: null
    ignore_active_certificates_on_deletion: false
    key_spec:
    - algorithm: RSA_PKCS1_2048_SHA256
      cloud_kms_key_version: null
    labels: null
    lifetime: 315360000s
    location: europe-west1
    pem_ca_certificate: null
    project: project-id
    skip_grace_period: true
    subordinate_config: []
    terraform_labels:
      goog-terraform-provisioned: 'true'
    timeouts: null
    type: SELF_SIGNED
    user_defined_access_urls: []
  module.certificate-manager.google_certificate_manager_certificate.certificates["cert-0"]:
    description: null
    effective_labels:
      goog-terraform-provisioned: 'true'
    labels: null
    location: global
    managed:
    - dns_authorizations: null
      domains:
      - cert-0.example.com
    name: cert-0
    project: project-id
    scope: null
    self_managed: []
    terraform_labels:
      goog-terraform-provisioned: 'true'
    timeouts: null
  module.certificate-manager.google_certificate_manager_certificate_issuance_config.default["config-0"]:
    certificate_authority_config:
    - certificate_authority_service_config:
      - {}
    description: null
    effective_labels:
      goog-terraform-provisioned: 'true'
    key_algorithm: ECDSA_P256
    labels: null
    lifetime: 1814400s
    location: global
    name: config-0
    project: project-id
    rotation_window_percentage: 34
    terraform_labels:
      goog-terraform-provisioned: 'true'
    timeouts: null
  module.certificate-manager.google_certificate_manager_certificate_map.map[0]:
    description: My certificate map
    effective_labels:
      goog-terraform-provisioned: 'true'
    labels: null
    name: my-certificate-map
    project: project-id
    terraform_labels:
      goog-terraform-provisioned: 'true'
    timeouts: null
  module.certificate-manager.google_certificate_manager_certificate_map_entry.entries["cert-0"]:
    description: null
    effective_labels:
      goog-terraform-provisioned: 'true'
    hostname: null
    labels: null
    map: my-certificate-map
    matcher: PRIMARY
    name: cert-0
    project: project-id
    terraform_labels:
      goog-terraform-provisioned: 'true'
    timeouts: null

counts:
  google_certificate_manager_certificate: 1
  google_certificate_manager_certificate_issuance_config: 1
  google_certificate_manager_certificate_map: 1
  google_certificate_manager_certificate_map_entry: 1
  google_privateca_ca_pool: 1
  google_privateca_certificate_authority: 1
  modules: 2
  resources: 6
