Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conflicting configuration argument for net-lb-app-int #2760

Closed
krissQ-Q opened this issue Dec 11, 2024 · 2 comments · Fixed by #2764
Closed

Conflicting configuration argument for net-lb-app-int #2760

krissQ-Q opened this issue Dec 11, 2024 · 2 comments · Fixed by #2764
Labels
bug Something isn't working

Comments

@krissQ-Q
Copy link

Describe the bug
We are facing an issue that with the net-lb-app-int resource regarding the Certificate manager Certificate.

Expected behavior
Certificate handling works properly and not causing an error.

Result

When we are providing the Certificate Manager certificates to the module net-lb-app-int it fails with the following error message:

image

@ludoo
Copy link
Collaborator

ludoo commented Dec 11, 2024

Can you provide the module configuration here?

@krissQ-Q
Copy link
Author

Here is a reduced example of our module usage:

module "dt_net-lb-app-int" {
  source = "./fabric/modules/net-lb-app-int"
  name          = var.ilb-name
  project_id    = var.PROJECT_ID
  region        = var.region
  backend_service_configs = {
    default = {
      backends = [{
        group = "ccoe-example-neg"
      }]
      health_checks = []
    }
  }
  health_check_configs = {}
  neg_configs = {
    ccoe-example-neg = {
      cloudrun = {
        region = var.region
        target_service = {
          name = module.cloud_run.service_name
        }
      }
    }
  }
  vpc_config = {
    network    = var.network
    subnetwork = var.subnetwork
  }
  protocol = "HTTPS"
  https_proxy_config = {
    certificate_manager_certificates = [
      "projects/[PROJECT-ID]/locations/europe-west3/certificates/[CERTIFICATE]"
    ]
    ssl_policy = module.dt_ssl-policy.id
  }
} 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants