A resource for creating and managing private container registries on the Vultr platform to store and distribute container images
Create and update a Vultr container registry.
Create a new container registry:
resource "vultr_container_registry" "vcr1" {
name = "examplecontainerregistry"
region = "sjc"
plan = "start_up"
public = false
}
The name
for container registries must be all lowercase and only contain alphanumeric characters.
The follow arguments are supported:
name
- (Required) The name for your container registry. Must be lowercase and only alphanumeric characters.region
- (Required) The region where your container registry will be deployed. See available regionsplan
- (Required) The billing plan for the container registry. See available planspublic
- (Required) Boolean indicating if the container registry should be created with public visibility or if it should require credentials.The following attributes are exported:
id
- The container registry ID.name
- The name of the container registry.plan
- The container registry plan.region
- The region in which the container registry is deployed.public
- Boolean indicating whether or not the requires login credentials.urn
- The URN of the container registry.storage
- A listing of current storage usage relevant to the container registry.root_user
- The user associated with the container registry.date_created
- A date-time denoting when the container registry was created.storage
used
- Amount of storage space used in gigabytes.allowed
- Amount of storage space available in gigabytes.root_user
id
- The ID of the root user.username
- The username used to login as the root user.password
- The password used to login as the root user.date_created
- A date-time of when the root user was created.date_modified
- A date-time of when the root user was last modified.
No comments yet.