Terraform API plugin for the miasma cloud library
Supported attributes used in the credentials section of API configurations:
Miasma.api(
:type => :orchestration,
:provider => :terraform,
:credentials => {
...
}
)
terraform_driver
- Interface to use (atlas
,boule
,local
)
NOTE: Atlas support not yet available
Miasma.api(
:type => :orchestration,
:provider => :terraform,
:credentials => {
:terraform_driver => :atlas
...
}
)
terraform_atlas_endpoint
- Atlas URLterraform_atlas_token
- Atlas token
Miasma.api(
:type => :orchestration,
:provider => :terraform,
:credentials => {
:terraform_driver => :boule
...
}
)
terraform_boule_endpoint
- Boule URL
Miasma.api(
:type => :orchestration,
:provider => :terraform,
:credentials => {
:terraform_driver => :local
...
}
)
terraform_local_directory
- Path to store stack dataterraform_local_scrub_destroyed
- Delete stack data directory on destroy
Model | Create | Read | Update | Delete |
---|---|---|---|---|
AutoScale | ||||
BlockStorage | ||||
Compute | ||||
DNS | ||||
LoadBalancer | ||||
Network | ||||
Orchestration | X | X | X | X |
Queues | ||||
Storage |
- Repository: https://github.com/miasma-rb/miasma-terraform