Git Product home page Git Product logo

hashicorp / terraform-provider-cohesity Goto Github PK

View Code? Open in Web Editor NEW
3.0 10.0 7.0 5.67 MB

Terraform Cohesity provider. Please note: This Terraform provider is archived per our provider archiving process: https://terraform.io/docs/internals/archiving.html

Home Page: https://registry.terraform.io

License: Mozilla Public License 2.0

Makefile 1.54% Go 95.95% Shell 1.24% HTML 1.26%
cohesity terraform-provider terraform

terraform-provider-cohesity's Introduction

Please note: This Terraform provider is archived, per our provider archiving process. What does this mean?

  1. The code repository and all commit history will still be available.
  2. Existing released binaries will remain available on the releases site.
  3. Issues and pull requests are not being monitored.
  4. New releases will not be published.

If anyone from the community or an interested third party is willing to maintain it, they can fork the repository and publish it to the Terraform Registry. If you are interested in maintaining this provider, please reach out to the Terraform Provider Development Program at [email protected].

Terraform Provider for Cohesity

Maintainers

This provider plugin is maintained by Cohesity

Table of contents ๐Ÿ“œ

Requirements ๐Ÿ“‹

Building The Provider โœ๏ธ

Clone repository to: $GOPATH/src/github.com/terraform-providers/terraform-provider-cohesity

$ git clone [email protected]:terraform-providers/terraform-provider-cohesity $GOPATH/src/github.com/terraform-providers/terraform-provider-cohesity

Enter the provider directory and build the provider

$ cd $GOPATH/src/github.com/terraform-providers/terraform-provider-cohesity
$ make build

The provider binary can be found in $GOPATH/bin directory.

Using the provider โ–ถ๏ธ

The Cohesity provider documentation can be found on provider's website

Developing the Provider โš’๏ธ

If you wish to work on the provider, you'll first need Go installed on your machine (version 1.12 is required). You'll also need to correctly setup a GOPATH, as well as adding $GOPATH/bin to your $PATH.

To compile the provider, run make build. This will build the provider and put the provider binary in the $GOPATH/bin directory.

$ make build
...
$ $GOPATH/bin/terraform-provider-cohesity
...

In order to test the provider, you can simply run make test.

$ make test

In order to run a specific acceptance test, change the variables in acceptance_test_variables.go to suit your environment and run make testacc

Note: Set the environment variables for configuring the Cohesity provider and sensitive resource arguments not set in the acceptance_test_variables.go file

$ make testacc TEST=./cohesity TESTARGS='-run=TestAccVirtualEditionCluster_basic'

Contribute ๐Ÿค

Suggestions or Feedback โœ‹

We would love to hear from you. Please send your questions and feedback to: [email protected]

terraform-provider-cohesity's People

Contributors

aicarmic avatar anvesh-cohesity avatar cgriggs01 avatar chandrashekar-cohesity avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

terraform-provider-cohesity's Issues

Issue with Build Provider - Go Sum Mismatch

๐Ÿ› Bug Report

When building v1.0.0 or master the following error happens:

verifying github.com/cohesity/[email protected]: checksum mismatch
	downloaded: h1:1hoBoKaEWam4aSaSkRzCr5zJkG0Ma7dTcLzEcBUQ43o=
	go.sum:     h1:y0YUqNP7qrno+hOk3fR0U1MLbEsBz71a22MZopghlxY=

SECURITY ERROR
This download does NOT match an earlier download recorded in go.sum.
The bits may have been replaced on the origin server, or an attacker may
have intercepted the download attempt.

This looks like the management-sdk-go file has been modify/changed, thus when Go tries to pull down the package it results in a mismatch checksum.

To Reproduce

  1. git clone https://github.com/terraform-providers/terraform-provider-cohesity.git
  2. git checkout v1.0.0
  3. go build

Expected behavior

I expect when building the provider, it would build without error and produce a binary.

Actual Behavior

See error posted above.

@anvesh-cohesity @chandrashekar-cohesity Any fixes in mind?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.