demo-terraform-azure
Demo Terraform by Hashicorp for Azure
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (9.6%) to scientific vocabulary
Repository
Demo Terraform by Hashicorp for Azure
Basic Info
- Host: GitHub
- Owner: joelparkerhenderson
- Language: HCL
- Default Branch: master
- Size: 8.79 KB
Statistics
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
Demo of Terraform by HashiCorp for Azure

Contents:
Azure setup
Get your Azure account
Get an Azure account, if you don't already have one:
Go to https://azure.microsoft.com/
Sign up.
Azure offers a free trial period; this is fine for this demo. When we did a free trial period, Azure required a credit card.
Azure offers Pay-As-You-Go signup; this is what we use. If you use Pay-As-You-Go, remember to delete resources when you're done with them.
Get Azure command line software (optional)
To install Azure CLI on macOS via brew:
sh
$ brew update && brew install azure-cli
To install Azure CLI via python pip:
sh
$ pip install azure --upgrade --user
Verify:
sh
$ az --version
azure-cli (2.0.33)
...
Get your Azure subscription id
Get your Azure subscription id:
Go to https://portal.azure.com
To see your subscription id, look on the web page left side icon column.
Click the item "Cost Management + Billing".
You see "Active subscriptions you've created" and a column "SUBSCRIPTION ID" column.
Make a note of your subscription id.
Sign in (optional)
To use the Azure CLI to sign in:
sh
$ az login
To sign in, use a web browser to open the page
https://microsoft.com/devicelogin and enter the
code NGYE5M41LJ18224T to authenticate.
Successful sign in will reply with JSON.
Example:
json
[
{
"cloudName": "AzureCloud",
"id": "244a3a0d-ff3b-b935-ecba-bc490ee73b1d",
"isDefault": true,
"name": "Pay-As-You-Go",
"state": "Enabled",
"tenantId": "e44cb508-53fa-edf5-93b1-9df17410e137",
"user": {
"name": "alice@example.com",
"type": "user"
}
}
]
Terraform setup
Install
Use the Terraform install page.
- Go to https://www.terraform.io/intro/getting-started/install.html
Configure
Create a Terraform configuration file.
Our demo configuration file is demo.tf
Initialize
Initialize Terraform for the Azure Provider:
sh
$ terraform init
Initializing provider plugins...
- Checking for available provider plugins on https://releases.hashicorp.com...
- Downloading plugin for provider "azurerm" (1.21.0)...
...
Terraform has been successfully initialized!
Build
Use the Terraform build page.
- Go to https://www.terraform.io/intro/getting-started/build.html
Typical commands:
terraform planshows what will run.terraform applyruns it.terraform showprints the results file.
Plan
Plan example:
sh
$ terraform plan
Refreshing Terraform state in-memory prior to plan...
...
Terraform will perform the following actions:
...
Plan: 1 to add, 0 to change, 0 to destroy.
...
Congratulations
Congratulations, you're up and running!
Owner
- Name: Joel Parker Henderson
- Login: joelparkerhenderson
- Kind: user
- Location: California
- Website: http://www.joelparkerhenderson.com
- Repositories: 319
- Profile: https://github.com/joelparkerhenderson
Software developer. Technology consultant. Creator of GitAlias.com, NumCommand.com, SixArm.com, and many open source projects.
Citation (CITATION.cff)
cff-version: 1.2.0
title: Demo of Terraform by HashiCorp for Azure
message: >-
If you use this work and you want to cite it,
then you can use the metadata from this file.
type: software
authors:
- given-names: Joel Parker
family-names: Henderson
email: joel@joelparkerhenderson.com
affiliation: joelparkerhenderson.com
orcid: 'https://orcid.org/0009-0000-4681-282X'
identifiers:
- type: url
value: 'https://github.com/joelparkerhenderson/demo-terraform-azure/'
description: Demo of Terraform by HashiCorp for Azure
repository-code: 'https://github.com/joelparkerhenderson/demo-terraform-azure/'
abstract: >-
Demo of Terraform by HashiCorp for Azure
license: See license file
GitHub Events
Total
- Push event: 1
Last Year
- Push event: 1
Committers
Last synced: about 1 year ago
Top Committers
| Name | Commits | |
|---|---|---|
| Joel Parker Henderson | j****l@j****m | 7 |