GithubHelp home page GithubHelp logo

hartl3y94 / terraform-provider-letscloud Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sinesiobittencourt/terraform-provider-letscloud

0.0 0.0 0.0 10.33 MB

License: Mozilla Public License 2.0

Makefile 4.14% Go 90.17% HCL 5.69%

terraform-provider-letscloud's Introduction

Terraform logo

Terraform Provider for LetsCloud

Forums pre-commit.ci status Build Status

FOSSA Status

Use make ;P

make .PHONY

╭─sinesio@NT0298 ~/Desktop/Projetos_test/TerraForm/terraform-provider-letscloud ‹main*›
╰─➤ TF_ACC=1 go test -v ./letscloud
=== RUN TestProvider
--- PASS: TestProvider (0.00s)
PASS
ok github.com/sinesiobittencourt/terraform-provider-letscloud/letscloud 0.007s

This folder encapsulates the Terraform Provider that issues API calls to the letscloud microservice.

Running the example

To run the Terraform Provider locally there are a few steps to complete:

Step 1: Build the source code locally

go build -o terraform-provider-letscloud_v1.0.0

Step 2: Move the executable into the local terraform plugin folder:

cp terraform-provider-letscloud  ~/.terraform.d/plugins/sinesio.com/letscloud/provider/1.0.0/linux_amd64

Note: The plugin folder may need to be created.

Step 3: From within this directory, initialize Terraform:

terraform init

Step 4: Run an apply via Terraform:

terraform apply

The output generated should look similar to the following:

Apply complete! Resources: 0 added, 0 changed, 0 destroyed.

Outputs:

vm_1_details_raw = {"Name":"M2540TCOLRus","Type":"COL","Region":"us-east-1"}
vm_1_name = M2540TCOLRus
vm_1_type = COL

terraform-provider-letscloud's People

Contributors

sinesiobittencourt avatar

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.