{"id":2650,"date":"2022-07-24T11:05:08","date_gmt":"2022-07-24T16:05:08","guid":{"rendered":"https:\/\/www.ciraltos.com\/?p=2650"},"modified":"2023-03-23T05:02:16","modified_gmt":"2023-03-23T10:02:16","slug":"azure-devops-and-bicep-pipelines","status":"publish","type":"post","link":"https:\/\/www.ciraltos.com\/staging2\/azure-devops-and-bicep-pipelines\/","title":{"rendered":"Azure DevOps and Bicep Pipelines"},"content":{"rendered":"\n<figure class=\"wp-block-image alignleft size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"150\" height=\"150\" src=\"https:\/\/www.ciraltos.com\/wp-content\/uploads\/2022\/05\/DevOps.png\" alt=\"Azure DevOps\" class=\"wp-image-2574\"\/><\/figure>\n\n\n\n<p>In this video, we build on DevOps repos by creating an Azure DevOps pipeline that deploys Azure Bicep template files.&nbsp; We start by creating a service connection, allowing DevOps to deploy resources to Azure.&nbsp; Next, we create multiple pipeline jobs, splitting the deployment into two parts, or jobs, that run sequentially.&nbsp; One job deploys resources to Azure and the other removes the resources.&nbsp; A dependency is used to only run the second job if the first is successful.&nbsp; Azure Bicep files are used for this example.&nbsp; We review the modular deployment then create a parameters file to set configuration parameters for the deployment.<\/p>\n\n\n\n<!--more-->\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"ast-oembed-container\" style=\"height: 100%;\"><iframe loading=\"lazy\" title=\"Azure DevOps Pipelines and Bicep\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/Q2HZdwTAWG0?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe><\/div>\n<\/div><\/figure>\n\n\n\n<h2>Links:<\/h2>\n\n\n\n<p>Azure Bicep Playlist<br><a href=\"https:\/\/youtube.com\/playlist?list=PLnWpsLZNgHzUWIDWI0lWCTsS8wC9UaJho\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"https:\/\/youtube.com\/playlist?list=PLnWpsLZNgHzUWIDWI0lWCTsS8wC9UaJho (opens in a new tab)\">https:\/\/youtube.com\/playlist?list=PLnWpsLZNgHzUWIDWI0lWCTsS8wC9UaJho<\/a><\/p>\n\n\n\n<p><strong>Files on GitHub ## ADD VIDEO LINK TO REPO ##<\/strong><br><a href=\"https:\/\/github.com\/tsrob50\/PublicDevOps\/tree\/main\/Azure%20DevOps%20and%20Bicep%20Pipelines\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"https:\/\/github.com\/tsrob50\/PublicDevOps\/tree\/main\/Azure%20DevOps%20and%20Bicep%20Pipelines (opens in a new tab)\">https:\/\/github.com\/tsrob50\/PublicDevOps\/tree\/main\/Azure%20DevOps%20and%20Bicep%20Pipelines<\/a><\/p>\n\n\n\n<p>Zero to Hero with Azure Virtual Desktop <br><a href=\"https:\/\/www.udemy.com\/course\/zero-to-hero-with-windows-virtual-desktop\/?referralCode=B2FE49E6FCEE7A7EA8D4\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"https:\/\/www.udemy.com\/course\/zero-to-hero-with-windows-virtual-desktop\/?referralCode=B2FE49E6FCEE7A7EA8D4 (opens in a new tab)\">https:\/\/www.udemy.com\/course\/zero-to-hero-with-windows-virtual-desktop\/?referralCode=B2FE49E6FCEE7A7EA8D4<\/a><\/p>\n\n\n\n<p>Hybrid Identity with Windows AD and Azure AD <br><a href=\"https:\/\/www.udemy.com\/course\/hybrid-identity-and-azure-active-directory\/?referralCode=7F62C4C6FD05C73ACCC3\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"https:\/\/www.udemy.com\/course\/hybrid-identity-and-azure-active-directory\/?referralCode=7F62C4C6FD05C73ACCC3 (opens in a new tab)\">https:\/\/www.udemy.com\/course\/hybrid-identity-and-azure-active-directory\/?referralCode=7F62C4C6FD05C73ACCC3<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this video, we build on DevOps repos by creating an Azure DevOps pipeline that deploys Azure Bicep template files.&nbsp; We start by creating a service connection, allowing DevOps to deploy resources to Azure.&nbsp; Next, we create multiple pipeline jobs, splitting the deployment into two parts, or jobs, that run sequentially.&nbsp; One job deploys resources &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/www.ciraltos.com\/staging2\/azure-devops-and-bicep-pipelines\/\"> <span class=\"screen-reader-text\">Azure DevOps and Bicep Pipelines<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":2574,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":""},"categories":[1000,952],"tags":[995,1330,953,1305,1316,1328,959,12,1296,600,1323,1324,1329,1332,782,1326,1322,1317,341,338,1161,955,1298,1325,1327,960,1313,1314,75,1331,1299,1297],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Azure DevOps and Bicep Pipelines - ciraltos<\/title>\n<meta name=\"description\" content=\"In this video, we build an Azure DevOps pipeline that deploys Azure Bicep template files.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.ciraltos.com\/staging2\/azure-devops-and-bicep-pipelines\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Azure DevOps and Bicep Pipelines - ciraltos\" \/>\n<meta property=\"og:description\" content=\"In this video, we build an Azure DevOps pipeline that deploys Azure Bicep template files.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.ciraltos.com\/staging2\/azure-devops-and-bicep-pipelines\/\" \/>\n<meta property=\"og:site_name\" content=\"ciraltos\" \/>\n<meta property=\"article:published_time\" content=\"2022-07-24T16:05:08+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-03-23T10:02:16+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.ciraltos.com\/staging2\/wp-content\/uploads\/2022\/05\/DevOps.png\" \/>\n\t<meta property=\"og:image:width\" content=\"150\" \/>\n\t<meta property=\"og:image:height\" content=\"150\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Travis Roberts\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@ciraltos\" \/>\n<meta name=\"twitter:site\" content=\"@ciraltos\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Travis Roberts\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.ciraltos.com\/staging2\/azure-devops-and-bicep-pipelines\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.ciraltos.com\/staging2\/azure-devops-and-bicep-pipelines\/\"},\"author\":{\"name\":\"Travis Roberts\",\"@id\":\"http:\/\/www.ciraltos.com\/staging2\/#\/schema\/person\/25391996d6cddfecd4d257162b7e373a\"},\"headline\":\"Azure DevOps and Bicep Pipelines\",\"datePublished\":\"2022-07-24T16:05:08+00:00\",\"dateModified\":\"2023-03-23T10:02:16+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.ciraltos.com\/staging2\/azure-devops-and-bicep-pipelines\/\"},\"wordCount\":194,\"commentCount\":0,\"publisher\":{\"@id\":\"http:\/\/www.ciraltos.com\/staging2\/#\/schema\/person\/25391996d6cddfecd4d257162b7e373a\"},\"keywords\":[\".bicep\",\"ARM Deployment\",\"Azure DevOps\",\"azure devops tutorial for beginners\",\"Azure repos\",\"Azure Template\",\"CI\/CD\",\"cloud\",\"Cloud Services\",\"code\",\"Continuous development\",\"continuous integration\",\"dependencies\",\"dependency\",\"devops\",\"DevOps Job\",\"DevOps Pipeline\",\"DevOps repos\",\"git\",\"github\",\"IaC\",\"infrastructure as code\",\"Iot\",\"job\",\"parameter file\",\"Pipeline\",\"Repos\",\"Repositories\",\"server\",\"service connection\",\"Teams Foundation Server\",\"TFS\"],\"articleSection\":[\"Bicep\",\"DevOps\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.ciraltos.com\/staging2\/azure-devops-and-bicep-pipelines\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.ciraltos.com\/staging2\/azure-devops-and-bicep-pipelines\/\",\"url\":\"https:\/\/www.ciraltos.com\/staging2\/azure-devops-and-bicep-pipelines\/\",\"name\":\"Azure DevOps and Bicep Pipelines - ciraltos\",\"isPartOf\":{\"@id\":\"http:\/\/www.ciraltos.com\/staging2\/#website\"},\"datePublished\":\"2022-07-24T16:05:08+00:00\",\"dateModified\":\"2023-03-23T10:02:16+00:00\",\"description\":\"In this video, we build an Azure DevOps pipeline that deploys Azure Bicep template files.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.ciraltos.com\/staging2\/azure-devops-and-bicep-pipelines\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.ciraltos.com\/staging2\/azure-devops-and-bicep-pipelines\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.ciraltos.com\/staging2\/azure-devops-and-bicep-pipelines\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\/\/www.ciraltos.com\/staging2\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Azure DevOps and Bicep Pipelines\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/www.ciraltos.com\/staging2\/#website\",\"url\":\"http:\/\/www.ciraltos.com\/staging2\/\",\"name\":\"ciraltos\",\"description\":\"cloud, technology and trends\",\"publisher\":{\"@id\":\"http:\/\/www.ciraltos.com\/staging2\/#\/schema\/person\/25391996d6cddfecd4d257162b7e373a\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/www.ciraltos.com\/staging2\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"http:\/\/www.ciraltos.com\/staging2\/#\/schema\/person\/25391996d6cddfecd4d257162b7e373a\",\"name\":\"Travis Roberts\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/www.ciraltos.com\/staging2\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.ciraltos.com\/staging2\/wp-content\/uploads\/2023\/03\/Logo-1.png\",\"contentUrl\":\"https:\/\/www.ciraltos.com\/staging2\/wp-content\/uploads\/2023\/03\/Logo-1.png\",\"width\":5657,\"height\":3563,\"caption\":\"Travis Roberts\"},\"logo\":{\"@id\":\"http:\/\/www.ciraltos.com\/staging2\/#\/schema\/person\/image\/\"},\"sameAs\":[\"http:\/\/www.ciraltos.com\",\"https:\/\/twitter.com\/ciraltos\"],\"url\":\"https:\/\/www.ciraltos.com\/staging2\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Azure DevOps and Bicep Pipelines - ciraltos","description":"In this video, we build an Azure DevOps pipeline that deploys Azure Bicep template files.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.ciraltos.com\/staging2\/azure-devops-and-bicep-pipelines\/","og_locale":"en_US","og_type":"article","og_title":"Azure DevOps and Bicep Pipelines - ciraltos","og_description":"In this video, we build an Azure DevOps pipeline that deploys Azure Bicep template files.","og_url":"https:\/\/www.ciraltos.com\/staging2\/azure-devops-and-bicep-pipelines\/","og_site_name":"ciraltos","article_published_time":"2022-07-24T16:05:08+00:00","article_modified_time":"2023-03-23T10:02:16+00:00","og_image":[{"width":150,"height":150,"url":"https:\/\/www.ciraltos.com\/staging2\/wp-content\/uploads\/2022\/05\/DevOps.png","type":"image\/png"}],"author":"Travis Roberts","twitter_card":"summary_large_image","twitter_creator":"@ciraltos","twitter_site":"@ciraltos","twitter_misc":{"Written by":"Travis Roberts","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.ciraltos.com\/staging2\/azure-devops-and-bicep-pipelines\/#article","isPartOf":{"@id":"https:\/\/www.ciraltos.com\/staging2\/azure-devops-and-bicep-pipelines\/"},"author":{"name":"Travis Roberts","@id":"http:\/\/www.ciraltos.com\/staging2\/#\/schema\/person\/25391996d6cddfecd4d257162b7e373a"},"headline":"Azure DevOps and Bicep Pipelines","datePublished":"2022-07-24T16:05:08+00:00","dateModified":"2023-03-23T10:02:16+00:00","mainEntityOfPage":{"@id":"https:\/\/www.ciraltos.com\/staging2\/azure-devops-and-bicep-pipelines\/"},"wordCount":194,"commentCount":0,"publisher":{"@id":"http:\/\/www.ciraltos.com\/staging2\/#\/schema\/person\/25391996d6cddfecd4d257162b7e373a"},"keywords":[".bicep","ARM Deployment","Azure DevOps","azure devops tutorial for beginners","Azure repos","Azure Template","CI\/CD","cloud","Cloud Services","code","Continuous development","continuous integration","dependencies","dependency","devops","DevOps Job","DevOps Pipeline","DevOps repos","git","github","IaC","infrastructure as code","Iot","job","parameter file","Pipeline","Repos","Repositories","server","service connection","Teams Foundation Server","TFS"],"articleSection":["Bicep","DevOps"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.ciraltos.com\/staging2\/azure-devops-and-bicep-pipelines\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.ciraltos.com\/staging2\/azure-devops-and-bicep-pipelines\/","url":"https:\/\/www.ciraltos.com\/staging2\/azure-devops-and-bicep-pipelines\/","name":"Azure DevOps and Bicep Pipelines - ciraltos","isPartOf":{"@id":"http:\/\/www.ciraltos.com\/staging2\/#website"},"datePublished":"2022-07-24T16:05:08+00:00","dateModified":"2023-03-23T10:02:16+00:00","description":"In this video, we build an Azure DevOps pipeline that deploys Azure Bicep template files.","breadcrumb":{"@id":"https:\/\/www.ciraltos.com\/staging2\/azure-devops-and-bicep-pipelines\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.ciraltos.com\/staging2\/azure-devops-and-bicep-pipelines\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.ciraltos.com\/staging2\/azure-devops-and-bicep-pipelines\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"http:\/\/www.ciraltos.com\/staging2\/"},{"@type":"ListItem","position":2,"name":"Azure DevOps and Bicep Pipelines"}]},{"@type":"WebSite","@id":"http:\/\/www.ciraltos.com\/staging2\/#website","url":"http:\/\/www.ciraltos.com\/staging2\/","name":"ciraltos","description":"cloud, technology and trends","publisher":{"@id":"http:\/\/www.ciraltos.com\/staging2\/#\/schema\/person\/25391996d6cddfecd4d257162b7e373a"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/www.ciraltos.com\/staging2\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"http:\/\/www.ciraltos.com\/staging2\/#\/schema\/person\/25391996d6cddfecd4d257162b7e373a","name":"Travis Roberts","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/www.ciraltos.com\/staging2\/#\/schema\/person\/image\/","url":"https:\/\/www.ciraltos.com\/staging2\/wp-content\/uploads\/2023\/03\/Logo-1.png","contentUrl":"https:\/\/www.ciraltos.com\/staging2\/wp-content\/uploads\/2023\/03\/Logo-1.png","width":5657,"height":3563,"caption":"Travis Roberts"},"logo":{"@id":"http:\/\/www.ciraltos.com\/staging2\/#\/schema\/person\/image\/"},"sameAs":["http:\/\/www.ciraltos.com","https:\/\/twitter.com\/ciraltos"],"url":"https:\/\/www.ciraltos.com\/staging2\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.ciraltos.com\/staging2\/wp-json\/wp\/v2\/posts\/2650"}],"collection":[{"href":"https:\/\/www.ciraltos.com\/staging2\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ciraltos.com\/staging2\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ciraltos.com\/staging2\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ciraltos.com\/staging2\/wp-json\/wp\/v2\/comments?post=2650"}],"version-history":[{"count":3,"href":"https:\/\/www.ciraltos.com\/staging2\/wp-json\/wp\/v2\/posts\/2650\/revisions"}],"predecessor-version":[{"id":3748,"href":"https:\/\/www.ciraltos.com\/staging2\/wp-json\/wp\/v2\/posts\/2650\/revisions\/3748"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ciraltos.com\/staging2\/wp-json\/wp\/v2\/media\/2574"}],"wp:attachment":[{"href":"https:\/\/www.ciraltos.com\/staging2\/wp-json\/wp\/v2\/media?parent=2650"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ciraltos.com\/staging2\/wp-json\/wp\/v2\/categories?post=2650"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ciraltos.com\/staging2\/wp-json\/wp\/v2\/tags?post=2650"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}