Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Latest commit

 

History

History
59 lines (42 loc) · 1.72 KB

service-introspection.md

File metadata and controls

59 lines (42 loc) · 1.72 KB

Service Introspection

Service Introspection shows information about Bedrock deployments:

  • Name of the person that changed the service
  • Time the service was changed or errored
  • Deployment state of the service

Important:

To use service introspection, begin with the steps on Service Introspection: Getting Started. This will walk you through setting up a Bedrock GitOps pipeline workflow.

Usage:

bedrock deployment [command] [options]

Commands:

Global options:

  -v, --verbose        Enable verbose logging
  -h, --help           Usage information

Requirements

Fill out the service introspection settings in your bedrock config file, for example bedrock-config.yaml. Sample config file.

introspection:
  azure: # This is the storage account for the service introspection tool
    account_name: "storage-account-name"
    table_name: "table-name"
    partition_key: "partition-key"
    key: "storage-access-key"

To create storage-account and table, use the bedrock deployment onboard command to create them where subscription Id, resource group name, service principal Id, password and tenant Id are required.

Service Principal

Create a service principal with owner access:

az ad sp create-for-rbac --role Owner --scopes /subscriptions/<your-subscription-id>