Skip to content

rogueai/terraform-provider-portainer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terraform Provider Portainer

Build

Disclaimer: This provider is still a work in progress: do not use it in any production setting. Expect missing attributes, wrong updates, sudden changes in resource schema, etc.

Status

Currently, the provider is able to manage only Swarm environments, with plain docker compose environments being next in line.

There are quite a few missing things: Environment Variables are not mapped, and the same applies for Resource Control attributes.

Available Resources

These are the resources that are currently being worked on:

  • Stack
  • Secret

Examples

Generated documentation is available, along with basic examples, under the docs folder.

Build provider

Run the following command to build the provider

$ go build -o terraform-provider-portainer

Test sample configuration

First, build and install the provider.

$ make install

Then, navigate to the examples directory.

$ cd examples

Run the following command to initialize the workspace and apply the sample configuration.

$ terraform init && terraform apply

Releases

No releases published

Packages

No packages published

Languages