Terraform Backend Repository Structure

JFrog Artifactory Documentation

ft:sourceType
Paligo

The Terraform Backend repository is a directory with a collection of workspaces consisting of these main coordinates;

  • backend: Set as Remote by definition

  • hostname: Your Artifactory domain name

  • organization: Backend Artifactory Repository name

  • prefix: Allows users to add a user-defined prefix when working with multiple workspace under the same prefix.

terraform {
  backend "remote" {
    hostname = "my_artifactory_domain.org"
    organization = "backend repository name"
    workspaces {
          prefix = "my-prefix-"   
    }
  }
}