Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use tfstate-lookup with GCS buckets backend #47

Merged
merged 2 commits into from
May 2, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ EOF
- [AWS Secrets Manager](#aws-secrets-manager)
- [AWS S3](#aws-s3)
- [GCP Secrets Manager](#gcp-secrets-manager)
- [SOPS](#sops) powered by [sops](https://github.com/mozilla/sops))
- [SOPS](#sops) powered by [sops](https://github.com/mozilla/sops)
- [Terraform (tfstate)](#terraform-tfstate) powered by [tfstate-lookup](https://github.com/fujiwara/tfstate-lookup)
- [Echo](#echo)
- [File](#file)
Expand Down Expand Up @@ -316,7 +316,7 @@ which is equivalent to the following input for `vals`:
$ echo 'foo: ref+tfstate://terraform.tfstate/output.mystack_apply.value' | vals eval -f -
```

Remote backends like S3 is also supported. When a remote backend is used in your terraform workspace, there should be a local file at `./terraform/terraform.tfstate` that contains the reference to the backend:
Remote backends like S3 or GCS are also supported. When a remote backend is used in your terraform workspace, there should be a local file at `./terraform/terraform.tfstate` that contains the reference to the backend:

```
{
Expand Down
9 changes: 4 additions & 5 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,22 @@ module github.com/variantdev/vals
go 1.15

require (
cloud.google.com/go v0.70.0
cloud.google.com/go v0.81.0
github.com/Azure/azure-sdk-for-go v33.1.0+incompatible
github.com/Azure/go-autorest/autorest v0.9.2
github.com/Azure/go-autorest/autorest/adal v0.8.0 // indirect
github.com/Azure/go-autorest/autorest/azure/auth v0.4.0
github.com/aws/aws-sdk-go v1.35.18
github.com/fujiwara/tfstate-lookup v0.0.14
github.com/google/go-cmp v0.5.2
github.com/fujiwara/tfstate-lookup v0.2.0
github.com/google/go-cmp v0.5.5
github.com/hashicorp/golang-lru v0.5.4
github.com/hashicorp/vault/api v1.0.4
github.com/hashicorp/vault/sdk v0.1.14-0.20200215224050-f6547fa8e820 // indirect
github.com/mattn/go-colorable v0.1.8 // indirect
github.com/sirupsen/logrus v1.7.0 // indirect
github.com/smartystreets/goconvey v1.6.4 // indirect
go.mozilla.org/sops/v3 v3.6.1
golang.org/x/sys v0.0.0-20201112073958-5cba982894dd // indirect
google.golang.org/genproto v0.0.0-20201030142918-24207fddd1c3
google.golang.org/genproto v0.0.0-20210420162539-3c870d7478d2
gopkg.in/ini.v1 v1.51.0 // indirect
gopkg.in/yaml.v2 v2.3.0 // indirect
gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776
Expand Down
Loading