No description
  • Go 94.4%
  • Shell 2.1%
  • HTML 2%
  • Makefile 1.5%
Find a file
OpenTofu Core Development Team 893fabc2b8 Apply GitHub workflow changes
2025-11-18 12:29:48 +02:00
.github Apply GitHub workflow changes 2025-11-18 12:29:48 +02:00
examples/test_issues_pr/42 rabbitmq_permissions: Fix error on empty permissions. 2020-02-10 18:43:44 +01:00
rabbitmq Add import_shovel_test 2020-08-07 12:08:16 +02:00
scripts New resource: rabbimtq_shovel. 2020-07-17 17:26:18 +02:00
vendor rabbit-hole vendor files update to 2.4.0 2020-08-05 18:21:07 +02:00
website Add deprecation warnings to documentation for shovel parameters 2020-08-06 14:04:59 +02:00
.gitignore resource_user: Fix tags/password update. 2019-11-25 23:01:26 +01:00
.go-version Upgrade Go to 1.14 2020-07-17 18:30:59 +02:00
.goreleaser.yml Add gorelease config 2020-11-11 08:51:31 +01:00
.travis.yml Don't build against RabbitMQ 3.6. 2020-06-12 10:43:03 -04:00
CHANGELOG.md CHANGELOG: Replace 1.5.0 with 1.5.1 2020-11-11 09:22:23 +01:00
GNUmakefile Add federation_upstream resource (#55) 2020-07-03 12:42:52 +02:00
go.mod Update rabbit-hole requirement to v2.4.0 for additional Shovel parameters 2020-08-04 17:50:46 +02:00
go.sum Update rabbit-hole requirement to v2.4.0 for additional Shovel parameters 2020-08-04 17:50:46 +02:00
LICENSE initial commit 2017-06-05 20:54:06 +00:00
main.go Migrating to the Terraform Plugin SDK 2020-01-06 15:34:16 +01:00
README.md Add info on RabbitMQ supported versions. 2020-06-12 10:43:29 -04:00

Terraform Provider

Requirements

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

Building The Provider

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

$ mkdir -p $GOPATH/src/github.com/terraform-providers; cd $GOPATH/src/github.com/terraform-providers
$ git clone git@github.com:terraform-providers/terraform-provider-rabbitmq

Enter the provider directory and build the provider

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

Using the provider

The provider supports verions 3.8.x and 3.7.x of RabbitMQ. It may still work with version3.6.x, however this version is no longer supported.

For information on RabbitMQ versions, see the RabbitMQ version documentation and changelog.

Developing the Provider

If you wish to work on the provider, you'll first need Go installed on your machine (version 1.11+ 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 bin
...
$ $GOPATH/bin/terraform-provider-rabbitmq
...

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