GoogleCloudPlatform / GoogleCloudPlatform/core-solution-services

No domain provided in 3-ingress-gke results in error

Open
#25 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
30
Forks
26
PR merge metrics
No merged PRs in 30d

Description

As mentioned in https://github.com/GoogleCloudPlatform/core-solution-services#add-a-http-load-balancer-with-dns-domain, DNS domain can be left blank.

However, providing no domain causes the subsequent apply (sb infra apply 3-gke-ingress) to fail with this error:

`
│ Error: Error creating ManagedSslCertificate: googleapi: Error 400: Invalid value for field 'resource.managed.domains[0]': 'None'. Invalid domain name specified., invalid

│   with module.ingress_gce.google_compute_managed_ssl_certificate.managed_certificate,
│   on ../../modules/ingress_gce/main.tf line 46, in resource "google_compute_managed_ssl_certificate" "managed_certificate":
│   46: resource "google_compute_managed_ssl_certificate" "managed_certificate" {


Error when running command:  terraform apply   (working_dir=./terraform/stages/3-gke-ingress)
`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.