Skip to content

Commit

Permalink
Add a variables.tf and provider.tf files to the examples
Browse files Browse the repository at this point in the history
  • Loading branch information
eldada committed Jan 13, 2025
1 parent 9d094fb commit a7118c8
Show file tree
Hide file tree
Showing 12 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion 1.aws-vpc-and-ec2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ The work here assumes you have an AWS account and have the AWS CLI installed and

## Files
- The [variables.tf](variables.tf) contains the different variables configurable in this example.
- The [provider.tf](provider.tf) contains the terraform providers needed for this example.
- The [providers.tf](providers.tf) contains the terraform providers needed for this example.
- The [main.tf](main.tf) contains the configuration that Terraform will use to create the resources in the cloud.

1. Initialize the Terraform configuration by running the following command
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion 2.kubernetes-nginx/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ The work here assumes you have a Kubernetes cluster with `kubectl` installed and

## Files
- The [variables.tf](variables.tf) contains the different variables configurable in this example.
- The [provider.tf](provider.tf) contains the terraform providers needed for this example.
- The [providers.tf](providers.tf) contains the terraform providers needed for this example.
- The [main.tf](main.tf) file has the configuration that Terraform will use to create the Nginx in the Kubernetes cluster.

This example also has a commented out snippet of using Artifactory as the [Terraform backend](https://jfrog.com/help/r/jfrog-artifactory-documentation/terraform-backend-repository).
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion 3.artifactory-install/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Using the [Terraform Helm Provider](https://developer.hashicorp.com/terraform/tu

## Files
- The [variables.tf](variables.tf) contains the different variables configurable in this example.
- The [provider.tf](provider.tf) contains the terraform providers needed for this example.
- The [providers.tf](providers.tf) contains the terraform providers needed for this example.
- The [main.tf](main.tf) file has the configuration that Terraform will use to install Artifactory with Helm.

## Prepare the Artifactory Configurations
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion 4.artifactory-config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ helm upgrade --install artifactory jfrog/artifactory --set postgresql.postgresql

## Files
- The [variables.tf](variables.tf) contains the different variables configurable in this example.
- The [provider.tf](provider.tf) contains the terraform providers needed for this example.
- The [providers.tf](providers.tf) contains the terraform providers needed for this example.
- The [main.tf](main.tf) file has the configuration that Terraform will use to configure the Artifactory server.

Create an [Artifactory access token](https://jfrog.com/help/r/how-to-generate-an-access-token-video/artifactory-creating-access-tokens-in-artifactory) and store it in a [terraform.tfvars](terraform.tfvars) file
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion 5.aws-eks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ The work here assumes you have an AWS account and have the AWS CLI installed and

## Files
- The [variables.tf](variables.tf) contains the different variables configurable in this example.
- The [provider.tf](provider.tf) contains the terraform providers needed for this example.
- The [providers.tf](providers.tf) contains the terraform providers needed for this example.
- The [main.tf](main.tf) contains the configuration that Terraform will use to create all the resources needed for running an [EKS](https://aws.amazon.com/eks/) cluster.

Set and store the needed variables values in a [terraform.tfvars](terraform.tfvars) file
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Setup the providers

terraform {
## Configure the remote backend (Artifactory)
## This will store the state file in Artifactory.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Setup the providers

terraform {
## Configure the remote backend (Artifactory)
## This will store the state file in Artifactory.
Expand Down

0 comments on commit a7118c8

Please sign in to comment.