Comments (8)
Did you try removing the cdap provider and resource but keeping the google_client_config data source? It seems that is the one that's failing to find credentials.
If you're running on a local machine try running gcloud auth application-default login
.
from terraform-provider-cdap.
Hi thanks for your help. Yes, as I mentioned in the problem statement, if I remove the cdap resource it executes successfully and creates the data fusion instance.
I'm trying to run it locally and from a docker container. Neither one is working. On my local machine I am authenticated with gcloud. In the docker container I do not have gcloud installed and was hoping to not have to take a dependency on it.
I don't know if it's relevant but I'm working in WSL on my local machine.
from terraform-provider-cdap.
This is unusual because in the code we don't search for the default credentials and instead just rely on the token being passed in.
What happens if you use this resource instead:
resource "local_file" "foo" {
content = data.google_client_config.current.access_token
filename = "/tmp/token"
}
Does /tmp/token get populated correctly?
from terraform-provider-cdap.
It does.
from terraform-provider-cdap.
Thanks, I did a bit of digging and believe I found the cause. Sent #82
from terraform-provider-cdap.
I released v0.6.0. Please give it a try
from terraform-provider-cdap.
Wow! I step into a meeting and come back to find the problem is solved! Thanks so much. Yes, v0.6.0 is working for me now.
from terraform-provider-cdap.
Glad to hear it! Hope you find the provider useful.
from terraform-provider-cdap.
Related Issues (20)
- cdap_streaming_program_run error 404 HOT 5
- Error on terraform init when added module terraform-google-modules/data-fusion/google//modules/dataproc_profile HOT 2
- CDAP endpoint no longer available if Data Fusion instance updated. HOT 7
- Support for Application Properties HOT 3
- Configuring network tags in `cdap_profile` for CDAP application instance HOT 2
- Changing instance's version triggers forces replacement HOT 2
- Profile destroy disables profile instead of deleting it HOT 1
- Allow the entire exported JSON config to be used as-is
- Users seeing 504s HOT 1
- Error 409 leads to a blocked state HOT 1
- Print endpoint that failed when get non 200 code
- v0.4.0 provider name HOT 1
- Deleting cdap_namespace fails HOT 10
- Support System Profiles HOT 1
- provider publishing on registry.terraform.io HOT 2
- Get "/v3/namespaces": unsupported protocol scheme "" HOT 2
- Dataproc profile HOT 2
- Artifact upload timeout too short HOT 3
- Help for dataproc_profile installation HOT 6
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-provider-cdap.