arm-ttk | Azure Resource Manager Template Toolkit | Azure library

 by   Azure PowerShell Version: 20221215 License: MIT

kandi X-RAY | arm-ttk Summary

kandi X-RAY | arm-ttk Summary

arm-ttk is a PowerShell library typically used in Cloud, Azure applications. arm-ttk has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

The code in this repository can be used for analyzing and testing Azure Resource Manager Templates. The tests will check a template or set of templates for coding best practices. There are some checks for simple syntactical errors but the intent is not to re-implement tests or checks that are provided by the platform (e.g. the /validate api).
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              arm-ttk has a low active ecosystem.
              It has 390 star(s) with 174 fork(s). There are 29 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 46 open issues and 310 have been closed. On average issues are closed in 379 days. There are 6 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of arm-ttk is 20221215

            kandi-Quality Quality

              arm-ttk has 0 bugs and 0 code smells.

            kandi-Security Security

              arm-ttk has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              arm-ttk code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              arm-ttk is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              arm-ttk releases are available to install and integrate.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of arm-ttk
            Get all kandi verified functions for this library.

            arm-ttk Key Features

            No Key Features are available at this moment for arm-ttk.

            arm-ttk Examples and Code Snippets

            No Code Snippets are available at this moment for arm-ttk.

            Community Discussions

            QUESTION

            Resource [parameters('mgName')] Location must be an expression or 'global'
            Asked 2022-Mar-04 at 05:48

            I am experimenting with Azure Management Groups Arm template.

            As you can see in this link, I have this Arm template:

            ...

            ANSWER

            Answered 2022-Mar-04 at 05:48

            Location is not required in Management Group. As you can check this Azure Create Management Group REST API documentation, location is not needed here.

            That's why in the template either you can remove the location or you can provide 'global' as the value, as the test command output specifies.

            Source https://stackoverflow.com/questions/71334329

            QUESTION

            ARM TTK throwing error for the test : Location Should Not Be Hardcoded in Azure DevOps Pipeline
            Asked 2021-Oct-04 at 10:36

            I am running ARM TTK as one of the tasks in my Azure DevOps Pipeline for validating ARM Templates before a PR is merged. One of the tests that i am using is : Location Should Not Be Hardcoded which is mentioned in the link : ARM-TTK-Tests by the name of "Location Uses Parameter"

            My ARM Template name is not "azuredeploy.json" or "mainTemplate.json" . My ARM Template name is "winvm-arm.json". I have the location defined in parameters like shown below :

            ...

            ANSWER

            Answered 2021-Oct-04 at 10:36

            Thank you Brian Moore. Posting your suggestion as an answer to help other community members.

            this is because anything that is not the "main template" is assumed to be a nested template... main template is determined by the filename (unless you specify otherwise).

            I think short term you'll have to follow the pattern - until we have a more standard way of determining name / nested.

            You can refer to "Location Should Not Be Hardcoded" test catching errors in good templates

            Source https://stackoverflow.com/questions/69020004

            QUESTION

            How to specify two paths for *.json files for running ARM-TTK Tests in an Azure DevOps pipeline
            Asked 2021-Aug-30 at 08:24

            I am running Unit Tests using ARM-TTK in Azure Devops and i have some selective unit tests that i would like to run from a desired location. The two location where i have my .JSON files are : ARM_Templates/IaaS and ARM_Templates/PaaS. I have other folders also that are present inside ARM_Templates parent folder but i don't want to include them in the test. So one of my task in the YAML pipeline is provided below :

            ...

            ANSWER

            Answered 2021-Aug-30 at 08:24

            In 'Get-ChildItem' you can pass multiple paths as follow Get-ChildItem –path c:\fso,c:\music. Please check aslo this answer. So in your case it would be

            Source https://stackoverflow.com/questions/68977536

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install arm-ttk

            You can download it from GitHub.

            Support

            This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com. When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repositories using our CLA. This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries

            Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link