Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
95f97fd
Marked google_compute_router_peer.peer_ip_address as default from api…
melinath Jul 7, 2023
b433f1d
Add issue labeler tool (#8269)
trodge Jul 7, 2023
6349dc3
Bigquery table - object table arg (#7128)
DrFaust92 Jul 7, 2023
222ff03
Promote cloudbuildv2_connection and cloudbuildv2_repository to GA (#8…
vicpadilla Jul 7, 2023
469d18c
feat: add google_gkeonprem_bare_metal_admin_cluster resource (#8142)
naitianliu-google Jul 7, 2023
21af8e9
Update Subnetwork.yaml (#8282)
mike-callahan Jul 7, 2023
ef3df4c
Add issuanceConfig property to managed certificates (#8276)
Hamzawy63 Jul 8, 2023
11c2ebe
Update use-built-provider.md (#8292)
SarahFrench Jul 10, 2023
33c482d
Promote fleet observability feature in GKE Hub to GA (#8268)
JeffLuoo Jul 10, 2023
936ca4a
add deletion policy documentation (#8286)
NexusNull Jul 10, 2023
5405da5
fix osconfig validation func issue (#8274)
zzzzzsy Jul 10, 2023
0623e25
HTTP Keep-alive Timeout: Add httpKeepAliveTimeoutSec to GA provider (…
rostislavbobo Jul 10, 2023
93a3c7f
Removed melinath from onvacation (#8300)
melinath Jul 10, 2023
5879039
Bump address group ga (#8262)
felipegc Jul 10, 2023
2a680b6
fix VCR (#8295)
shuyama1 Jul 10, 2023
2416bca
feat(vertexai): Add `ignore_read: true` to `featureNormType` because …
shotarok Jul 10, 2023
efb6879
Bump swp to ga (#8279)
felipegc Jul 10, 2023
c5e12b3
added review a PR guide (#8258)
shuyama1 Jul 10, 2023
693b209
Check for VcrTest being a selector expression (#8280)
trodge Jul 10, 2023
4803ab1
fix %{random_suffix} in docs -8 (#8041)
edwardmedia Jul 10, 2023
f745759
Add storage_billing_model for BigQuery datasets (#7615)
LucaPrete Jul 10, 2023
45abda4
Added Edition field in settings block of sql_database_instance (#8277)
ibhaskar2 Jul 11, 2023
fe1852c
Add support for ResourceRefs attaching to arbitrary types and referen…
NickElliot Jul 11, 2023
8c255bc
TC config - splitting test configuration out by service (#8254)
megan07 Jul 11, 2023
af4e3e9
Support TPU Topology field for 1VM TPU (#8271)
vivianrwu Jul 11, 2023
a7d9e84
make monitoring_config enable_components optional (#8299)
edwardmedia Jul 11, 2023
82a0eae
fix import error for orgpolicy (#8291)
edwardmedia Jul 11, 2023
65c18be
feat(vertexai): support `shard_size` in `google_vertex_ai_index` (#8293)
shotarok Jul 11, 2023
22d64b8
compute_external_vpn_gateway - allow updating labels (#8297)
DrFaust92 Jul 11, 2023
8dee3a4
Add forward/review label (#8313)
trodge Jul 11, 2023
11a776e
Corrected GOOGLE_USE_DEFAULT_CREDENTIALS value (#8319)
melinath Jul 11, 2023
586acd9
Add legacy long form project (#8320)
trodge Jul 11, 2023
aca19ad
add sample for deploy parameters (#8311)
linjingsde Jul 12, 2023
4a07f3d
Promote google_dns_response_policy & google_dns_response_policy_rule …
gleichda Jul 12, 2023
36cf9b5
Add Looker quota to infra page (#8312)
rileykarson Jul 12, 2023
5305765
chore: remove unused doc region tags (#8321)
averikitsch Jul 12, 2023
724b379
Excluded IAM tests from quickstart (#8318)
melinath Jul 12, 2023
652ebb7
feat: add bigtable change stream retention (#8302)
tonytanger Jul 12, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 22 additions & 19 deletions .ci/containers/gcb-terraform-vcr-tester/test_terraform_vcr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ while [[ -n $TESTS_TERMINATED ]]; do
gsutil -h "Content-Type:text/plain" -q cp replaying_test$test_suffix.log gs://ci-vcr-logs/beta/refs/heads/auto-pr-$pr_number/artifacts/$build_id/build-log/

if [[ $counter -gt 3 ]]; then
comment="Failed to run VCR tests in REPLAYING mode${NEWLINE}"
comment="$\textcolor{red}{\textsf{Failed to run VCR tests in REPLAYING mode}}$ ${NEWLINE}"
comment+="View the [build log](https://storage.cloud.google.com/ci-vcr-logs/beta/refs/heads/auto-pr-$pr_number/artifacts/$build_id/build-log/replaying_test$test_suffix.log)${NEWLINE}"
comment+="If you believe the error is unrelated to your PR, please rerun the tests"
add_comment "${comment}"
Expand Down Expand Up @@ -128,8 +128,8 @@ gsutil -h "Content-Type:text/plain" -m -q cp testlog/replaying/* gs://ci-vcr-log
TESTS_PANIC=$(grep "^panic: " replaying_test$test_suffix.log)

if [[ -n $TESTS_PANIC ]]; then
comment="The provider crashed while running the VCR tests in REPLAYING mode${NEWLINE}"
comment+="Please fix it to complete your PR${NEWLINE}"
comment="$\textcolor{red}{\textsf{The provider crashed while running the VCR tests in REPLAYING mode}}$ ${NEWLINE}"
comment+="$\textcolor{red}{\textsf{Please fix it to complete your PR}}$ ${NEWLINE}"
comment+="View the [build log](https://storage.cloud.google.com/ci-vcr-logs/beta/refs/heads/auto-pr-$pr_number/artifacts/$build_id/build-log/replaying_test$test_suffix.log)"
add_comment "${comment}"
update_status "failure"
Expand Down Expand Up @@ -181,7 +181,7 @@ if [[ -n $FAILED_TESTS_PATTERN ]]; then
export VCR_MODE=RECORDING
FAILED_TESTS=$(grep "^--- FAIL: TestAcc" replaying_test$test_suffix.log | awk '{print $3}')
# test_exit_code=0
parallel --jobs 16 TF_LOG=DEBUG TF_LOG_PATH_MASK=$local_path/testlog/recording/%s.log TF_ACC=1 TF_SCHEMA_PANIC_ON_ERROR=1 go test $GOOGLE_TEST_DIRECTORY -parallel 1 -v -run="{}$" -timeout 240m -ldflags="-X=github.com/hashicorp/terraform-provider-google-beta/version.ProviderVersion=acc" ">" testlog/recording_build/{}_recording_test.log ::: $FAILED_TESTS
parallel --jobs 16 TF_LOG=DEBUG TF_LOG_PATH_MASK=$local_path/testlog/recording/%s.log TF_ACC=1 TF_SCHEMA_PANIC_ON_ERROR=1 go test {1} -parallel 1 -v -run="{2}$" -timeout 240m -ldflags="-X=github.com/hashicorp/terraform-provider-google-beta/version.ProviderVersion=acc" ">>" testlog/recording_build/{2}_recording_test.log ::: $GOOGLE_TEST_DIRECTORY ::: $FAILED_TESTS

test_exit_code=$?

Expand All @@ -208,8 +208,9 @@ if [[ -n $FAILED_TESTS_PATTERN ]]; then
RECORDING_TESTS_PANIC=$(grep "^panic: " recording_test.log)

if [[ -n $RECORDING_TESTS_PANIC ]]; then
comment="The provider crashed while running the VCR tests in RECORDING mode${NEWLINE}"
comment+="Please fix it to complete your PR${NEWLINE}"

comment="$\textcolor{red}{\textsf{The provider crashed while running the VCR tests in RECORDING mode}}$ ${NEWLINE}"
comment+="$\textcolor{red}{\textsf{Please fix it to complete your PR}}$ ${NEWLINE}"
comment+="View the [build log](https://storage.cloud.google.com/ci-vcr-logs/beta/refs/heads/auto-pr-$pr_number/artifacts/$build_id/build-log/recording_test.log)"
add_comment "${comment}"
update_status "failure"
Expand All @@ -225,16 +226,16 @@ if [[ -n $FAILED_TESTS_PATTERN ]]; then
RECORDING_PASSED_TESTS_COUNT=0
RECORDING_FAILED_TESTS_COUNT=0
if [[ -n $RECORDING_PASSED_TESTS ]]; then
comment+="Tests passed during RECORDING mode:${NEWLINE} $RECORDING_PASSED_TESTS ${NEWLINE}${NEWLINE}"
comment+="$\textcolor{green}{\textsf{Tests passed during RECORDING mode:}}$ ${NEWLINE} $RECORDING_PASSED_TESTS ${NEWLINE}${NEWLINE}"
RECORDING_PASSED_TESTS_COUNT=$(echo "$RECORDING_PASSED_TESTS" | wc -l)
comment+="##### Rerun these tests in REPLAYING mode to catch issues ${NEWLINE}${NEWLINE}"

# Rerun passed tests in REPLAYING mode 3 times to catch issues
export VCR_MODE=REPLAYING
count=3
parallel --jobs 16 TF_LOG=DEBUG TF_LOG_PATH_MASK=$local_path/testlog/replaying_after_recording/%s.log TF_ACC=1 TF_SCHEMA_PANIC_ON_ERROR=1 go test $GOOGLE_TEST_DIRECTORY -parallel 1 -count=$count -v -run="{}$" -timeout 120m -ldflags="-X=github.com/hashicorp/terraform-provider-google-beta/version.ProviderVersion=acc" ">" testlog/replaying_build_after_recording/{}_replaying_test.log ::: $RECORDING_PASSED_TEST_LIST
parallel --jobs 16 TF_LOG=DEBUG TF_LOG_PATH_MASK=$local_path/testlog/replaying_after_recording/%s.log TF_ACC=1 TF_SCHEMA_PANIC_ON_ERROR=1 go test {1} -parallel 1 -count=$count -v -run="{2}$" -timeout 120m -ldflags="-X=github.com/hashicorp/terraform-provider-google-beta/version.ProviderVersion=acc" ">>" testlog/replaying_build_after_recording/{2}_replaying_test.log ::: $GOOGLE_TEST_DIRECTORY ::: $RECORDING_PASSED_TEST_LIST

test_exit_code=$?
test_exit_code=$(($test_exit_code || $?))

# Concatenate recording build logs to one file
for test in $RECORDING_PASSED_TEST_LIST
Expand All @@ -250,11 +251,11 @@ if [[ -n $FAILED_TESTS_PATTERN ]]; then

REPLAYING_FAILED_TESTS=$(grep "^--- FAIL: TestAcc" replaying_build_after_recording.log | sort -u -t' ' -k3,3 | awk -v pr_number=$pr_number -v build_id=$build_id '{print "`"$3"`[[Error message](https://storage.cloud.google.com/ci-vcr-logs/beta/refs/heads/auto-pr-"pr_number"/artifacts/"build_id"/build-log/replaying_build_after_recording/"$3"_replaying_test.log)] [[Debug log](https://storage.cloud.google.com/ci-vcr-logs/beta/refs/heads/auto-pr-"pr_number"/artifacts/"build_id"/replaying_after_recording/"$3".log)]"}')
if [[ -n $REPLAYING_FAILED_TESTS ]]; then
comment+="Tests failed when rerunning REPLAYING mode:${NEWLINE} $REPLAYING_FAILED_TESTS ${NEWLINE}${NEWLINE}"
comment+="$\textcolor{red}{\textsf{Tests failed when rerunning REPLAYING mode:}}$ ${NEWLINE} $REPLAYING_FAILED_TESTS ${NEWLINE}${NEWLINE}"
comment+="Tests failed due to non-determinism or randomness when the VCR replayed the response after the HTTP request was made.${NEWLINE}${NEWLINE}"
comment+="Please fix these to complete your PR. If you do not know how VCR tests work, please work with the code reviewer to figure out the reason why the tests failed and fix the tests.${NEWLINE}"
comment+="Please fix these to complete your PR. If you believe these test failures to be incorrect or unrelated to your change, or if you have any questions, please raise the concern with your reviewer.${NEWLINE}"
else
comment+="All tests passed after rerunning REPLAYING mode.${NEWLINE}"
comment+="$\textcolor{green}{\textsf{No issues found for passed tests after REPLAYING rerun.}}$ ${NEWLINE}"
fi
comment+="${NEWLINE}---${NEWLINE}"

Expand All @@ -264,18 +265,20 @@ if [[ -n $FAILED_TESTS_PATTERN ]]; then
fi

if [[ -n $RECORDING_FAILED_TESTS ]]; then
comment+="Tests failed during RECORDING mode:${NEWLINE} $RECORDING_FAILED_TESTS ${NEWLINE}${NEWLINE}"
comment+="$\textcolor{red}{\textsf{Tests failed during RECORDING mode:}}$ ${NEWLINE} $RECORDING_FAILED_TESTS ${NEWLINE}${NEWLINE}"
RECORDING_FAILED_TESTS_COUNT=$(echo "$RECORDING_FAILED_TESTS" | wc -l)
if [[ $RECORDING_PASSED_TESTS_COUNT+$RECORDING_FAILED_TESTS_COUNT -lt $FAILED_TESTS_COUNT ]]; then
comment+="Several tests got terminated during RECORDING mode.${NEWLINE}"
comment+="$\textcolor{red}{\textsf{Several tests got terminated during RECORDING mode.}}$ ${NEWLINE}"
fi
comment+="Please fix these to complete your PR${NEWLINE}"
comment+="$\textcolor{red}{\textsf{Please fix these to complete your PR.}}$ ${NEWLINE}"
else
if [[ $RECORDING_PASSED_TESTS_COUNT+$RECORDING_FAILED_TESTS_COUNT -lt $FAILED_TESTS_COUNT ]]; then
comment+="Several tests got terminated during RECORDING mode.${NEWLINE}"
comment+="$\textcolor{red}{\textsf{Several tests got terminated during RECORDING mode.}}$ ${NEWLINE}"
elif [[ $test_exit_code -ne 0 ]]; then
# check for any uncaught errors in RECORDING mode
comment+="Errors occurred during RECORDING mode. Please fix them to complete your PR${NEWLINE}"
comment+="$\textcolor{red}{\textsf{Errors occurred during RECORDING mode. Please fix them to complete your PR.}}$ ${NEWLINE}"
else
comment+="$\textcolor{green}{\textsf{All tests passed!}} ${NEWLINE}"
fi
fi

Expand All @@ -285,9 +288,9 @@ if [[ -n $FAILED_TESTS_PATTERN ]]; then
else
if [[ $test_exit_code -ne 0 ]]; then
# check for any uncaught errors errors in REPLAYING mode
comment+="Errors occurred during REPLAYING mode. Please fix them to complete your PR${NEWLINE}"
comment+="$\textcolor{red}{\textsf{Errors occurred during REPLAYING mode. Please fix them to complete your PR}}$ ${NEWLINE}"
else
comment+="All tests passed in REPLAYING mode${NEWLINE}"
comment+="$\textcolor{green}{\textsf{All tests passed in REPLAYING mode.}}$ ${NEWLINE}"
fi
comment+="View the [build log](https://storage.cloud.google.com/ci-vcr-logs/beta/refs/heads/auto-pr-$pr_number/artifacts/$build_id/build-log/replaying_test$test_suffix.log)"
add_comment "${comment}"
Expand Down
2 changes: 1 addition & 1 deletion .ci/containers/membership-checker/membership.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var (
trustedContributors = []string{}

// This is for reviewers who are "on vacation": will not receive new review assignments but will still receive re-requests for assigned PRs.
onVacationReviewers = []string{"melinath"}
onVacationReviewers = []string{}
)

// Check if a user is team member to not request a random reviewer
Expand Down
1 change: 1 addition & 0 deletions .ci/infra/terraform/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,4 @@ Quotas that will need to be adjusted to support all tests:
- Cloud Workstation cluster quota in `us-central1`
- VMWare Engine nodes per region in `southamerica-west1`
- VMWare Engine nodes across regions
- Looker `EnterpriseSubscriptionInstancesPerProjectPerRegion`. This must be requested manually from their team, and can't be self-served in the Cloud Console.
45 changes: 45 additions & 0 deletions docs/content/contribute/review-pr.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
---
title: "Review a PR"
weight: 11
---

# Review a PR

This page provides guidelines for reviewing Magic Modules pull requests

1. Read the PR description to understand the context and ensure the PR either
* is linked to a GitHub issue or an internal bug
* if not, check the [issue tracker](https://github.com/hashicorp/terraform-provider-google/issues) to see whether the feature has already been requested and add the issues in the description, if any.
* establishes clear context itself via title or description.
2. If the PR adds any new resource, ensure that the resource does not already exists in the [GA provider](https://github.com/hashicorp/terraform-provider-google) or [beta provider](https://github.com/hashicorp/terraform-provider-google-beta)
1. Read through all the changes in the PR, generated code in the downstreams and the API documentation to ensure that:
1. the resource schema added in the PR matches the API structure.
1. the features are added in the correct version
* features only available in beta are not included in the GA google provider.
* features added to the GA provider are also included in the beta provider -- beta should be a strict superset of GA.
1. no [breaking changes]({{< ref "/develop/breaking-changes" >}}) are introduced without a valid justification.
1. verify the change actually resolves the linked issues, if any.
1. Check the tests added/modified to ensure that:
1. all fields added/updated in the PR appear in at least one test.
* It is advisable to test updating from a non-zero value to a zero value if feasible.
1. all mutable fields are tested in at least one update test.
1. all related tests pass in GA for features promoted from beta to GA.
{{< hint info >}}Note:
Presubmit VCR tests do not run in GA. Manual testing is required for promoted GA features.
{{< /hint >}}
1. newly added or modified diff suppress functions are tested in at least one unit test.
1. the linked issue (if any) is covered by at least one test that reproduces the issue
* for example - a bugfix should test the bug (or explain why it's not feasible to do so in the description) and an enhancement should test the new behaviour(s).
1. all related PR presubmit tests have been completed successfully, including:
* terraform-provider-breaking-change-test
* presubmit-rake-tests
* terraform-provider-google-build-and-unit-tests
* terraform-provider-google-beta-build-and-unit-tests
* VCR-test
{{< hint info >}}Note:
Some acceptance tests may be skipped in VCR and manual testing is required.
{{< /hint >}}
1. Check documentation to ensure
1. resouce-level and field-level documentation are generated correctly for MMv1-based resource
1. documentation is added manually for handwritten resources.
1. Check if release notes capture all changes in the PR, and are correctly formatted following the guidance in [write release notes]({{< ref "release-notes" >}}) before merge the PR.
6 changes: 3 additions & 3 deletions docs/content/get-started/generate-providers.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ If you are familiar with Docker or Podman, you may want to use the experimental
1. Set up application default credentials for Terraform
```bash
gcloud auth application-default login
export GOOGLE_USE_DEFAULT_CREDENTIALS=TRUE
export GOOGLE_USE_DEFAULT_CREDENTIALS=true
```
1. Set required environment variables
```bash
Expand Down Expand Up @@ -162,9 +162,9 @@ If you are familiar with Docker or Podman, you may want to use the experimental

```bash
cd $GOPATH/src/github.com/hashicorp/terraform-provider-google
make testacc TEST=./google TESTARGS='-run=TestAccPubsubTopic'
make testacc TEST=./google TESTARGS='-run=TestAccPubsubTopic_'
cd $GOPATH/src/github.com/hashicorp/terraform-provider-google-beta
make testacc TEST=./google-beta TESTARGS='-run=TestAccPubsubTopic'
make testacc TEST=./google-beta TESTARGS='-run=TestAccPubsubTopic_'
```

## Troubleshoot
Expand Down
6 changes: 3 additions & 3 deletions docs/content/get-started/use-built-provider.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,14 +143,14 @@ make build

To make Terraform use the configuration file you created, you need to set the `TF_CLI_CONFIG_FILE` environment variable to be a string containing the path to the configuration file ([see the documentation here](https://developer.hashicorp.com/terraform/cli/config/environment-variables#tf_cli_config_file)). The path can be either a relative or absolute path.

Assuming that a configuration file was created at `~/tf-dev-override.tfrc`, you can either export the environment variable or set it explicitly for each `terraform` command:
Assuming that a configuration file was created at `~/tf-dev-override.tfrc`, you can either export the environment variable or set it explicitly for each `terraform` command. Note that you need to use the full path:

```bash
# either export the environment variable for your session
export TF_CLI_CONFIG_FILE="~/tf-dev-override.tfrc"
export TF_CLI_CONFIG_FILE="/Users/MyUserName/tf-dev-override.tfrc"

# OR, set the environment variable value per command
TF_CLI_CONFIG_FILE="~/tf-dev-override.tfrc" terraform plan
TF_CLI_CONFIG_FILE="/Users/MyUserName/tf-dev-override.tfrc" terraform plan
```

To check that the developer override is working, run a `terraform plan` command and look for a warning near the start of the terminal output that looks like the example below. It is not necessary to run the terraform init command to use development overrides.
Expand Down
11 changes: 2 additions & 9 deletions mmv1/api/type.rb
Original file line number Diff line number Diff line change
Expand Up @@ -655,21 +655,18 @@ def validate
# TODO: (camthornton) product reference may not exist yet
return if @__resource.__product.nil?

check_resource_ref_exists
check_resource_ref_property_exists
end

def property
props = resource_ref.all_user_properties
.select { |prop| prop.name == @imports }
return props.first unless props.empty?
raise "#{@imports} does not exist on #{@resource}" if props.empty?
end

def resource_ref
product = @__resource.__product
resources = product.objects.select { |obj| obj.name == @resource }
raise "Unknown item type '#{@resource}'" if resources.empty?

resources[0]
end
Expand All @@ -683,13 +680,9 @@ def property_class

private

def check_resource_ref_exists
product = @__resource.__product
resources = product.objects.select { |obj| obj.name == @resource }
raise "Missing '#{@resource}'" if resources.empty?
end

def check_resource_ref_property_exists
return unless defined?(resource_ref.all_user_properties)

exported_props = resource_ref.all_user_properties
exported_props << Api::Type::String.new('selfLink') \
if resource_ref.has_self_link
Expand Down
9 changes: 9 additions & 0 deletions mmv1/products/bigquery/Dataset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -356,3 +356,12 @@ properties:
- 'und:ci': undetermined locale, case insensitive.
- '': empty string. Default to case-sensitive behavior.
default_from_api: true
- !ruby/object:Api::Type::String
name: 'storageBillingModel'
description: |
Specifies the storage billing model for the dataset.
Set this flag value to LOGICAL to use logical bytes for storage billing,
or to PHYSICAL to use physical bytes instead.

LOGICAL is the default if this flag isn't specified.
default_from_api: true
23 changes: 21 additions & 2 deletions mmv1/products/certificatemanager/Certificate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,21 @@ schema_version: 1
state_upgraders: true
examples:
- !ruby/object:Provider::Terraform::Examples
name: 'certificate_manager_google_managed_certificate'
name: 'certificate_manager_google_managed_certificate_dns'
primary_resource_id: 'default'
vars:
dns_auth_name: 'dns-auth'
dns_auth_subdomain: 'subdomain'
dns_auth_name2: 'dns-auth2'
dns_auth_subdomain2: 'subdomain2'
cert_name: 'dns-cert'
- !ruby/object:Provider::Terraform::Examples
name: 'certificate_manager_google_managed_certificate_issuance_config'
primary_resource_id: 'default'
vars:
cert_name: 'issuance-config-cert'
ca_name: 'my-ca'
pool_name: 'my-ca-pool'
- !ruby/object:Provider::Terraform::Examples
name: 'certificate_manager_self_managed_certificate'
primary_resource_id: 'default'
Expand Down Expand Up @@ -178,9 +185,21 @@ properties:
name: dnsAuthorizations
immutable: true
description: |
Authorizations that will be used for performing domain authorization
Authorizations that will be used for performing domain authorization. Either issuanceConfig or dnsAuthorizations should be specificed, but not both.
diff_suppress_func: 'tpgresource.ProjectNumberDiffSuppress'
item_type: Api::Type::String
- !ruby/object:Api::Type::String
name: issuanceConfig
immutable: true
description: |
The resource name for a CertificateIssuanceConfig used to configure private PKI certificates in the format projects/*/locations/*/certificateIssuanceConfigs/*.
If this field is not set, the certificates will instead be publicly signed as documented at https://cloud.google.com/load-balancing/docs/ssl-certificates/google-managed-certs#caa.
Either issuanceConfig or dnsAuthorizations should be specificed, but not both.

# when the certificate is created with issuanceConfig in the format "projects/{{project_id}}/locations/global/certificateIssuanceConfigs/{{CICName}}", the
# format changes in the response message to "projects/{{project_number}}/locations/global/certificateIssuanceConfigs/{{CICName}}". That causes the tests to fail
# that's why "tpgresource.CompareResourceNames" is needed.
diff_suppress_func: 'tpgresource.CompareResourceNames'
- !ruby/object:Api::Type::String
name: 'state'
output: true
Expand Down
Loading