ARM Templates Conditional Deployments

Поделиться
HTML-код
  • Опубликовано: 6 сен 2024

Комментарии • 24

  • @satishdevan5983
    @satishdevan5983 4 года назад +1

    I randomly came across your videos and these are clear and helpful. Looking forward for more such great videos.

  • @ravitiwari6335
    @ravitiwari6335 4 года назад

    So crisp and clear with real demo what everyone's actually wants. Thanks for the playlist Adam. Hope you make such videos for azure devOps too.

  • @akishaha
    @akishaha 4 года назад

    Thanks Adam as usual for helpful video.

  • @dizzyop6752
    @dizzyop6752 2 года назад

    Hay can you do an video on N-Tier deployment with dynamic input from user.

  • @maneesh981
    @maneesh981 4 года назад

    You are Genius !

  • @goutamir1729
    @goutamir1729 2 года назад

    Hi,
    Anyone please help.
    How to create a storage account with fileshare with connection string as output in ARM template??
    Please anyone respond.

  • @tarasbuha7726
    @tarasbuha7726 2 года назад

    Thanks for video. Is to possible to implement condition like create a new resource or select existing one, similar with resource group?

  • @seftekhari
    @seftekhari 4 года назад +1

    Thanks again for your great videos Adam. Really appreciated.
    My problem with Json is that I can't find Commands/Syntaxes that I can use in a template and their arguments/parameters. For example when I need to use IF function, i don't know what I can put after IF. and in what format?
    Also I was wondering if there is a way to see value of a variable without deploying the whole template. For example I have a StorageName variable which I need to check what its value is before the deployment. Is it possible? Thanks.

    • @AdamMarczakYT
      @AdamMarczakYT  4 года назад

      Make sure to have VS Code Azure Resource Manager tools extension installed and that $schema is up to date and that files have .json extension. Other than this press CTRL+. (dot) to show intellisense. Or check docs for reference samples.

  • @Klvierdaninho97
    @Klvierdaninho97 3 года назад +1

    Thanks for the Video Adam, can i put a condition before deploying something. The condition should implement checking if a specific tag is set, and if so it will proceed with a deployment.

    • @AdamMarczakYT
      @AdamMarczakYT  3 года назад +1

      If you have that resource specified in the template then you can use reference.
      [reference(parameters('storageAccountName'), '2016-12-01', 'Full').tags]
      Otherwise you can't refer to resources that are not in the template. In that case you powershell or cli.

    • @Klvierdaninho97
      @Klvierdaninho97 3 года назад

      @@AdamMarczakYT thank u i will try to do it tomorrow

    • @Klvierdaninho97
      @Klvierdaninho97 3 года назад

      @@AdamMarczakYT i dont think i can do it by referencing to specific resources. I have the following template which i am using: github.com/DeanCefola/Azure-Policy
      The Temlate activates Diagnostic Settings for a lot of different ressources. My Thought was to just put a if the tag"xy" is applied on a ressource --> run the template i attached above.
      Would be rly glad if u can help me there.

  • @purbashaghosh9766
    @purbashaghosh9766 4 года назад

    Hi Adam, is condition property available in service bus namespace? If so which api version? Basically I have SB namespace creation in my ARM template and based on a condition, I want to ski the SB creation in a certain env.

    • @AdamMarczakYT
      @AdamMarczakYT  4 года назад

      Condition isn't a property of any service. It's a functionality of ARM templates, you can use it with any service.

  • @aravind_balaji2058
    @aravind_balaji2058 4 года назад

    Good understandable video! Can you do a video on Azure API Management... kind request from the subscriber.

    • @AdamMarczakYT
      @AdamMarczakYT  4 года назад +1

      Great suggestion! APIM is already on the list to do. Thanks!

    • @satishdevan5983
      @satishdevan5983 4 года назад

      +1. Would love to see APIM and versioning videos.

  • @rickyv.2790
    @rickyv.2790 2 года назад

    You don't need all these, just download the templates before you hit the create (do not download it when it's already created, it won't work because it got already other interfaces). You open the template (or use automation cli or devops), create new and add the templates (you only need the template.json), when you deploy, you edit the parameters and copy the parameters from the download parameter.json, then you deploy! crap!!!

  • @shubhamkumar_noob_cs-go_pl581
    @shubhamkumar_noob_cs-go_pl581 Год назад

    don't just read your code, try to explain it too