Skip to content

Commit

Permalink
Add a snippet of using Artifactory as the Terraform Backend
Browse files Browse the repository at this point in the history
  • Loading branch information
eldada committed Nov 15, 2024
1 parent 500efa1 commit 6df0acb
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions 6.artifactory-aws-install/main.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
# Setup the providers

terraform {
## Configure the remote backend (Artifactory)
## This will store the state file in Artifactory.
## Follow https://jfrog.com/help/r/jfrog-artifactory-documentation/terraform-backend-repository
## Create a new terraform workspace in Artifactory named "jfrog"
# backend "remote" {
# hostname = "eldada.jfrog.io"
# organization = "terraform-backend"
# workspaces {
# prefix = "jfrog"
# }
# }

required_providers {
# Kubernetes provider
aws = {
Expand Down

0 comments on commit 6df0acb

Please sign in to comment.