Łukasz Gąsior
  • Home
  • now!
  • Blog
  • Po polsku
  • contact
Social Links
Twitter
LinkedIn
Facebook
YouTube
Reddit
Instagram
GitHub
Medium
RSS
Łukasz Gąsior
  • Home
  • now!
  • Blog
  • Po polsku
  • contact
  • Azure Cloud

Azure ARM template, but it is not JSON!

  • 2020-09-15
  • One comment
  • 1 minute read
  • 475 views

Microsoft has recently released an experimental language for creating Azure ARM templates. It is called bicep.

Syntax on this new language is quite similar to Terraform – which means it is much more readable and developer-friendly:

param location string = 'eastus'
param name string = 'uniquestorage001' // must be globally unique

resource stg 'Microsoft.Storage/storageAccounts@2019-06-01' = {
    name: name
    location: location
    kind: 'Storage'
    sku: {
        name: 'Standard_LRS'
    }
}

Once you have created your bicep script you need to compile it:

bicep build main.bicep

… and as an outcome, you get your old, JSON ARM template 😀 which you are deploying like any other ARM template these days.

On twitter (and my other social media) I’m sharing interesting (in my opinion ;)) stuff about Cloud, DevOps, Software Development and Technical Leadership.

Here are some resources you can check to learn more about bicep:

  • GIT repository https://github.com/Azure/bicep
  • tutorial https://github.com/Azure/bicep/blob/master/docs/tutorial/01-simple-template.md
  • Intro to Project Bicep https://www.youtube.com/watch?v=GHLUVwDkRrQ
  • ARM Templates and Bicep Roadmap with Azure MVPs September 2020 – https://www.youtube.com/watch?v=-4E5DsC-RcU

What do you think about bicep? It is a good move from Microsoft to introduce a new syntax for ARM templates?

Do you like this post? Share it with your friends!
You can also subscribe to my RSS channel for future posts.

Share
Tweet
Share
Share
Previous Article
  • Azure Cloud

Passwordless connection string to Azure SQL database from .NET Core API

  • 2020-04-29
View Post
Next Article
  • Azure Cloud

Diagram Driven Cloud Infrastructure with Cloud Maker

  • 2020-09-22
View Post
You May Also Like
View Post
  • Azure Cloud

Azure Activity Log – Change History

  • 2020-09-29
View Post
  • Azure Cloud

Diagram Driven Cloud Infrastructure with Cloud Maker

  • 2020-09-22
View Post
  • Azure Cloud

Passwordless connection string to Azure SQL database from .NET Core API

  • 2020-04-29
View Post
  • Azure Cloud

Prepare to AZ-203 (Azure Developer) for free

  • 2019-11-05
View Post
  • Azure Cloud

How to learn Azure with a free Sandbox subscription?

  • 2019-10-27
1 comment
  1. Pingback: dotnetomaniak.pl

Comments are closed.

click & help!
Nakarm dziecko!
Follow me
RESHARPER ESSENTIALS
ReSharper Essentials
CODINGTV();
codingtv();
Twitter Feed
avatar
Lukasz Gasior
@lukaszgasior
142 Following
621 Followers
RT @7d1: Today I was asked by a dean of a university what’s missing in comp sci programme. I said soft skills and teaching business link. W…
107 days ago
  • Reply
  • 1 Retweet
  • Favorite
Follow
Categories
  • Azure Cloud (6)
  • Po polsku (104)
  • Windows (1)
Featured Posts
  • Azure Activity Log – Change History
    • 2020-09-29
  • Diagram Driven Cloud Infrastructure with Cloud Maker
    • 2020-09-22
  • Azure ARM template, but it is not JSON!
    • 2020-09-15
About
👍 Cloud | DevOps | Development | Technical Leadership | 📗Author of "ReSharper Essentials
© 2019 Łukasz Gąsior. All rights reserved.
hosted with ♥️ on webio | Polityka prywatności

Input your search keywords and press Enter.