Configure IP Tag Collection with Terraform
Focus
Focus
Strata Cloud Manager

Configure IP Tag Collection with Terraform

Table of Contents


Configure IP Tag Collection with Terraform

Automate cloud IP-Tag collection and distribution in Strata™ Cloud Manager to enable dynamic security policies using Terraform templates.
This procedure guides you through connecting Strata Cloud Manager to your cloud environment for IP-Tag collection using Terraform templates.
  1. Log in to Strata Cloud Manager.
  2. Select ConfigurationCloud Identity EngineUser ContextIP-Tag Collection.
  3. On the IP-Tag Collection (Recommended) page, select Add New Cloud Account.
    If you are migrating from IP-Tag Collection Legacy, onboard a cloud account and complete this procedure under IP-Tag Collection (Recommended). After you save and see a successful connection, confirm that the tags you see match the expected values. Then delete the existing configuration under IP-Tag Collection Legacy so that tag collection and enforcement continue without interruption on the new infrastructure.
  4. Select your cloud service provider (AWS, Azure or Google Cloud Platform) and click Next: Configure Connection.
  5. To use Terraform (recommended), click Connect via Terraform (Recommended).
  6. Enter a descriptive Name.
  7. Enter the information, depending on your selected cloud service provider
    • AWS—Enter your AWS Account ID and the Role Name associated with your AWS account.
    • Azure—Enter your Azure Tenant ID and Subscription ID.
    • Google Cloud Platform—Enter your GCP Project ID and Service Account Name.
  8. Click Next: Integrate Cloud Account to continue.
  9. Download your Terraform template.
    • If you are familiar with Terraform click the Download Terraform.
    • If you are new to Terraform, follow the Guided Steps.
  10. Deploy the Terraform template in your environment. For AWS, enter the Role ARN from the Terraform output.
  11. Click Save Configuration.
  12. Verify the cloud service provider account connection status. A successful connection ensures that Strata Cloud Manager can communicate with your cloud environment and begin the tag discovery process.
    It may take a few minutes to establish a successful connection.

Configure Tag Distribution

  1. Create a new Tag Distribution for your onboarded cloud account.
    1. On the IP-Tag Collection page, choose a successfully connected cloud account.
    2. Click + Distribute.
  2. Define the scope for tag collection.
    1. Enter a descriptive Name.
    2. Enter a Polling Interval in seconds.
    3. Select Regions and VPC (AWS only).
    4. Optional For Azure deployments, select Fetch Service Tags. For more information about Azure service tag and Palo Alto Networks firewalls, see Attributes Monitored on Azure
  3. Select Tag Destination folders containing the firewalls intended to receive the IP-to-tag mappings. Specify the target for tag distribution.
  4. Save the Tag Distribution configuration. Saving the distribution settings makes them active within Strata Cloud Manager, preparing them for deployment to your firewalls.
  5. Push the configuration to your firewall.
    1. Navigate to ConfigurationPush Config.
    2. Select the relevant Admin Scope and Folder.
    3. Select Push. This synchronizes the cloud integration and harvested IP-to-tag mappings from Strata Cloud Manager to your managed firewalls, enabling granular Layer 7 security policies based on real-time asset classifications.
  6. Verify the connection status of the tag distribution.