Git Product home page Git Product logo

terraform-azurerm-acr's Introduction

terraform-azurerm-acr

Terraform module for AzureRM ACR. This module validates the name according to Azure resource naming restrictions.

Releases

  • 1.0.0

Usage

provider "azurerm" {
  features {}
}

module "rg" {
  source  = "bcochofel/resource-group/azurerm"
  version = "1.4.0"

  name     = "rg-acr-basic-example"
  location = "North Europe"
}

module "acr" {
  source = "../.."

  name                = "acrbasicexample"
  resource_group_name = module.rg.name

  sku           = "Basic"
  admin_enabled = false

  depends_on = [module.rg]
}

Requirements

Name Version
terraform >= 0.13.0
azurerm >= 2.41.0

Providers

Name Version
azurerm >= 2.41.0

Modules

No Modules.

Resources

Name
azurerm_container_registry
azurerm_resource_group

Inputs

Name Description Type Default Required
admin_enabled Specifies whether the admin user is enabled. bool true no
georeplication_locations A list of Azure locations where the container registry should be geo-replicated
(sku must be Premium).
list(string) [] no
name Specifies the name of the Container Registry.
Changing this forces a new resource to be created.
string n/a yes
resource_group_name The name of the resource group in which to create the ACR.
The Resource Group must already exist.
string n/a yes
sku The SKU name of the container registry.
Possible values are Basic, Standard and Premium.
string "Premium" no
tags A mapping of tags which should be assigned to Resources. map(string) {} no

Outputs

Name Description
admin_password The Password associated with the Container Registry Admin
account - if the admin account is enabled.
admin_username The Username associated with the Container Registry Admin
account - if the admin account is enabled.
id ACR resource ID.
login_server The URL that can be used to log into the container registry.
name ACR resource name.
rg_name Resource Group name.

Run tests

cd test/
go test -v

pre-commit hooks

This repository uses pre-commit.

To install execute:

pre-commit install --install-hooks -t commit-msg

To run the hooks you need to install:

References

terraform-azurerm-acr's People

Contributors

bcochofel avatar niklasschuetz avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.