Skip to content

Bootstrap OctopusDeploy with space, deployment targets, lifecycles, environments and others

License

Notifications You must be signed in to change notification settings

aditya-mittal/octopusdeploy-bootstrap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

octopusdeploy-bootstrap

This repo has the terraform modules which helps you bootstrap your octopus by creating resources like:

  • Global Resources(Roles)
  • Space
  • Deployment Targets
  • Accounts
  • Environments
  • Lifecycle
  • External Feeds

Global Resources


Provision global resources for your OctopusDeploy.

Pre-requisites

Steps to provision

$ cd global-resources
$ terraform init
$ terraform get -update=true
$ terraform plan -out tfplan
$ terraform apply

Steps to de-provision

$ cd global-resources
$ terraform init
$ terraform get -update=true
$ terraform plan -destroy -out destroy_tfplan
$ terraform apply destroy_tfplan

Space & Bootstrapping


Provision space and bootstrap it with all necessary resources like environments, lifecycles and deployment targets.

Pre-requisites

Steps to provision

$ cd my-space
$ terraform init
$ terraform get -update=true
$ terraform plan -out tfplan
$ terraform apply

Steps to de-provision

$ cd my-space
$ terraform init
$ terraform get -update=true
$ terraform plan -destroy -out destroy_tfplan
$ terraform apply destroy_tfplan

Note: You can change/copy the folder name to any other name you want and provision a space with that name. Also, you can have more than one folder if needed.

About

Bootstrap OctopusDeploy with space, deployment targets, lifecycles, environments and others

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages