Giter VIP home page Giter VIP logo

terraform-provider-steampipecloud's Introduction

โš ๏ธ DEPRECATED

The Steampipe Cloud provider has been deprecated. Please use the Turbot Pipes provider instead. This was part of our renaming of Steampipe Cloud to Turbot Pipes.


Terraform Steampipe Cloud provider

Requirements

  • Terraform 0.10.x
  • Go 1.14 (to build the provider plugin)

Building The Provider

Clone repository to: $GOPATH/src/github.com/turbot/terraform-provider-steampipecloud

$ export GOPATH=$(go env GOPATH)
$ mkdir -p $GOPATH/src/github.com/turbot; cd $GOPATH/src/github.com/turbot
$ git clone [email protected]:turbot/terraform-provider-steampipecloud

Enter the provider directory and build the provider

$ cd $GOPATH/src/github.com/turbot/terraform-provider-steampipecloud
$ make build

Using the provider

If you're building the provider, follow the instructions to install it as a plugin. After placing it into your plugins directory, run terraform init to initialize it.

Further usage documentation is available on the Terraform website.

Developing the Provider

If you wish to work on the provider, you'll first need Go installed on your machine (version 1.8+ 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
go build -o bin/terraform-provider-steampipecloud_0.0.1 -ldflags="-X github.com/turbot/terraform-provider-steampipecloud/version.ProviderVersion=0.0.1"

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

$ make test

In order to run the full suite of Acceptance tests, run make testacc.

Note: Acceptance tests create real resources, and often cost money to run.

$ make testacc

terraform-provider-steampipecloud's People

Contributors

cbruno10 avatar lalitlab avatar subhajit97 avatar sidr0cker avatar michaelburgess avatar misraved avatar

Stargazers

Thomas Klemm avatar Shashank Murthy avatar Tyler O avatar  avatar  avatar  avatar Nathan Wallace avatar

Watchers

Jon Udell avatar David Boeke avatar Luis Cavalcante avatar  avatar James Cloos avatar Nathan Wallace avatar Karan Popat avatar  avatar  avatar

Forkers

shashanklmurthy

terraform-provider-steampipecloud's Issues

v0.5.0

Community Note

  • Please vote on this issue by adding a ๐Ÿ‘ reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

New or Affected Resource(s)

  • steampipecloud_XXXXX

Potential Terraform Configuration

# Copy-paste your Terraform configurations here - for large Terraform configs,
# please use a service like Dropbox and share a link to the ZIP file. For
# security, you can also encrypt the files using our GPG public key.

References

  • #0000

Data source for steampipecloud_organization_members

Community Note

  • Please vote on this issue by adding a ๐Ÿ‘ reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

We need a data source for steampipecloud_organization_members. We have a multi repository setup with our terraform states being spread across separate repositories for separate teams and consequently these teams would have their own workspaces in steampipe cloud as well. There can be users who belong to more than one team. In case of a multi repository setup, end users of the steampipe terraform module would have no way of knowing whether a user is already a part of the steampipe cloud organization before adding them in as members.

Since a terraform apply would fail when trying to add an existing user (who has already been added as a part of the org from a different repository), we would need the ability to be able to list the organization members from a data source and filter existing users out in order to overcome this limitation.

I'm happy to help implement this in the provider unless this is already in the works as I see an API available in the SDK.

New or Affected Resource(s)

New data source:

  • steampipecloud_organization_members

Potential Terraform Configuration

data steampipecloud_organization_members {
     organization_id = "o_abcdefghijk"
}

data steampipecloud_organization_members {
     handle = "org123-blah"
}

References

Getting error `Error: unexpected format of ID ("bose/aws_role"), expected <workspace-handle>:<connection-handle>` due to inconsistent ID

Getting following error while trying to create a workspace connection resource

Error: unexpected format of ID ("bose/aws_role"), expected <workspace-handle>:<connection-handle>

  with steampipecloud_workspace_connection.workspace_connection_org,
  on aws_role_connection.tf line 90, in resource "steampipecloud_workspace_connection" "workspace_connection_org":
  90: resource "steampipecloud_workspace_connection" "workspace_connection_org" {

Seems like the error is due to inconsistent ID in create and read operation
Create operation returning the ID in the below format
https://github.com/turbot/terraform-provider-steampipecloud/blob/main/steampipecloud/resource_steampipecloud_workspace_connection.go#L167
while the read operation is expecting below
https://github.com/turbot/terraform-provider-steampipecloud/blob/main/steampipecloud/resource_steampipecloud_workspace_connection.go#L206

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.