Comments (8)
@rwillard are you running Terraform on linux? I think something changed in the linux build for terraform that broke the external provider.
I was able to get it working with v0.10.7.
from terraform-google-vault.
@danisla I'm running the commands from GCP cloud shell. Documentation says it's a Debian based Linux OS. I am following this guide https://cloud.google.com/solutions/using-vault-for-secret-management
.
from terraform-google-vault.
@rwillard in the tutorial step 6 for configuring cloud shell with terraform, run this instead to revert to v0.10.7:
curl -L https://goo.gl/wRnGxT -o ${HOME}/.tfdocker
source ${HOME}/.tfdocker
This is a temporary work around until the terraform issue is resolved.
from terraform-google-vault.
I'll run it again to be sure, and post results here. But I did try yesterday with the 0.10.7 version of the docker image. Let me make sure though.
from terraform-google-vault.
@danisla I went through all the steps in a new project, and used your workaround to use the 0.10.7 image, but I got the same results.
* module.vault.data.external.vault-tls-key-encrypted: data.external.vault-tls-key-encrypted: failed to execute "/home/robert/terraform-google-vault/examples/vault-on-gce/.terraform/m
odules/85d849467b2166b96780a48cb9f6e5d7/encrypt_file.sh": fork/exec /home/robert/terraform-google-vault/examples/vault-on-gce/.terraform/modules/85d849467b2166b96780a48cb9f6e5d7/encr
ypt_file.sh: no such file or directory
* module.vault.data.external.vault-tls-cert-encrypted: data.external.vault-tls-cert-encrypted: failed to execute "/home/robert/terraform-google-vault/examples/vault-on-gce/.terraform
/modules/85d849467b2166b96780a48cb9f6e5d7/encrypt_file.sh": fork/exec /home/robert/terraform-google-vault/examples/vault-on-gce/.terraform/modules/85d849467b2166b96780a48cb9f6e5d7/en
crypt_file.sh: no such file or directory
* module.vault.data.external.sa-key: data.external.sa-key: failed to execute "/home/robert/terraform-google-vault/examples/vault-on-gce/.terraform/modules/85d849467b2166b96780a48cb9f
6e5d7/get_sa_key.sh": fork/exec /home/robert/terraform-google-vault/examples/vault-on-gce/.terraform/modules/85d849467b2166b96780a48cb9f6e5d7/get_sa_key.sh: no such file or directory
Thank you for your help with this!
from terraform-google-vault.
I think this issue may be related to this hashicorp/docker-hub-images#23 - the scripts in this repo use /bin/bash
in the shebang (example) which isn't in the docker image.
from terraform-google-vault.
@ericnorris yup that's it. The image doesn't have bash in it anymore. Quick fix is to just download terraform and install it in cloud shell. I'll work on updating the tutorial to make it compatible with the docker image.
from terraform-google-vault.
The tutorial has been updated to install Terraform locally rather than using the docker image.
from terraform-google-vault.
Related Issues (20)
- Use backend service for external balancer HOT 1
- Remove google project reference so module can be used with count HOT 2
- Provide existing KMS Key for init keys encryption HOT 1
- Unable to use module on Apply M1. HOT 2
- google_compute_instance_group_manager HOT 1
- Tls provider compatibility issue with M1 chip HOT 1
- The root ca and server cert validity_period is hardcoded HOT 1
- Usage of deprecated template_file
- Autoscaling on active/standby node HOT 1
- Dependency Dashboard
- Examples do not work - circular dependency? HOT 1
- Allow tls_save_ca_to_disk to also chose the filename of the full path of the local CA public certificate copy HOT 3
- Recreate MIG VMs after TLS cert update HOT 1
- compute router bgp keepalive_interval is not set HOT 2
- Support deployment to shared VPC with allow_public_egress
- Is bullseye officially supported yet for this module? HOT 1
- Permission 'cloudkms.cryptoKeys.get' denied on init setup HOT 3
- Autohealing port doesn't align with firewall rule port when not using internal LB HOT 1
- Permission 'cloudkms.cryptoKeys.get' denied on init setup HOT 2
- Googleapi error 403 Required 'compute.zones.list' permission for 'projects/XXX', forbidden
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-google-vault.