GoogleCloudPlatform / terraform-google-artifact-registry

Create and manage Artifact Registry repositories
https://registry.terraform.io/modules/GoogleCloudPlatform/artifact-registry/google
Apache License 2.0
11 stars 9 forks source link

virtual_repository_config should be a map #11

Closed dpeterka closed 7 months ago

dpeterka commented 7 months ago

var is defined as an object and not map(object

having more than one upstream_policy is passed to null in the current setup.

  virtual_repository_config {
    upstream_policies {
      id         = "internal"
      repository = module.artifact_registry_npm.artifact_id
      priority   = 20
    }
    upstream_policies {
      id         = "remote"
      repository = module.artifact_registry_npm_remote.artifact_id
      priority   = 10
    }