Skip to content

Commit

Permalink
Add clarifying comments to tf files
Browse files Browse the repository at this point in the history
  • Loading branch information
pauly4it committed May 4, 2022
1 parent fd9e5e3 commit d697522
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Provisions a fake VPC using the Fake Web Services provider.

resource "fakewebservices_vpc" "primary_vpc" {
name = "Primary VPC"
cidr_block = "10.1.0.0/16"
Expand Down
2 changes: 2 additions & 0 deletions providers.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Configure Fake Web Services provider with TFC token.

provider "fakewebservices" {
token = var.PROVIDER_TOKEN
}
6 changes: 6 additions & 0 deletions terraform.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# This block instructs the Terraform CLI to use your Terraform Cloud workspace
# as the remote backend for this project.
#
# Update the organization value to your Terraform Cloud organization's name
# before running `terraform init`.

terraform {

cloud {
Expand Down
4 changes: 4 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# The PROVIDER_TOKEN allows the Fake Web Services provider to create fake
# resources in your Terraform Cloud account. You will set this variable
# value in your workspace variables in Terraform Cloud.

variable "PROVIDER_TOKEN" {
description = "Token for the HashiCorp fakewebservices provider"
type = string
Expand Down
4 changes: 4 additions & 0 deletions versions.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Terraform CLI v1.1.9 or higher is required for Run Task feedback in the CLI.
# Using an earlier CLI version will only show Run Task results in your
# Terraform Cloud workspace run details online.

terraform {

required_version = ">= 1.1.9"
Expand Down

0 comments on commit d697522

Please sign in to comment.