google_artifact_registry_vpcsc_config

The Artifact Registry VPC SC config that applies to a Project.

To get more information about VPCSCConfig, see:

resource "google_artifact_registry_vpcsc_config" "my-config" {
  provider      = google-beta
  location      = "us-central1"
  vpcsc_policy   = "ALLOW"
}

Argument Reference

The following arguments are supported:


Attributes Reference

In addition to the arguments listed above, the following computed attributes are exported:

Timeouts

This resource provides the following Timeouts configuration options:

Import

VPCSCConfig can be imported using any of these accepted formats:

In Terraform v1.5.0 and later, use an import block to import VPCSCConfig using one of the formats above. For example:

import {
  id = "projects/{{project}}/locations/{{location}}/vpcscConfig/{{name}}"
  to = google_artifact_registry_vpcsc_config.default
}

When using the terraform import command, VPCSCConfig can be imported using one of the formats above. For example:

$ terraform import google_artifact_registry_vpcsc_config.default projects/{{project}}/locations/{{location}}/vpcscConfig/{{name}}
$ terraform import google_artifact_registry_vpcsc_config.default {{project}}/{{location}}/{{name}}
$ terraform import google_artifact_registry_vpcsc_config.default {{location}}/{{name}}

User Project Overrides

This resource supports User Project Overrides.