Google Cloud Storage
Firefly integrates with Google Cloud Storage to pull in Terraform state files. This integration allows Firefly to analyze your Terraform state files stored in Google Cloud Storage buckets, providing comprehensive visibility into your infrastructure resources managed through Terraform.
Prerequisites
A Google Cloud Platform account.
A service account with appropriate permissions to access the storage buckets containing Terraform state files.
Integrating a new account
Log into your Google Cloud service account, and click Create Service Account.
Add the Service account details, and click Create and Continue.
Add the following role:
storage.objectViewer
conditional to tfstate suffix.
Click Save > Done.
Click the kebab menu.
Click Manage keys > Add Key > Create new key.
To download a service account key file, click JSON > Create.
In Firefly, click Settings > Integrations.
Click Add New > Google Cloud Storage.
Enter a Nickname and Project ID.
Paste or upload the account key file into the Service Account Key field.
Click Next.
Click Done.
Integrating an existing account
Log in to your Google Cloud service account.
Add the following roles to the account you want to integrate:
storage.objectViewer
conditional to tfstate suffix.
Click the kebab menu.
Click Manage keys > Add Key > Create new key.
To download a service account key file, click JSON > Create.
In Firefly, click Settings > Integrations.
Click Add New > Google Cloud Storage.
Enter a Nickname and Project ID.
Paste or upload the account key file into the Service Account Key field.
Click Next.
Click Done.
Configuration Details
Firefly scans your Google Cloud Storage buckets by default every 4 hours.
Your Google Cloud Storage buckets state files list will stay updated automatically.
Last updated
Was this helpful?