Skip to content

Commit

Permalink
Asserted changes requested in #4
Browse files Browse the repository at this point in the history
  • Loading branch information
jreyesr committed Sep 2, 2023
1 parent 2ee5342 commit c87fea8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 11 deletions.
10 changes: 5 additions & 5 deletions config/tfbridge.spc
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@ connection "tfbridge" {
# in the required_providers block in the Terraform main file
# Examples: "hashicorp/aws", "TimDurward/slack", "hashicorp/random"
# If using a private Terraform registry, also include the hostname: "registry.acme.com/acme/supercloud"
provider = "integrations/github"
# provider = "integrations/github"

# Write a single version for a Terraform provider, in the same way that you'd write it
# in the required_providers block in the Terraform main file
# Note that, unlike in the Terraform file, you can't use a version constraint, such as "~> 1.0" or ">= 1.2.0, < 2.0.0",
# only explicit versions are allowed
version = "5.33.0"
# version = "5.33.0"

# If the Terraform provider would require some configuration in its provider {...} block,
# copy it here directly (just the _contents_ of the provider {} block, not the entire block!)
provider_config = <<EOT
token = "github_pat_9fu38f0amil9FVOKmI0_0F8PmI0m0FNm"
EOT
# provider_config = <<EOT
# token = "github_pat_9fu38f0amil9FVOKmI0_0F8PmI0m0FNm"
# EOT
}
15 changes: 9 additions & 6 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ brand_color: "#844FBA"
display_name: Terraform Bridge
name: tfbridge
description: Steampipe plugin for proxying requests to Terraform data sources.
og_description: Query Duo Security with SQL! Open source CLI. No DB required.
og_description: Query any Terraform provider with SQL! Open source CLI. No DB required.
og_image: "/images/plugins/jreyesr/tfbridge-social-graphic.png"
---

Expand Down Expand Up @@ -80,26 +80,29 @@ connection "tfbridge" {
# in the required_providers block in the Terraform main file
# Examples: "hashicorp/aws", "TimDurward/slack", "hashicorp/random"
# If using a private Terraform registry, also include the hostname: "registry.acme.com/acme/supercloud"
provider = "integrations/github"
# provider = "integrations/github"
# Write a single version for a Terraform provider, in the same way that you'd write it
# in the required_providers block in the Terraform main file
# Note that, unlike in the Terraform file, you can't use a version constraint, such as "~> 1.0" or ">= 1.2.0, < 2.0.0",
# only explicit versions are allowed
version = "5.33.0"
# version = "5.33.0"
# If the Terraform provider would require some configuration in its provider {...} block,
# copy it here directly (just the _contents_ of the provider {} block, not the entire block!)
provider_config = <<EOT
token = "github_pat_9fu38f0amil9FVOKmI0_0F8PmI0m0FNm"
EOT
# provider_config = <<EOT
# token = "github_pat_9fu38f0amil9FVOKmI0_0F8PmI0m0FNm"
# EOT
}
```

Uncomment and edit the `provider`, `version` and `provider_config` parameters.

`provider` and `version` define which Terraform provider you want to use. You can find those in [the Terraform registry](https://registry.terraform.io/). If you have a working Terraform configuration, you may also run `terraform version` to retrieve the versions currently in use.

`provider_config` is a string that contains any configuration that must be forwarded to the Terraform provider. It should contain the entire contents of the `provider "yourprovname" {...}` block in the Terraform configuration (_only_ what is inside the curly braces, but not the `provider "yourprovname"` part). Those configuration values can be found in the Terraform Registry docs for your provider of choice.

## Get involved

* Open source: https://github.com/jreyesr/steampipe-plugin-tfbridge
* Community: [Join #steampipe on Slack →](https://turbot.com/community/join)

0 comments on commit c87fea8

Please sign in to comment.