Giter VIP home page Giter VIP logo

azure-resource-locks's Introduction

Azure-Resource-Locks

For maintaining Azure resource lock configuration and automation

These are used to protect from automation gone wrong against resources that have persistent data that we really don't want accidentally deleted.

Resource types

Currently the resource locks are applied to resource groups which have the following resource types:

  • Storage
  • Key Vault
  • SQL Databases
  • APP Insights
  • Static IPs
  • Azure Firewall
  • SaaS Resources
  • Virtual Wan
  • CosmosDB
  • Frontdoor
  • App Gateways
  • Private DNS Zones

The list could be extended by adding || contains(type, '<<resource type>>')) to the JSONPATH in the enable-resource-locking.sh

Pipeline jobs

  • Enable-resource-locks

    Scheduled to run every 3 hours for the environments below

    • CNP-DEV
    • CNP-Prod
    • SDS-STG
    • SDS-PROD
    • HUB-PROD
    • HUB-NONPROD
    • DCD-CFT-PROD
  • Disable-resource-locks

    • Select the subscription and resource group(s) to run against from the job parameters

Exempt from autolocking

To avoid your resources from being auto locked, you can use the exemptFromAutoLock tag on the resource group:

exemptFromAutoLock = true

azure-resource-locks's People

Contributors

avi-hmcts avatar endakelly avatar cpareek avatar taherkhan30 avatar thomast1906 avatar timja avatar adusumillipraveen avatar benjamin-v1 avatar tomkimber avatar don-olu avatar zc-hmcts avatar rhodrif avatar

Watchers

Matt Davies avatar Jason Paige avatar dharmendra kumar avatar James Cloos avatar satya avatar Caoimhin Graham avatar Moussa Kayad avatar Daniel Patynski avatar Vamshidhar Chitti avatar James Nelson  avatar Olawale Olanrewaju avatar  avatar  avatar Liibaan Xassan avatar Sameer Srivastava (A576846) avatar Piyush Kumar avatar Tim Ajisafe avatar Mohammed Abubakar avatar simon w avatar  avatar shravan mechineni avatar  avatar Brendon Higgins avatar Felix Eyetan avatar Ben Neill avatar Owen Carleton avatar  avatar  avatar kumar dhanasamy avatar Vinothkumar Rajadurai avatar Dale Cotterill avatar Sandy Gudgeon avatar  avatar  avatar Marc-steeven Eyeni-Kantsey avatar  avatar Ben Nzewi avatar Paul Ripley avatar  avatar Alex Bance avatar  avatar Sumit Shrivastava avatar  avatar Vish avatar  avatar  avatar Khaled Siddat avatar

azure-resource-locks's Issues

Check Resource Group Exists

What would you like to change?

When entering the Resource Group manually I can sometimes make mistakes or select the wrong Subscription. It would be good if the script could check if the Resource Group exists and report a failure if it doesn't

How do you think that would improve the project?

If the user has made a mistake they will notice it sooner and be able to fix the issue before leaving the pipeline.

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.