Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

zenika-open-source/terraform-azure-cli

Repository files navigation

lint-dockerfile build-test push-latest release

Update Docker Hub Description License Docker Pulls

Terraform and Azure CLI Docker image

📦 Supported tags and respective Dockerfile links

Available image tags can be found on the Docker Hub registry: zenika/terraform-azure-cli

Supported versions are listed in the supported_versions.json file in project root folder.

The following image tag strategy is applied:

  • zenika/terraform-azure-cli:latest - build from master
  • zenika/terraform-azure-cli:release-S.T_terraform-UU.VV.WW_azcli-XX.YY.ZZ - build from releases
    • release-S.T is the release tag
    • terraform-UU.VV.WWW is the included Terraform CLI version
    • azcli-XX.YY.ZZ is the included Azure CLI version

Please report to the releases page for the changelogs.

Any other tags are not supported even if available.

💡 Motivation

The goal is to create a minimalist and lightweight image with these tools in order to reduce network and storage impact.

This image gives you the flexibility to be used either for development or as a base image as you see fits.

🔧 What's inside ?

🚀 Usage

🐚 Launch the CLI

Simply launch the container and use the CLI as you would on any other platform, for instance using the latest image:

docker container run -it --rm --mount type=bind,source="$(pwd)",target=/workspace zenika/terraform-azure-cli:latest

The --rm flag will completely destroy the container and its data on exit.

⚙️ Build the image

You can build the image locally directly from the Dockerfile, using the build script.

It will :

# launch dev script using latest supported versions for both Azure and Terraform CLI
./dev.sh

Optionally, it is possible to choose the tools desired versions:

# Set desired tool versions
AZURE_CLI_VERSION=2.24.2
TERRAFORM_VERSION=0.15.5

# launch dev script with parameters
./dev.sh $AZURE_CLI_VERSION $TERRAFORM_VERSION

🙏 Roadmap & Contributions

Please refer to the github project to track new features.

Do not hesitate to contribute by filling an issue or opening a PR !

⬆️ Dependencies upgrades checklist

🚩 Similar repositories

📖 License

This project is under the Apache License 2.0

with love by zenika

Morty Proxy This is a proxified and sanitized view of the page, visit original site.