---
title: How to update the Hyperglance automation deployment
description: It is important to keep your automations up-to-date so that you receive the latest security &amp; bug fixes, improvements and new automations.
---

[Skip to content](https://support.hyperglance.com/knowledge/updating-the-hyperglance-automation-deployment#main-content)

English

Show submenu for translations

[More support](https://support.hyperglance.com/knowledge/kb-tickets/new?hsLang=en)

![](https://support.hyperglance.com/hs-fs/hubfs/hyperglance.png?width=100&height=75&name=hyperglance.png)

Open main navigation

Close main navigation

- English
  
  Show submenu for translations
- [More support](https://support.hyperglance.com/knowledge/kb-tickets/new)
- [Contact Us](https://www.hyperglance.com/contact/)

[Contact Us](https://www.hyperglance.com/contact/)

 How can we help you?

- There are no suggestions because the search field is empty.

1. [Hyperglance Support](https://support.hyperglance.com/knowledge?hsLang=en)
2. [Setup & Configuration](https://support.hyperglance.com/knowledge/setup-configuration?hsLang=en)
3. [Updating & Migrating](https://support.hyperglance.com/knowledge/setup-configuration?hsLang=en#updating-migrating)

# How to update the Hyperglance automation deployment

## It is important to keep your automations up-to-date so that you receive the latest security & bug fixes, improvements and new automations.

**Note:** When you first ran **terraform apply** Terraform created a **tfstate** file in the **deployment/terraform/automations** directory which tracks the resources it created at the time.

**In order to update the existing deployment you need that tfstate file to be in that directory!**

 

 Follow the appropriate instructions according to which cloud your automations were deployed to:<https://support.hyperglance.com/knowledge/updating-the-hyperglance-automation-deployment#aws-automations>

- [How to update AWS automations](https://support.hyperglance.com/knowledge/updating-the-hyperglance-automation-deployment#aws-automations)
- [How to update Azure automations](https://support.hyperglance.com/knowledge/updating-the-hyperglance-automation-deployment#azure-automations)

### Updating AWS Automations

1. Pull the latest updates from git
   
   ```
   $ cd aws-rule-automations$ git pull
   ```
2. Authenticate with AWS by running: **aws configure**
3. Re-apply the terraform stack; Terraform will apply any updates to the cloud resources it already created:
   
   ```
   $ cd deployment/terraform/automations$ terraform apply
   ```
4. It is a good idea to also [update the Hyperglance application](https://support.hyperglance.com/knowledge/upgrading-hyperglance-to-a-newer-version?hsLang=en) at the same time

### Updating Azure Automations

1. Pull the latest updates from git
   
   ```
   $ cd azure-rule-automations$ git pull
   ```
2. Authenticate with Azure by running: 
   
   ```
    az login az account set --subscription <subscription name>
   ```
3. Re-apply the terraform stack:
   
   ```
   $ cd deployment/terraform/automations$ terraform apply
   ```
4. It is a good idea to also [update the Hyperglance application](https://support.hyperglance.com/knowledge/upgrading-hyperglance-to-a-newer-version?hsLang=en) at the same time

- [Before You Start](https://support.hyperglance.com/knowledge/before-you-start?hsLang=en#main-content)

    - [Kubernetes](https://support.hyperglance.com/knowledge/before-you-start?hsLang=en#kubernetes)
    - [GCP](https://support.hyperglance.com/knowledge/before-you-start?hsLang=en#gcp)
    - [AWS](https://support.hyperglance.com/knowledge/before-you-start?hsLang=en#aws)
    - [Azure](https://support.hyperglance.com/knowledge/before-you-start?hsLang=en#azure)
- [Using Hyperglance](https://support.hyperglance.com/knowledge/using-hyperglance?hsLang=en#main-content)

    - [Automations](https://support.hyperglance.com/knowledge/using-hyperglance?hsLang=en#automations)
    - [Inventory & Diagrams](https://support.hyperglance.com/knowledge/using-hyperglance?hsLang=en#inventory-diagrams)
    - [Rules](https://support.hyperglance.com/knowledge/using-hyperglance?hsLang=en#rules)
    - [Cost Management](https://support.hyperglance.com/knowledge/using-hyperglance?hsLang=en#cost-management)
    - [Dashboards](https://support.hyperglance.com/knowledge/using-hyperglance?hsLang=en#dashboards)
    - [Security & Compliance](https://support.hyperglance.com/knowledge/using-hyperglance?hsLang=en#security-compliance)
- [Setup & Configuration](https://support.hyperglance.com/knowledge/setup-configuration?hsLang=en#main-content)

    - [Updating & Migrating](https://support.hyperglance.com/knowledge/setup-configuration?hsLang=en#updating-migrating)
    - [General](https://support.hyperglance.com/knowledge/setup-configuration?hsLang=en#general)
    - [RBAC & Users](https://support.hyperglance.com/knowledge/setup-configuration?hsLang=en#rbac-users)
    - [STIGS & FIPS](https://support.hyperglance.com/knowledge/setup-configuration?hsLang=en#stigs-fips)
    - [AWS](https://support.hyperglance.com/knowledge/setup-configuration?hsLang=en#aws)
    - [Azure](https://support.hyperglance.com/knowledge/setup-configuration?hsLang=en#azure)
    - [Kubernetes](https://support.hyperglance.com/knowledge/setup-configuration?hsLang=en#kubernetes)
    - [GCP](https://support.hyperglance.com/knowledge/setup-configuration?hsLang=en#gcp)
    - [API](https://support.hyperglance.com/knowledge/setup-configuration?hsLang=en#api)
    - [Legacy Docker-based deployments](https://support.hyperglance.com/knowledge/setup-configuration?hsLang=en#legacy-docker-based-deployments)
    - [AI](https://support.hyperglance.com/knowledge/setup-configuration?hsLang=en#ai)

[![Chill listening crop-3](https://support.hyperglance.com/hs-fs/hubfs/hyperglance.png?width=134&height=24&name=hyperglance.png "Chill listening crop-3")](https://www.hyperglance.com/)

2880 Zanker Road, Suite 203, San Jose, CA 95134

<https://www.linkedin.com/company/hyperglance/>

Copyright © 2025 Hyperglance. All rights reserved.