Registry
Ensures that the Google Cloud Storage bucket that backs Google Container Registry exists. Creating this resource will create the backing bucket if it does not exist, or do nothing if the bucket already exists. Destroying this resource does NOT destroy the backing bucket. For more information see the official documentation This resource can be used to ensure that the GCS bucket exists prior to assigning permissions. For more information see the access control page for GCR.
Example Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.container.Registry;
import com.pulumi.gcp.container.RegistryArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var registry = new Registry("registry", RegistryArgs.builder()
.location("EU")
.project("my-project")
.build());
}
}
Content copied to clipboard
Import
This resource does not support import.
Properties
Link copied to clipboard
The URI of the created resource.
Link copied to clipboard
The location of the registry. One of ASIA
, EU
, US
or not specified. See the official documentation for more information on registry locations.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard