Azure DevOps
Last updated
Was this helpful?
Last updated
Was this helpful?
Firefly integrates with Azure DevOps to connect your infrastructure code repositories with your cloud resources. This integration enables powerful features like tracing cloud resources back to their defining code ("Jump to Code") and automatically creating Pull Requests for newly codified resources and drift remediation.
An Azure DevOps account with access to your infrastructure repositories
Appropriate permissions to create Personal Access Tokens
Repositories containing Terraform, CloudFormation, or other IaC files you want to connect to Firefly
Code Search installed for each organization (to facilitate scanning)
Login to your Azure DevOps organization and follow their instructions to a. Select All accessible organizations b. In Scopes, select Custom defined and Read & manage c. Copy the token
To facilitate the scanning of your organization, for each organization
In Firefly, select Settings > Integrations
Select Add New > Azure DevOps (under version control integrations)
Enter a descriptive name into the Nickname field
Paste the token into the Access Token field
Select Next
Jump to Code: Trace resources in your cloud inventory back to the Azure DevOps file and specific line that defines them
Automated Pull Requests: When Firefly codifies an unmanaged resource, it can commit the new infrastructure code as a Pull Request
IaC Tracking: Firefly maintains awareness of which resources are defined in code and which are not
Drift Remediation: Firefly can detect drift between the code and the actual resources and create a Pull Request to fix it
Consider creating a dedicated Azure DevOps user or bot account for Firefly to make tracking its contributions easier
Ensure the access token has appropriate permissions to create Pull Requests
Regularly review Pull Requests created by Firefly
Install Code Search for each organization to improve repository scanning capabilities
For authentication issues:
Verify Azure DevOps credentials and permissions
Check if the token has expired or been revoked
Ensure the PAT has the correct scopes selected
For repository access issues:
Verify the integration has access to the required repositories
Check organization and project permissions if applicable
Review Firefly integration logs