GithubHelp home page GithubHelp logo

Comments (7)

marrobi avatar marrobi commented on July 18, 2024 1

Example: https://github.com/microsoft/AzureTRE/blob/main/resource_processor%2Fshared%2Fconfig.py#L24

from azuretre.

marrobi avatar marrobi commented on July 18, 2024

Should work fine. It's in the bundle, just dont think it's exposed.

Would be good to have an config value to configure it.

from azuretre.

jonnyry avatar jonnyry commented on July 18, 2024

The Basic SKU Firewall is specifically excluded from deallocation in the start/stop script:

IPCONFIG_NAME=$(az network firewall ip-config list -f "${fw_name}" -g "${core_rg_name}" --query "[0].name" -o tsv)
if [ -n "$IPCONFIG_NAME" ] && [ "${fw_sku}" != "Basic" ]; then
echo "Deleting Firewall ip-config: $IPCONFIG_NAME"
az network firewall ip-config delete -f "${fw_name}" -n "$IPCONFIG_NAME" -g "${core_rg_name}" &
else
echo "No Firewall ip-config found or SKU (${fw_sku}) doesn't allow deallocation"
fi

If there aren't any other blockers then hopefully its just a case of:

  • modifying the start/stop script to allow deallocation of the Basic SKU
  • plus surfacing a FIREWALL_SKU environment variable

from azuretre.

marrobi avatar marrobi commented on July 18, 2024

Yes, that would make a lot of sense. Great if you can contribute it.

from azuretre.

jonnyry avatar jonnyry commented on July 18, 2024

It's on my list! Just need to figure out how parameters get passed into the resource processor :-D

from azuretre.

marrobi avatar marrobi commented on July 18, 2024

https://github.com/microsoft/AzureTRE/blob/main/resource_processor%2Fresources%2Fcommands.py#L58

As long as the parameter matches the config key, it should just need adding to the config object.

from azuretre.

jonnyry avatar jonnyry commented on July 18, 2024

Am I right in thinking the firewall is not deployed via the resource processor when the TRE is initially deployed? (since its the only shared service that's gets deployed on initial TRE deployment)

But then if the firewall is updated subsequently (e.g. via the TRE UI), this would update would take place via the resource processor?

from azuretre.

Related Issues (20)

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.