Linking Environments to Cloud Compass Resources

Link the resources you manage in env0 to Cloud Compass for better visibility and tracking

To fully leverage the functionality of Cloud Compass and gain visibility into your existing cloud resources,
env0 performs an identification and cataloging process for your resources at the end of each run. This lets you immediately view, directly from the Cloud Compass table, which environments these resources belong to.

You can see it under the 'Environment' column.

👍

Supported Providers

AWS - https://search.opentofu.org/provider/hashicorp/aws/latest

Azure - https://search.opentofu.org/provider/hashicorp/azurerm/latest

Resource Matching

Identifying and matching resources is no simple task, and we’ve developed a specialized engine to perform these matches and ensure unique identification. However, we may not be able to match all resources. If you encounter any gaps, feel free to contact our support team.

Tips for Improving Resource Identification

AWS

For each provider block add those data resources blocks

provider "aws" {
  region  = "us-east-1"
}

provider "aws" {
  alias = "eu-west-1"
  region  = "eu-west-1"
}

data "aws_region" "current" {}
data "aws_caller_identity" "current" {}

data "aws_region" "west" {
	provider = aws.eu-west-1
}
data "aws_caller_identity" "west" {
	provider = aws.eu-west-1
}