InfraView relies on Terraform state files, so you'll need to configure the location of the files per environment.

When you click on the InfraView-tab, you'll be prompted to configure that environment.

Complete the form by selecting the environment, provider, and credentials (for example, IAM to connect on an S3 bucket, etc.).

# For AWS / S3 compatible

configuration-options

  • Credential: this is the AWS IAM credential used to access your S3 bucket.
  • Region: this is the AWS region used to access your S3 bucket.
  • Bucket: this is the S3 bucket where the .tfstate file is stored. At Cycloid, we use {organization}-terraform-remote-state by default.
  • Key: this is the path to the .tfstate file inside the S3 bucket. At Cycloid we use {project}/{environment}/{project}-{environment}.tfstate by default. Once you've filled in all the required information, click "Save" and navigate back to InfraView to see the diagram of your configured environment.
  • S3 Storage compatible options: Additional options if you are using object storage Amazon S3 compatible like minio.
    • S3ForcePathStyle: Always use path-style S3 URLs (<host>/<bucket> instead of <bucket>.<host>).
    • Skip SSL verification: Disable SSL verification if using self-signed certificate or not verified by a certificate authority.
    • Endpoint: Your custom S3 API endpoint (example: https://myminio.example.com:9000).

# For Swift (Openstack)

configuration-options

  • Credential: this is the Swift credential used to access your Swift container.
  • Region: this is the Swift region used to access your container.
  • Container: this is the Swift container where the .tfstate file is stored. At Cycloid, we use {organization}-terraform-remote-state by default.
  • Object: this is the path to the .tfstate file inside the Swift container. At Cycloid we use {project}/{environment}/{project}-{environment}.tfstate by default.
  • Skip SSL verification: Disable SSL verification if using self-signed certificate or not verified by a certificate authority.

# For Azure

coming soon

# For GCP

coming soon