Comments (7)
Hello, I'll need a bit more context to help debug.
The steps to build this project are documented in the readme. (The travis build script is also a good resource.)
Can you list all the commands you used to generate that error?
from terraform-provider-elasticsearch.
Hey @chicagobuss took me a second, but I think you found a bug in the README 😀, instead of being Golang 1.7 it should be >= 1.7
. Locally I'm on go 1.9 (although, yes a mac).
If you trying building in a container with 1.9 and glide does that work for you?
I'd definitely be open to migrating this package to go dep as well (and adding some CI) - this was thrown together in a bit of a rush, so totally can use some love!
from terraform-provider-elasticsearch.
Ha, I went through a lot of effort just to get on 1.7 because I assumed it was required. Will try again soon, thanks.
from terraform-provider-elasticsearch.
So in a bit of irony, I did try to convert to dep
(https://github.com/phillbaker/terraform-provider-elasticsearch/tree/dep-not-glide), but I am seeing the same error you posted above when using dep. On https://travis-ci.org/phillbaker/terraform-provider-elasticsearch/jobs/314409199.
Using glide on travis on master seems to build fine 😕 . Other posts about this seem to indicate that it's a a dependency issue.
from terraform-provider-elasticsearch.
Ah, so it looks like dep strips the vendor
directories of dependencies which is an issue for at least terraform, aws-sdk-go, see golang/dep#1075 (comment).
However, dep did merge support for govendor (which terraform uses) a couple of weeks ago, although it hasn't been included in a release yet, which I think solve the issue of recursive dependencies?
Until it's clear how dep
support dependencies like terraform, seems better to stick with glide
.
from terraform-provider-elasticsearch.
I am trying to build
on mac but I am getting the following:
unexpected directory layout:
import path: github.com/hashicorp/terraform/plugin
root: /Users/username/.gvm/pkgsets/go1.10.1/global/src
dir: /Users/username/.gvm/pkgsets/go1.10.1/global/src/github.com/phillbaker/terraform-provider-elasticsearch/vendor/github.com/hashicorp/terraform/plugin
expand root: /Users/username/.gvm/pkgsets/go1.10.1/global/src
expand dir: /Users/username/.gvm/pkgsets/go1.10.1/global/src/github.com/phillbaker/terraform-provider-elasticsearch/vendor/github.com/hashicorp/terraform/plugin
separator: /
from terraform-provider-elasticsearch.
@phillbaker Thanks for your reply, sorry for the late reply.
I tried with the master updates and it worked, I can not reproduce the issue.
from terraform-provider-elasticsearch.
Related Issues (20)
- HEAD healthcheck failed! HOT 2
- Support for multiple OpenSearch domains/workspaces/endpoints HOT 6
- Read Datastream upon `resource_already_exists_exception` HOT 2
- Client.Timeout exceeded while awaiting headers
- Invalid type for `cluster.routing.allocation.enable` in `elasticsearch_cluster_settings` resource
- Kibana Alert Modification Not Reflecting in Actual Resource
- Option to pass external id when using aws_assume_role_arn HOT 3
- Cannot create references for Opensearch dashboard or visualization kibana objects HOT 2
- Error: Head "https://xxx.es.eastus2.azure.elastic-cloud.com:9200": context deadline exceeded HOT 2
- terraform import elasticsearch_opensearch_ism_policy.cleanup doesn't import existing ISM policies HOT 1
- [Feature request] - Add Support for snapshot_management HOT 2
- The argument "url" is required, but was not set. HOT 2
- context deadline exceeded for creating elasticsearch_opensearch_role HOT 2
- Error: elastic: Error 401 (Unauthorized) when modifying action_auto_create_index HOT 1
- Connect: connection timed out message when creating an index using terraform
- provider can't reach out to Opensearch domain inside a VPC
- Print `url` in debug / error logs
- Normalize JSON when doing comparison for mappings, etc.
- Terraform detects change even when there is no change HOT 1
- [BUG] Problem when importing multiple elasticsearch_snapshot_repository ressources in same workspace
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-elasticsearch.