A Pulumi package for creating and managing Canonical Metal-As-A-Service (MAAS) resources.
Project description
pulumi_maas
A Pulumi package for creating and managing Canonical Metal-As-A-Service (MAAS) resources.
Prerequisites
Before you begin, make sure you have the following prerequisites installed and configured:
pulumi new python
pulumi stack init dev
Install pulumi-maas
Python 3 package:
pip install pulumi-maas
Export MaaS variables:
export MAAS_API_VERSION=2.0
export MAAS_API_KEY=xxxxxxxx
export MAAS_API_URL=http://maas.example.org:5240/MAAS
Examples
Create a new domain
import pulumi
import pulumi_maas as maas
test_example_domain = maas.DnsDomain(
"test_domain",
name="test.example.org",
ttl=3600,
authoritative=True,
)
pulumi.export("test_example_domain", test_example_domain.id)
Launch Pulumi commands:
pulumi preview
pulumi up
pulumi destroy
Contributing
Contributions to this project are welcome! If you find any issues or have improvements to suggest, please open an issue or submit a pull request.
Acknowledgments
- Pulumi Documentation
- Metal as a Service (MaaS) Documentation
Go further
Publish this project
python3 setup.py sdist bdist_wheel
twine upload --repository pypi dist/*
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pulumi_maas-1.0.3.tar.gz
(32.2 kB
view hashes)
Built Distribution
pulumi_maas-1.0.3-py3-none-any.whl
(104.3 kB
view hashes)
Close
Hashes for pulumi_maas-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2bc5aa0fe677be996ce60547c9d091d22871438c403036747d80e09d2fdf70a5 |
|
MD5 | ee812373e0a70af920b1e330da492b03 |
|
BLAKE2b-256 | ef037b59e849af7c46d672b5a8d7af7072f55fae16b03d181393c1aa9b64fe51 |