Skip to main content

Taking Infrastructure As Code to the next level

Project description

cloudicorn_azurerm

Installs addons for handling azurerm backend components.

setting up credentials

Once you have installed and authenticated to your azure cli, create a service principal following these instructions

You will get a result something like this:

{
  "appId": "00000000-0000-0000-0000-000000000000",
  "displayName": "azure-cli-2017-06-05-10-41-15",
  "name": "http://azure-cli-2017-06-05-10-41-15",
  "password": "0000-0000-0000-0000-000000000000",
  "tenant": "00000000-0000-0000-0000-000000000000"
}

Save them to environment variables (see .envrc.tpl)

value env var
appId AZURE_CLIENT_ID
password AZURE_CLIENT_SECRET
tenant AZURE_TENANT_ID

You'll also need to set AZURE_SUBSCRIPTION_ID

running tests

Create a storage account and container that the above service principal can write to

make test Uses terraform modules in https://github.com/jumidev/cloudicorn-testmodules-azure

  • runs a set of components

testing with opentofu instead of terraform

opentofu can now be used as a drop in replacement for terraform and can be tested independently of terraform. You'll need to enable the opentofu extension in the test virtual env by running. make enable_opentofu

Be sure to also run cloudicorn_setup and install opentofu from the main menu. Confirm this extension is installed by running make setup. You should see a message at the bottom

opentofu installed and up to date

Once it is installed, run make test as you would normally

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cloudicorn-azurerm-0.10.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cloudicorn_azurerm-0.10-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file cloudicorn-azurerm-0.10.tar.gz.

File metadata

  • Download URL: cloudicorn-azurerm-0.10.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for cloudicorn-azurerm-0.10.tar.gz
Algorithm Hash digest
SHA256 7c796cc311c93d3a7320ac4a8d743a084223a4c0f43dc9523539ec9d15356094
MD5 4a2e5e331e4cc73b8bac7f4a3d1a5eb8
BLAKE2b-256 2a40b4c195bb0f98ed457b59184fc88aba438ebec7118dc5d6209bc87bb81d82

See more details on using hashes here.

File details

Details for the file cloudicorn_azurerm-0.10-py3-none-any.whl.

File metadata

File hashes

Hashes for cloudicorn_azurerm-0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 3aeecaaac31f4de0ecbeea2aee6325eccad8f76540539ec4008e610b47d8c5ee
MD5 9d49cac4e2d92203ebbac3a57ff55ae6
BLAKE2b-256 88ae820f2dbb85cf64595a24a72e6aaef600f2b3129ce51323710b66049c8b61

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page