Coder Social home page Coder Social logo

terraform-plugin's Introduction

terraform-plugin

简介

terraform-plugin 是一个支持阿里云、火山引擎和华为云的 ECS 开通的 Terraform 插件,它使用 gRPC 进行调用。该插件可以帮助用户在 Terraform 中开通云上的 ECS 资源。

特性

  • 支持阿里云、火山引擎和华为云的 ECS 资源管理
  • 使用 gRPC 进行通信,提供高效的接口调用
  • 具有灵活的配置选项,可以满足不同用户的需求
  • AK/SK 从数据库中获取,无需在代码中配置

快速开始

  1. 首先,确保MySQL数据库中有对应云服务商的账号和访问密钥。

  2. 环境变量配置:

export OPSHELPER_RDS_HOST=xxx.xxx.xxx.xxx
export OPSHELPER_RDS_DBNAME=xxxx
export OPSHELPER_RDS_USERNAME=xxxx
export OPSHELPER_RDS_PASSWORD=12345678
  1. 安装插件:
go run cmd/main.go 
  1. gRPC 接口调用:
temp.py 示例文件是生成插件读取的配置文件,需要根据实际情况进行修改。
exec.py 示例文件是调用插件的接口,需要根据实际情况进行修改。

terraform-plugin's People

Contributors

linux-yangyang avatar

Stargazers

 avatar

Watchers

 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.