Code Monkey home page Code Monkey logo

azure-namespace's Introduction

Python3 / Powershell script to create namespace in Azure and deploy itLicense MIT

This python3 script are taking a json files with some values as in-file. It run true them and creating outfiles with az commands to ve deployd in Azure This make it easy to have the same dopoyment in differt enviroments (account) and you will have the namespaces saved for the future.

NEW 2019-06-12

Added a install.ps1 (powershell script) This script will log you in to Azure account and list your accounts. Will show the files created by the Python script and deployt it for you.

Future plan 2019-06-13

Added a menu for the future. Plan was to rebrand https://github.com/Swedeniron/Azure-DevOPS-automatic and add the functions to the install script in powershell insted. Got time feel free to help me out.

Author

Maintainer Stellan Eriksson [email protected]

A simple how to

  1. Change the _config.json to your location

  2. Create a namespace.json file in ventures, insted of [email protected] you can use security-enabled groups for role assignments

  3. Run the script "python templator.py"

  4. The script are creating a folder structure _build/azure/namespace.json/
    and adding a azure-resources.sh file

  5. To deploy the new namespace run the azure-resources.sh (or go to number 6) that are az commands Just check that you are connected to for the right environment dev/stage/prod You need to be Owner to be allowed to run the commands.

  6. Open the powershell and run the ./installer.ps1 It will guide you true the install, it's a simple Y/N guide Wish you a Good deployment...

License

Copyright (c) 2019 Stellan Eriksson [email protected]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

azure-namespace's People

Contributors

swedeniron avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.